2010-10-07 Dirk Pranke <dpranke@chromium.org>
authordpranke@chromium.org <dpranke@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Oct 2010 00:48:39 +0000 (00:48 +0000)
committerdpranke@chromium.org <dpranke@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Oct 2010 00:48:39 +0000 (00:48 +0000)
commitf750eb22714dbfca1a3ccec89661befcb99643ae
treef8eea8404de67ad610bca55418e43e9dae313773
parentb2b1f7d3f50cab17353e8bd575d9c689556c7267
2010-10-07  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Adam Barth.

        rebaseline-chromium-webkit-tests relied on the filename_to_uri()
        hook in the Port infrastructure to generate URIs for the files
        in its summary HTML report; however, that method is supposed to only
        be used for test files (and should really be renamed), so this would
        crash.

        This change adds a new "path" module to the system package with a
        routine called abspath_to_uri() that handles converting paths to
        file: URIs independently of anything in the layout_tests package,
        and changes the code to use this. At some point in the near future
        the layout_tests/port/* code should use this as well.

        This change also deletes a bunch of unused code and fixes some
        comments in rebaseline_chromium_webkit_tests.py.

        https://bugs.webkit.org/show_bug.cgi?id=47319

        * Scripts/webkitpy/common/system/path.py: Added.
        * Scripts/webkitpy/common/system/path_unittest.py: Added.
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitTools/ChangeLog
WebKitTools/Scripts/webkitpy/common/system/path.py [new file with mode: 0644]
WebKitTools/Scripts/webkitpy/common/system/path_unittest.py [new file with mode: 0644]
WebKitTools/Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py
WebKitTools/Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py