Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ServiceWorker: 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 <jinho.bang@samsung.com> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#568509}
- Loading branch information
1 parent
ea89f99
commit dc2cc22
Showing
7 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters