gecko-dev/content/base/crashtests/700512-worker.js

8 строки
102 B
JavaScript

onmessage = function(event) {
var blob = event.data;
blob.slice(1, 5);
postMessage("done");
}