chromium/third_party/blink/web_tests/fast/files/apply-blob-url-to-xhr.html

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