mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 11:37:43 -10: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
21 lines
496 B
HTML
21 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>
|