Files
firefox/widget/tests/browser/dummy.html
T
Tarek Ziadé 0cba1696c6 Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r=Ehsan,mstange,kershaw,mhowell
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
2019-02-23 18:07:59 +00:00

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>