blob: 1fb2dcc0cb0ce0a14c742963a9e000eb944974c4 [file] [log] [blame]
"use strict";
postMessage("SUCCESS: postMessage() called directly");
(function () {
this.done = function() { return "SUCCESS: called function via attribute on WorkerGlobalScope"; };
this.postMessage(this.done());
this.postMessage("DONE");
}).call(this);