Automatic update from web-platform-testsServiceWorker: 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. After this change, all related APIs
including ServiceWorkerContainer will not be exposed in non-secure
context.
Chrome status: https://www.chromestatus.com/feature/4835970390163456
Bug: 542499, 854058
Change-Id: I0e207fee5c591d595c0e11c121cc8a0f555b5be3
Reviewed-on: https://chromium-review.googlesource.com/818666
Commit-Queue: Jinho Bang <[email protected]>
Reviewed-by: Matt Falkenhagen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#568509}
--
wpt-commits: dc2cc220fecd1ee280471c6de4a50d279285b9b6
wpt-pr: 11474