Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(884)

Unified Diff: third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp

Issue 2838603002: Added [SecureContext] to the subtle attribute (Closed)
Patch Set: Magic test starts doing differnt things out of the blue. Need to handle this properly. Avada Kedavr… Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp
index 066ef4d7e17f31d05c97cfdc82c0df0ea9b7bd9f..6ae660d4fe2911eb87a854ccf10fa5a006e25592 100644
--- a/third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp
@@ -59,9 +59,7 @@ bool WorkletGlobalScope::IsJSExecutionForbidden() const {
return script_controller_->IsExecutionForbidden();
}
-bool WorkletGlobalScope::IsSecureContext(
- String& error_message,
- const SecureContextCheck privilege_context_check) const {
+bool WorkletGlobalScope::IsSecureContext(String& error_message) const {
// Until there are APIs that are available in worklets and that
// require a privileged context test that checks ancestors, just do
// a simple check here.
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkletGlobalScope.h ('k') | third_party/WebKit/Source/modules/crypto/Crypto.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698