Changeset 166577 in webkit


Ignore:
Timestamp:
Apr 1, 2014 5:36:48 AM (10 years ago)
Author:
mario.prada@samsung.com
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.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r166573 r166577  
     12014-04-01  Mario Sanchez Prada  <mario.prada@samsung.com>
     2
     3        [GTK] Running minibrowser with url crashes in debug build
     4        https://bugs.webkit.org/show_bug.cgi?id=130492
     5
     6        Reviewed by Martin Robinson.
     7
     8        Update "uri-scheme" test not to use invalid URIs in it, so we
     9        don't get a mistmatch when comparing the original URI stored in
     10        the test class with the one returned by the WebKitWebView.
     11
     12        * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
     13        (testWebContextURIScheme): Update the test.
     14
    1152014-04-01  Mihai Tica  <mitica@adobe.com>
    216
  • trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp

    r162920 r166577  
    196196
    197197    test->registerURISchemeHandler("echo", kEchoHTMLFormat, -1, "text/html");
    198     test->loadURI("echo:hello world");
     198    test->loadURI("echo:hello-world");
    199199    test->waitUntilLoadFinished();
    200200    GUniquePtr<char> echoHTML(g_strdup_printf(kEchoHTMLFormat, webkit_uri_scheme_request_get_path(test->m_uriSchemeRequest.get())));
     
    206206    test->registerURISchemeHandler("nomime", kBarHTML, -1, 0);
    207207    test->m_loadEvents.clear();
    208     test->loadURI("nomime:foo bar");
     208    test->loadURI("nomime:foo-bar");
    209209    test->waitUntilLoadFinished();
    210210    g_assert(test->m_loadEvents.contains(LoadTrackingTest::ProvisionalLoadFailed));
Note: See TracChangeset for help on using the changeset viewer.