mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D35951 --HG-- extra : source : 62f3501af4bc1c0bd1ee1977a28aee04706a6663
8 lines
257 B
JavaScript
8 lines
257 B
JavaScript
onmessage = function(e) {
|
|
var data = new FormData();
|
|
data.append("Filedata", e.data.slice(0, 127), encodeURI(e.data.name));
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.open("POST", location.href, false);
|
|
xhr.send(data);
|
|
postMessage("No crash \\o/");
|
|
};
|