[Digital Credentials WPT Tests] Fix tests some more
This CL:
- Changes the exception thrown when the digital credentials API is
invoked when the page does not have transient user activation to
NotAllowedError in order to match spec. - Reorders check for number of providers to after transient user
activation check in order to match spec. - Makes allow-attribute.https.html test pass if the <iframe> does
not have user activation.
BUG=368070320
Change-Id: Iaa194da8d0a2a96d1fd40592dbe74e7bd7391bdc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5883276
Reviewed-by: Ken Buchanan kenrb@chromium.org
Reviewed-by: Avi Drissman avi@chromium.org
Commit-Queue: Peter Kotwicz pkotwicz@chromium.org
Cr-Commit-Position: refs/heads/main@{#1363719}