Bug 1679955 [wpt PR 26690] - [WebNFC] Raise InvalidStateError in non top-level browsi...
commit36ae8e01b7a2de6185b44d7c4d5cb459792f3eb2
authorFrancois Beaufort <beaufort.francois@gmail.com>
Fri, 4 Dec 2020 03:51:30 +0000 (4 03:51 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 7 Dec 2020 09:25:51 +0000 (7 09:25 +0000)
tree5381b8b518fb9de941a4f1c17a506562ddfb5adc
parent48a5e4ad6744d3f79aa0948ba2e6e455c1f2b8f0
Bug 1679955 [wpt PR 26690] - [WebNFC] Raise InvalidStateError in non top-level browsing context, a=testonly

Automatic update from web-platform-tests
[WebNFC] Raise InvalidStateError in non top-level browsing context

This CL replaces NotAllowedError with InvalidStateError DOMException
when Web NFC interfaces are used in a non top-level browsing context.

Spec: https://github.com/w3c/web-nfc/pull/610
Bug: 520391
Change-Id: I1aba5440d34664f65b321f8425609cc7e74488f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2560267
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Cr-Commit-Position: refs/heads/master@{#832288}

--

wpt-commits: 7baacba58142ed430f83164c1af0a97a2724b724
wpt-pr: 26690
testing/web-platform/tests/web-nfc/NDEFReader_scan.https.html
testing/web-platform/tests/web-nfc/NDEFReader_write.https.html