Changeset 84160 in webkit


Ignore:
Timestamp:
Apr 18, 2011 10:41:00 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-04-18 Chang Shu <cshu@webkit.org>

Reviewed by Eric Seidel.

WebKitTestRunner needs layoutTestController.pathToLocalResource
https://bugs.webkit.org/show_bug.cgi?id=42541

Unskip passed tests.

  • platform/mac-wk2/Skipped:
  • platform/qt-wk2/Skipped:

2011-04-18 Chang Shu <cshu@webkit.org>

Reviewed by Eric Seidel.

WebKitTestRunner needs layoutTestController.pathToLocalResource
https://bugs.webkit.org/show_bug.cgi?id=42541

  • WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  • WebKitTestRunner/InjectedBundle/mac/LayoutTestControllerMac.mm: (WTR::LayoutTestController::pathToLocalResource):
  • WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp: (WTR::LayoutTestController::pathToLocalResource):
  • WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp: (WTR::LayoutTestController::pathToLocalResource):
Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r84157 r84160  
     12011-04-18  Chang Shu  <cshu@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        WebKitTestRunner needs layoutTestController.pathToLocalResource
     6        https://bugs.webkit.org/show_bug.cgi?id=42541
     7
     8        Unskip passed tests.
     9
     10        * platform/mac-wk2/Skipped:
     11        * platform/qt-wk2/Skipped:
     12
    1132011-04-18  Hao Zheng  <zhenghao@chromium.org>
    214
  • trunk/LayoutTests/platform/mac-wk2/Skipped

    r84070 r84160  
    11651165storage/quota-tracking.html
    11661166
    1167 # WebKitTestRunner needs layoutTestController.pathToLocalResource
    1168 # <https://bugs.webkit.org/show_bug.cgi?id=42541>
    1169 fast/dom/frame-loading-via-document-write.html
    1170 fast/history/history-traversal-is-asynchronous.html
    1171 fast/loader/local-CSS-from-local.html
    1172 fast/loader/local-iFrame-source-from-local.html
    1173 fast/loader/local-image-from-local.html
    1174 fast/loader/local-JavaScript-from-local.html
    1175 http/tests/plugins/post-url-file.html
    1176 http/tests/security/frame-loading-via-document-write.html
    1177 http/tests/security/local-CSS-from-remote.html
    1178 http/tests/security/local-iFrame-from-remote.html
    1179 http/tests/security/local-image-from-remote.html
    1180 http/tests/security/local-JavaScript-from-remote.html
    1181 http/tests/security/local-video-poster-from-remote.html
    1182 http/tests/security/local-video-source-from-remote.html
    1183 http/tests/security/local-video-src-from-remote.html
    1184 
    11851167# WebKitTestRunner needs layoutTestController.dumpResourceResponseMIMETypes
    11861168# <https://bugs.webkit.org/show_bug.cgi?id=42543>
  • trunk/LayoutTests/platform/qt-wk2/Skipped

    r84097 r84160  
    16161616fast/frames/flattening/iframe-flattening-simple.html
    16171617
    1618 # WebKitTestRunner needs layoutTestController.pathToLocalResource
    1619 # <https://bugs.webkit.org/show_bug.cgi?id=42541>
    1620 fast/dom/frame-loading-via-document-write.html
    1621 fast/history/history-traversal-is-asynchronous.html
    1622 fast/loader/local-CSS-from-local.html
    1623 fast/loader/local-iFrame-source-from-local.html
    1624 fast/loader/local-image-from-local.html
    1625 fast/loader/local-JavaScript-from-local.html
    1626 http/tests/plugins/post-url-file.html
    1627 http/tests/security/frame-loading-via-document-write.html
    1628 http/tests/security/local-CSS-from-remote.html
    1629 http/tests/security/local-iFrame-from-remote.html
    1630 http/tests/security/local-image-from-remote.html
    1631 http/tests/security/local-JavaScript-from-remote.html
    1632 http/tests/security/local-video-poster-from-remote.html
    1633 http/tests/security/local-video-source-from-remote.html
    1634 http/tests/security/local-video-src-from-remote.html
    1635 
    16361618# WebKitTestRunner needs layoutTestController.dumpResourceResponseMIMETypes
    16371619# <https://bugs.webkit.org/show_bug.cgi?id=42543>
     
    21262108fast/dom/beforeload/remove-frame-in-beforeload-listener.html
    21272109fast/dom/css-cached-import-rule.html
     2110fast/dom/frame-loading-via-document-write.html
    21282111fast/dom/Document/open-with-pending-load.html
    21292112fast/dom/Window/window-appendages-cleared.html
     
    21672150http/tests/navigation/fallback-anchor-reload.html
    21682151http/tests/navigation/history-back-across-form-submission-to-fragment.html
     2152http/tests/plugins/post-url-file.html
    21692153http/tests/security/originHeader/origin-header-for-https.html
    21702154http/tests/ssl/referer-301.html
  • trunk/Tools/ChangeLog

    r84158 r84160  
     12011-04-18  Chang Shu  <cshu@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        WebKitTestRunner needs layoutTestController.pathToLocalResource
     6        https://bugs.webkit.org/show_bug.cgi?id=42541
     7
     8        * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
     9        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
     10        * WebKitTestRunner/InjectedBundle/mac/LayoutTestControllerMac.mm:
     11        (WTR::LayoutTestController::pathToLocalResource):
     12        * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
     13        (WTR::LayoutTestController::pathToLocalResource):
     14        * WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp:
     15        (WTR::LayoutTestController::pathToLocalResource):
     16
    1172011-04-18  Timothy Hatcher  <timothy@apple.com>
    218
  • trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl

    r83195 r84160  
    8484        void clearAllDatabases();
    8585        void setDatabaseQuota(in unsigned long long quota);
     86        DOMString pathToLocalResource(in DOMString url);
    8687
    8788        // Compositing testing.
  • trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h

    r83195 r84160  
    112112    void clearAllDatabases();
    113113    void setDatabaseQuota(uint64_t);
     114    JSRetainPtr<JSStringRef> pathToLocalResource(JSStringRef);
    114115
    115116    // Printing
  • trunk/Tools/WebKitTestRunner/InjectedBundle/mac/LayoutTestControllerMac.mm

    r67861 r84160  
    5757}
    5858
     59JSRetainPtr<JSStringRef> LayoutTestController::pathToLocalResource(JSStringRef url)
     60{
     61    return JSStringRetain(url); // Do nothing on mac.
     62}
     63
    5964} // namespace WTR
  • trunk/Tools/WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp

    r81135 r84160  
    2929
    3030#include "InjectedBundle.h"
     31#include <QDir>
    3132#include <QObject>
    3233
     
    7172}
    7273
     74JSRetainPtr<JSStringRef> LayoutTestController::pathToLocalResource(JSStringRef url)
     75{
     76    QString path = QDir::toNativeSeparators(QString(reinterpret_cast<const QChar*>(JSStringGetCharactersPtr(url)), JSStringGetLength(url)));
     77    return JSStringCreateWithCharacters(reinterpret_cast<const JSChar*>(path.constData()), path.length());
     78}
     79
    7380} // namespace WTR
    7481
  • trunk/Tools/WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp

    r81135 r84160  
    6060}
    6161
     62JSRetainPtr<JSStringRef> LayoutTestController::pathToLocalResource(JSStringRef url)
     63{
     64    return JSStringRetain(url); // TODO.
     65}
     66
    6267} // namespace WTR
Note: See TracChangeset for help on using the changeset viewer.