[Qt][DRT] Normalize file:///tmp/LayoutTests in LayoutTestController::pathToLocalResou...
authorCsaba Osztrogonác <ossy@webkit.org>
Wed, 7 Sep 2011 17:04:22 +0000 (17:04 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 13 Sep 2011 13:11:25 +0000 (10:11 -0300)
commit4f9120c8b6acbe63f9361e7ea700be1cdb209d93
tree98b55f9db3e0d0fae359df0d7f4f72c9404eb5b6
parented615cf981f123025fe865bdf5bf4d3d32b2b02b
[Qt][DRT] Normalize file:///tmp/LayoutTests in LayoutTestController::pathToLocalResource()
https://bugs.webkit.org/show_bug.cgi?id=67254

Patch by Jarred Nicholls <jarred@sencha.com> on 2011-09-07
Reviewed by Csaba Osztrogonác.

Translate file:///tmp/LayoutTests/* urls into the repository LayoutTests directory, which is
derived from the running location of DumpRenderTree binary.

* DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::pathToLocalResource):
(LayoutTestController::setUserStyleSheetLocation): pass the url through pathToLocalResource

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp