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

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

Issue 1754713006: CORS-RFC1918: Introduce the 'addressSpace' IDL attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: philip Created 4 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 1d3f4d5c13a61e502bfe9b06435a2d5fbd000252..856c4511b6f1259962abd13b60ce7e01dbef5b7a 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl
@@ -47,6 +47,10 @@
// https://developer.chrome.com/devtools/docs/console-api
[Replaceable] readonly attribute WorkerConsole console;
+ // CORS and RFC1918
+ // https://mikewest.github.io/cors-rfc1918/#feature-detect
+ [RuntimeEnabled=CorsRFC1918, ImplementedAs=addressSpaceForBindings] readonly attribute AddressSpace addressSpace;
+
// Unhandled Promise Rejection Events
// https://github.com/domenic/unhandled-rejections-browser-spec
[RuntimeEnabled=PromiseRejectionEvent] attribute EventHandler onrejectionhandled;

Powered by Google App Engine
This is Rietveld 408576698