Closed Bug 1569121 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 18107 - [webnfc] NFCReader.html -> NFCReader.https.html and make it pass

Categories

(Core :: DOM: Device Interfaces, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 18107 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/18107
Details from upstream follow.

Leon Han <leon.han@intel.com> wrote:

[webnfc] NFCReader.html -> NFCReader.https.html and make it pass

This CL renames the wpt test NFCReader.html to NFCReader.https.html
because WebNFC API is available only in secure contexts, then fixes the
code to make it pass.

BUG=520391

Change-Id: Id8f584c7ced901f15b087aec5f96fd83ba8f6d68

Reviewed-on: https://chromium-review.googlesource.com/1720154
WPT-Export-Revision: ede00475f39a4fe98fdc59c1d9a5fa322c9cea26

Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 3 subtests OK : 1 FAIL : 3 New tests that have failures or other problems: /web-nfc/NFCReader.https.html Test that NFCReader.start fails if NFCReaderOptions.url has wrong protocol.: FAIL Test that NFCReader.start fails if NFCReaderOptions.url is invalid.: FAIL Test that NFCReader.start fails if NFCReaderOptions.url is missing components.: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/0080cd867150 [wpt PR 18107] - [webnfc] NFCReader.html -> NFCReader.https.html and make it pass, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/6e4c994056f9 [wpt PR 18107] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.