mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
f9138cc6f4
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 --HG-- extra : rebase_source : 60e81a27cd3a1bf1378e6b977529964507633b63
18 lines
294 B
HTML
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>
|