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

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

Issue 2706013002: Added support for self.origin in Window and WorkerGlobalScope (Closed)
Patch Set: Created 3 years, 10 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/WorkerGlobalScope.idl
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl
index 2c6f355a2bf682f5cdb7cacef25468cbbbec0c08..290a9aae860e32b3572735165affc3899ee0338f 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl
@@ -63,6 +63,9 @@
// Secure Contexts
// https://w3c.github.io/webappsec-secure-contexts/#dom-windoworworkerglobalscope-issecurecontext
[ImplementedAs=isSecureContextForBindings] readonly attribute boolean isSecureContext;
+
+ // Intending to deprecate document.origin so use this in workers instead
Mike West 2017/02/20 12:21:06 I'd drop this comment, but point to the definition
+ readonly attribute DOMString origin;
};
WorkerGlobalScope implements WindowBase64;

Powered by Google App Engine
This is Rietveld 408576698