diff options
Diffstat (limited to 'dom/workers/test/worker_bug1301094.js')
-rw-r--r-- | dom/workers/test/worker_bug1301094.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dom/workers/test/worker_bug1301094.js b/dom/workers/test/worker_bug1301094.js new file mode 100644 index 000000000..69cc25d23 --- /dev/null +++ b/dom/workers/test/worker_bug1301094.js @@ -0,0 +1,11 @@ +onmessage = function(e) { + var xhr = new XMLHttpRequest(); + xhr.open("POST", 'worker_bug1301094.js', false); + xhr.onload = function() { + self.postMessage("OK"); + }; + + var fd = new FormData(); + fd.append('file', e.data); + xhr.send(fd); +} |