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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl

Issue 2365353002: Add 'WorkerGlobalScope::isSecureContext' (Closed)
Patch Set: I hate webexposed tests. Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerGlobalScope.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl
index 811d8baf7c18010ea4a50de89de8675ba45f2294..116145c46c86f681c14d4e21bdb4b678ae7bd559 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl
@@ -44,6 +44,7 @@
[RaisesException] void importScripts(DOMString... urls);
readonly attribute WorkerNavigator navigator;
+
// Console API
// https://console.spec.whatwg.org/#console-interface
// [Replaceable] readonly attribute Console console;
@@ -57,6 +58,10 @@
// Unhandled Promise Rejection Events
attribute EventHandler onrejectionhandled;
attribute EventHandler onunhandledrejection;
+
+ // Secure Contexts
+ // https://w3c.github.io/webappsec-secure-contexts/#dom-windoworworkerglobalscope-issecurecontext
+ [ImplementedAs=isSecureContextForBindings] readonly attribute boolean isSecureContext;
};
WorkerGlobalScope implements WindowBase64;
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerGlobalScope.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698