[Webkit-unassigned] [Bug 25909] New: eventSender.beginDragWithFiles drags with wrong paths from http tests
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 20 22:38:09 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25909
Summary: eventSender.beginDragWithFiles drags with wrong paths
from http tests
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
CC: mrowe at apple.com, oliver at apple.com
eventSender.beginDragWithFiles drags with wrong paths from http tests
The new eventSender.beginDragWithFiles takes relative paths.
These are resolved against the loaded document.
When you run an http test, the path passed to DumpRenderTree is a URL pointing
to localhost, so the to-be-dragged files are also urls pointing to local host.
We can't stat non-file urls, so the stat fails and File.fileSize returns 0.
The only way I can think to fix this is if we pass some sort of absolute path
to DumpRenderTree in addition to the http://localhost test url, so that DRT can
know how to resolve these paths to on-disk files for dragging.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list