Files
tubestation/dom/tests/browser/ping_worker.html
Tarek Ziadé 3ee80d8e53 Bug 1447768 - part 2 - Dispatch counters in the parent process - r=baku
Chromeutils.RequestPerformanceMetrics() is now composed of two parts:
- calls content processes via IPDL to get their counters
- directly dispatch counters from the parent process

MozReview-Commit-ID: HlgcEOzkyAq
2018-04-04 13:36:25 +02:00

18 lines
294 B
HTML

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<script type="text/javascript">
var myWorker;
function init() {
myWorker = new Worker('ping_worker.js');
myWorker.postMessage("ping");
}
</script>
</head>
<body onload="init()">
<h1>A page with a worker</h1>
</body>
</html>