Closed Bug 1452313 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 10284 - WebNFC: Use [SecureContext] instead of manual check

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Jinho Bang <jinho.bang@samsung.com> wrote:
>  WebNFC: Use [SecureContext] instead of manual check
>  
>  Until now, we had to use IsSecureContext() to check whether an execution
>  context is a secure context manually. But we can use [SecureContext]
>  instead of the manual check now.
>  
>  Related spec change:
>    https://github.com/w3c/web-nfc/pull/143
>    https://github.com/w3c/web-nfc/pull/144
>  
>  Bug: none
>  Change-Id: I1396470cc57aeba137ddba65d1f29eb58cf9cf9b
>  Reviewed-on: https://chromium-review.googlesource.com/989537
>  Reviewed-by: Alexander Shalamov <alexander.shalamov@intel.com>
>  Commit-Queue: Jinho Bang <jinho.bang@samsung.com>
>  Cr-Commit-Position: refs/heads/master@{#548744}
>  
>  
>
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Ran 1 tests and 1 subtests
OK     : 1
PASS   : 1
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/647daf60d4f7
[wpt PR 10284] - WebNFC: Use [SecureContext] instead of manual check, a=testonly
https://hg.mozilla.org/mozilla-central/rev/647daf60d4f7
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.