Title: [200123] trunk/Source/WebCore
Revision
200123
Author
[email protected]
Date
2016-04-27 02:37:40 -0700 (Wed, 27 Apr 2016)

Log Message

[Fetch API] Remove FetchResponse::redirect overload
https://bugs.webkit.org/show_bug.cgi?id=157034

Reviewed by Darin Adler.

No change of behavior.

* Modules/fetch/FetchResponse.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (200122 => 200123)


--- trunk/Source/WebCore/ChangeLog	2016-04-27 08:35:24 UTC (rev 200122)
+++ trunk/Source/WebCore/ChangeLog	2016-04-27 09:37:40 UTC (rev 200123)
@@ -1,3 +1,14 @@
+2016-04-27  Youenn Fablet  <[email protected]>
+
+        [Fetch API] Remove FetchResponse::redirect overload
+        https://bugs.webkit.org/show_bug.cgi?id=157034
+
+        Reviewed by Darin Adler.
+
+        No change of behavior.
+
+        * Modules/fetch/FetchResponse.h:
+
 2016-04-27  Csaba Osztrogonác  <[email protected]>
 
         [Mac][cmake] Unreviewed speculative buildfix after r200116, just for fun.

Modified: trunk/Source/WebCore/Modules/fetch/FetchResponse.h (200122 => 200123)


--- trunk/Source/WebCore/Modules/fetch/FetchResponse.h	2016-04-27 08:35:24 UTC (rev 200122)
+++ trunk/Source/WebCore/Modules/fetch/FetchResponse.h	2016-04-27 09:37:40 UTC (rev 200123)
@@ -52,8 +52,6 @@
     static Ref<FetchResponse> create(ScriptExecutionContext& context) { return adoptRef(*new FetchResponse(context, Type::Default, { }, FetchHeaders::create(FetchHeaders::Guard::Response), ResourceResponse())); }
     static Ref<FetchResponse> error(ScriptExecutionContext&);
     static RefPtr<FetchResponse> redirect(ScriptExecutionContext&, const String&, int, ExceptionCode&);
-    // FIXME: Binding generator should not require below method to handle optional status parameter.
-    static RefPtr<FetchResponse> redirect(ScriptExecutionContext& context, const String& url, ExceptionCode& ec) { return redirect(context, url, 302, ec); }
 
     using FetchPromise = DOMPromise<RefPtr<FetchResponse>, ExceptionCode>;
     static void fetch(ScriptExecutionContext&, FetchRequest&, const Dictionary&, FetchPromise&&);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to