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

Unified Diff: third_party/WebKit/Source/modules/fetch/Response.idl

Issue 2610903002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Created 3 years, 11 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/modules/fetch/Response.idl
diff --git a/third_party/WebKit/Source/modules/fetch/Response.idl b/third_party/WebKit/Source/modules/fetch/Response.idl
index c7d373ec423da1755df9313c7c3fb4697c28f6f1..91db9f78c6f50ea96012d002a1cff92cf87e2745 100644
--- a/third_party/WebKit/Source/modules/fetch/Response.idl
+++ b/third_party/WebKit/Source/modules/fetch/Response.idl
@@ -16,8 +16,8 @@ enum ResponseType { "basic", "cors", "default", "error", "opaque", "opaqueredire
Exposed=(Window,Worker),
RaisesException=Constructor,
] interface Response {
- [CallWith=ExecutionContext] static Response error();
- [CallWith=ExecutionContext, RaisesException] static Response redirect(USVString url, optional unsigned short status = 302);
+ [CallWith=ScriptState] static Response error();
+ [CallWith=ScriptState, RaisesException] static Response redirect(USVString url, optional unsigned short status = 302);
readonly attribute ResponseType type;
readonly attribute USVString url;
readonly attribute boolean redirected;

Powered by Google App Engine
This is Rietveld 408576698