blob: a00418f031c5dcd7e8ecc7863f1a934b5cf96d96 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<input type="file" name="file" id="file" onchange="onInputFileChange()">
<pre id='console'></pre>
<script src="resources/apply-blob-url-to-xhr.js"></script>
<script>
function onInputFileChange()
{
var file = document.getElementById("file").files[0];
runXHRs(file);
}
function runTests()
{
eventSender.beginDragWithFiles(['resources/UTF8.txt']);
eventSender.mouseMoveTo(10, 10);
eventSender.mouseUp();
}
if (window.eventSender) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
window.onload = runTests;
}
</script>
</body>
</html>