[Webkit-unassigned] [Bug 79861] DragData::asFilenames push same file to result in windows platform
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 23 07:37:21 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=79861
--- Comment #9 from huangxueqing <huangxueqing at baidu.com> 2012-04-23 07:37:21 PST ---
(In reply to comment #8)
> (From update of attachment 129379 [details])
> How do we test this?
The test case as:
<body>
<script>
function handleFiles()
{
var inputelement = document.getElementById("fileinput");
var files = inputelement.files;
for (var i=0; i<inputelement.files.length; ++i)
{
var newElement = document.createElement("div");
newElement.innerHTML = inputelement.files[i].name;
document.body.appendChild(newElement);
}
}
</script>
<input id="fileinput" type=file multiple="true" onchange="handleFiles()">
<p>
You should see files you dragged into input element as below:
</p>
</body>
When you drag and drop more than one files such as file1, file2 and file3 to input element, the result in page was: file1 file1 file1.
I have no idear how to add this case to LayoutTests since it needs user manually test, do you think should i add it to ManualTests?
--
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