[WK2] DumpRenderTree converts "file:///" to a path differently
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2012 01:10:47 +0000 (01:10 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2012 01:10:47 +0000 (01:10 +0000)
commit74af4917858decd8f3de2a0a972846e64068d5a8
tree37334e1a1745a4e72cac98555005de6b75b06eee
parent0712ef058012b9830e0e017aef1aecd9a6528b7d
[WK2] DumpRenderTree converts "file:///" to a path differently
https://bugs.webkit.org/show_bug.cgi?id=76653

Reviewed by John Sullivan.

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::lastFileURLPathComponent):
Do print a slash if there are no path components.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp