tenfourfox/dom/workers/test/sharedWorker_console.js
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

12 lines
303 B
JavaScript

/**
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
"use strict";
onconnect = function(evt) {
console.profile("Hello profiling from a SharedWorker!");
console.log("Hello world from a SharedWorker!");
evt.ports[0].postMessage('ok!');
}