mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 12:51:09 +02:00
This patch introduces a new module in widget that implements a simple API to retrieve system information about a process and its threads. This function is wrapped into ChromeUtils.RequestProcInfo to return information about processes started by Firefox. The use case for this API is to monitor Firefox resources usage in projects like the battery usage done by the data science team. Differential Revision: https://phabricator.services.mozilla.com/D10069 --HG-- extra : moz-landing-system : lando
20 lines
496 B
HTML
20 lines
496 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Dummy test page</title>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"></meta>
|
|
</head>
|
|
<body>
|
|
<p>Dummy test page</p>
|
|
<div id="holder" class="">Holder</div>
|
|
<script>
|
|
let text = "";
|
|
for (let i = 0; i < 1000; i++) {
|
|
text += "more";
|
|
// eslint-disable-next-line no-unsanitized/property
|
|
document.getElementById("holder").innerHTML = text;
|
|
}
|
|
document.getElementById("holder").classList.add("loaded");
|
|
</script>
|
|
</body>
|
|
</html>
|