Changeset 56157 in webkit


Ignore:
Timestamp:
Mar 18, 2010 6:31:59 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-18 Sergio Villar Senin <svillar@igalia.com>

Reviewed by Xan Lopez.

[GTK] Failing tests http/tests/misc/image-blocked-src-change.html
& http/tests/misc/image-blocked-src-no-change.html
https://bugs.webkit.org/show_bug.cgi?id=36227

Removed tests from the list of Skipped:
http/tests/misc/image-blocked-src-no-change.html
http/tests/misc/image-blocked-src-change.html
http/tests/security/local-CSS-from-remote.html
http/tests/security/local-video-poster-from-remote.html
http/tests/security/frame-loading-via-document-write.html
http/tests/security/local-iFrame-from-remote.html
http/tests/security/local-video-src-from-remote.html
http/tests/security/local-image-from-remote.html
http/tests/security/local-JavaScript-from-remote.html

  • platform/gtk/Skipped:

2010-03-18 Sergio Villar Senin <svillar@igalia.com>

Reviewed by Xan Lopez.

[GTK] Failing tests http/tests/misc/image-blocked-src-change.html
& http/tests/misc/image-blocked-src-no-change.html
https://bugs.webkit.org/show_bug.cgi?id=36227

  • DumpRenderTree/gtk/DumpRenderTree.cpp: (webViewConsoleMessage): print only the file name instead of the whole URI when printing messages with local URI's
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r56154 r56157  
     12010-03-18  Sergio Villar Senin  <svillar@igalia.com>
     2
     3        Reviewed by Xan Lopez.
     4
     5        [GTK] Failing tests http/tests/misc/image-blocked-src-change.html
     6        & http/tests/misc/image-blocked-src-no-change.html
     7        https://bugs.webkit.org/show_bug.cgi?id=36227
     8
     9        Removed tests from the list of Skipped:
     10        http/tests/misc/image-blocked-src-no-change.html
     11        http/tests/misc/image-blocked-src-change.html
     12        http/tests/security/local-CSS-from-remote.html
     13        http/tests/security/local-video-poster-from-remote.html
     14        http/tests/security/frame-loading-via-document-write.html
     15        http/tests/security/local-iFrame-from-remote.html
     16        http/tests/security/local-video-src-from-remote.html
     17        http/tests/security/local-image-from-remote.html
     18        http/tests/security/local-JavaScript-from-remote.html
     19
     20        * platform/gtk/Skipped:
     21
    1222010-03-18  Chang Shu  <chang.shu@nokia.com>
    223
  • trunk/LayoutTests/platform/gtk/Skipped

    r56122 r56157  
    34333433http/tests/mime/standard-mode-loads-stylesheet-with-text-css-and-invalid-type.html
    34343434http/tests/misc/acid3.html
    3435 http/tests/misc/image-blocked-src-change.html
    3436 http/tests/misc/image-blocked-src-no-change.html
    34373435http/tests/misc/isindex-formdata.html
    34383436http/tests/misc/policy-delegate-called-twice.html
     
    34473445http/tests/security/dataTransfer-set-data-file-url.html
    34483446http/tests/security/feed-urls-from-remote.html
    3449 http/tests/security/frame-loading-via-document-write.html
    3450 http/tests/security/local-CSS-from-remote.html
    3451 http/tests/security/local-JavaScript-from-remote.html
    3452 http/tests/security/local-iFrame-from-remote.html
    3453 http/tests/security/local-image-from-remote.html
    3454 http/tests/security/local-video-poster-from-remote.html
    34553447http/tests/security/local-video-source-from-remote.html
    3456 http/tests/security/local-video-src-from-remote.html
    34573448http/tests/security/mixedContent/about-blank-iframe-in-main-frame.html
    34583449http/tests/security/mixedContent/data-url-iframe-in-main-frame.html
  • trunk/WebKitTools/ChangeLog

    r56156 r56157  
     12010-03-18  Sergio Villar Senin  <svillar@igalia.com>
     2
     3        Reviewed by Xan Lopez.
     4
     5        [GTK] Failing tests http/tests/misc/image-blocked-src-change.html
     6        & http/tests/misc/image-blocked-src-no-change.html
     7        https://bugs.webkit.org/show_bug.cgi?id=36227
     8
     9        * DumpRenderTree/gtk/DumpRenderTree.cpp:
     10        (webViewConsoleMessage): print only the file name instead of the
     11        whole URI when printing messages with local URI's
     12
    1132010-03-18  Eric Seidel  <eric@webkit.org>
    214
  • trunk/WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp

    r55925 r56157  
    634634static gboolean webViewConsoleMessage(WebKitWebView* view, const gchar* message, unsigned int line, const gchar* sourceId, gpointer data)
    635635{
    636     fprintf(stdout, "CONSOLE MESSAGE: line %d: %s\n", line, message);
     636    gchar* testMessage = 0;
     637    const gchar* uriScheme;
     638
     639    // Tests expect only the filename part of local URIs
     640    uriScheme = g_strstr_len(message, -1, "file://");
     641    if (uriScheme) {
     642        GString* tempString = g_string_sized_new(strlen(message));
     643        gchar* filename = g_strrstr(uriScheme, G_DIR_SEPARATOR_S);
     644
     645        if (filename) {
     646            filename += strlen(G_DIR_SEPARATOR_S);
     647            tempString = g_string_append_len(tempString, message, (uriScheme - message));
     648            tempString = g_string_append_len(tempString, filename, strlen(filename));
     649            testMessage = g_string_free(tempString, FALSE);
     650        }
     651    }
     652
     653    fprintf(stdout, "CONSOLE MESSAGE: line %d: %s\n", line, testMessage ? testMessage : message);
     654    g_free(testMessage);
     655
    637656    return TRUE;
    638657}
Note: See TracChangeset for help on using the changeset viewer.