Closed Bug 1451044 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10283 - WebBluetooth: Use [SecureContext] instead of manual check

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Jinho Bang <jinho.bang@samsung.com> wrote:
>  WebBluetooth: 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.
>  
>  Bug: none
>  Change-Id: Ibfcd4a9a2eed3e7ac67819b9bf4204f4c73412d8
>  
>  Reviewed-on: https://chromium-review.googlesource.com/990014
>  WPT-Export-Revision: 6142d10e3f51156968bc3bd76d79e2b693e7c02e
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f0db75fd3098
[wpt PR 10283] - WebBluetooth: Use [SecureContext] instead of manual check, a=testonly
https://hg.mozilla.org/mozilla-central/rev/f0db75fd3098
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.