Title: [207293] trunk/Source/WebCore
- Revision
- 207293
- Author
- mcatanz...@igalia.com
- Date
- 2016-10-13 11:11:29 -0700 (Thu, 13 Oct 2016)
Log Message
[SOUP] SHOULD NEVER BE REACHED ../../Source/WebCore/platform/URL.cpp(1291) : void WebCore::URL::parse(const WTF::String&)
https://bugs.webkit.org/show_bug.cgi?id=163392
Reviewed by Alex Christensen.
Fix the URL constructor to work with URLParser.
* platform/soup/URLSoup.cpp:
(WebCore::URL::URL):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (207292 => 207293)
--- trunk/Source/WebCore/ChangeLog 2016-10-13 17:44:27 UTC (rev 207292)
+++ trunk/Source/WebCore/ChangeLog 2016-10-13 18:11:29 UTC (rev 207293)
@@ -1,3 +1,15 @@
+2016-10-13 Michael Catanzaro <mcatanz...@igalia.com>
+
+ [SOUP] SHOULD NEVER BE REACHED ../../Source/WebCore/platform/URL.cpp(1291) : void WebCore::URL::parse(const WTF::String&)
+ https://bugs.webkit.org/show_bug.cgi?id=163392
+
+ Reviewed by Alex Christensen.
+
+ Fix the URL constructor to work with URLParser.
+
+ * platform/soup/URLSoup.cpp:
+ (WebCore::URL::URL):
+
2016-10-13 Ryan Haddad <ryanhad...@apple.com>
Unreviewed, rolling out r207286.
Modified: trunk/Source/WebCore/platform/soup/URLSoup.cpp (207292 => 207293)
--- trunk/Source/WebCore/platform/soup/URLSoup.cpp 2016-10-13 17:44:27 UTC (rev 207292)
+++ trunk/Source/WebCore/platform/soup/URLSoup.cpp 2016-10-13 18:11:29 UTC (rev 207293)
@@ -29,6 +29,7 @@
#include "URL.h"
+#include "URLParser.h"
#include <libsoup/soup.h>
#include <wtf/text/CString.h>
@@ -42,7 +43,12 @@
}
GUniquePtr<gchar> urlString(soup_uri_to_string(soupURI, FALSE));
- parse(String::fromUTF8(urlString.get()));
+ if (URLParser::enabled()) {
+ URLParser parser(String::fromUTF8(urlString.get()));
+ *this = parser.result();
+ } else
+ parse(String::fromUTF8(urlString.get()));
+
if (!isValid())
return;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes