Title: [166577] trunk/Tools
Revision
166577
Author
mario.pr...@samsung.com
Date
2014-04-01 05:36:48 -0700 (Tue, 01 Apr 2014)

Log Message

[GTK] Running minibrowser with url crashes in debug build
https://bugs.webkit.org/show_bug.cgi?id=130492

Reviewed by Martin Robinson.

Update "uri-scheme" test not to use invalid URIs in it, so we
don't get a mistmatch when comparing the original URI stored in
the test class with the one returned by the WebKitWebView.

* TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
(testWebContextURIScheme): Update the test.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (166576 => 166577)


--- trunk/Tools/ChangeLog	2014-04-01 11:38:37 UTC (rev 166576)
+++ trunk/Tools/ChangeLog	2014-04-01 12:36:48 UTC (rev 166577)
@@ -1,3 +1,17 @@
+2014-04-01  Mario Sanchez Prada  <mario.pr...@samsung.com>
+
+        [GTK] Running minibrowser with url crashes in debug build
+        https://bugs.webkit.org/show_bug.cgi?id=130492
+
+        Reviewed by Martin Robinson.
+
+        Update "uri-scheme" test not to use invalid URIs in it, so we
+        don't get a mistmatch when comparing the original URI stored in
+        the test class with the one returned by the WebKitWebView.
+
+        * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
+        (testWebContextURIScheme): Update the test.
+
 2014-04-01  Mihai Tica  <mit...@adobe.com>
 
         Unreviewed: Add myself as a commiter to the contributors list.

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp (166576 => 166577)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp	2014-04-01 11:38:37 UTC (rev 166576)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp	2014-04-01 12:36:48 UTC (rev 166577)
@@ -195,7 +195,7 @@
     g_assert(!strncmp(mainResourceData, kBarHTML, mainResourceDataSize));
 
     test->registerURISchemeHandler("echo", kEchoHTMLFormat, -1, "text/html");
-    test->loadURI("echo:hello world");
+    test->loadURI("echo:hello-world");
     test->waitUntilLoadFinished();
     GUniquePtr<char> echoHTML(g_strdup_printf(kEchoHTMLFormat, webkit_uri_scheme_request_get_path(test->m_uriSchemeRequest.get())));
     mainResourceDataSize = 0;
@@ -205,7 +205,7 @@
 
     test->registerURISchemeHandler("nomime", kBarHTML, -1, 0);
     test->m_loadEvents.clear();
-    test->loadURI("nomime:foo bar");
+    test->loadURI("nomime:foo-bar");
     test->waitUntilLoadFinished();
     g_assert(test->m_loadEvents.contains(LoadTrackingTest::ProvisionalLoadFailed));
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to