[Webkit-unassigned] [Bug 88099] [chromium] DumpRenderTree will crash if there is not arguments in beginDragWithFiles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 3 22:39:19 PDT 2012


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





--- Comment #5 from Kent Tamura <tkent at chromium.org>  2012-06-03 22:39:18 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #0)
> > > If there is not argument in function beginDragWithFiles, DumpRenderTree will crash.
> > 
> > Why do we need to support such case?  A test using beginDragWithFiles must specify arguments.
> 
> In fast/files/file-list-test.html, if some files are selected, the onInputFileChange can be called, we can test the attribute length and items of FileList.
> In addition, we want to cover the scenario that no file is selected. If we use [] as the argument, if is fine. But for the robustness, I think it should support no argument, as GTK test shell does.
> 
> https://bugs.webkit.org/show_bug.cgi?id=87696#c14

We can use just <input type=file> without selected files to test empty FileList.
Do you think real browsers need to handle drag with empty file list? If not, beginDragWithFiles should reject empty file list and missing file list instead of accepting them.

-- 
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