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

Unified Diff: Source/modules/serviceworkers/Response.idl

Issue 771323004: Expose Fetch API related classes to Window and WorkerGlobalScope. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@exposed-runtime-enabled
Patch Set: Created 6 years 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: Source/modules/serviceworkers/Response.idl
diff --git a/Source/modules/serviceworkers/Response.idl b/Source/modules/serviceworkers/Response.idl
index 4474828eca03b353d1bbeeb1695173cc964167da..601d2b599d637f41a5022685f61e418f77dcc02c 100644
--- a/Source/modules/serviceworkers/Response.idl
+++ b/Source/modules/serviceworkers/Response.idl
@@ -12,8 +12,7 @@ typedef (Blob or ArrayBuffer or ArrayBufferView or USVString) BodyInit;
[
Constructor(optional BodyInit body, optional Dictionary responseInitDict),
ConstructorCallWith=ExecutionContext,
- RuntimeEnabled=ServiceWorker,
- Exposed=ServiceWorker,
+ Exposed(Window GlobalFetch, DedicatedWorker GlobalFetch, SharedWorker GlobalFetch, ServiceWorker ServiceWorker),
RaisesException=Constructor,
ActiveDOMObject,
GarbageCollected,

Powered by Google App Engine
This is Rietveld 408576698