[Webkit-unassigned] [Bug 119583] New: [Win] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 8 11:19:03 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=119583
Summary: [Win] URL printing code in DumpRenderTree doesn't
match WTR or Mac DRT
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ap at webkit.org
CC: bfulgham at webkit.org, roger_fong at apple.com
urlSuitableForTestResult() in DumpRenderTree/win/DumpRenderTree.cpp removes a prefix from url without checking whether the url actually has this prefix:
--------------------------
RetainPtr<CFStringRef> basePath = adoptCF(CFURLCopyPath(baseURL.get()));
RetainPtr<CFStringRef> path = adoptCF(CFURLCopyPath(url.get()));
return cfStringRefToWString(substringFromIndex(path.get(), CFStringGetLength(basePath.get())).get());
--------------------------
When it doesn't match - or when base URL cannot be determined - we should print last path component.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list