mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
4b3635c0bb
Move major DevTools files to new directories using the following steps: hg mv browser/devtools devtools/client hg mv toolkit/devtools/server devtools/server hg mv toolkit/devtools devtools/shared No other changes are made.
26 lines
585 B
HTML
26 lines
585 B
HTML
<!-- Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ -->
|
|
<!doctype html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>Performance test page</title>
|
|
</head>
|
|
|
|
<body>
|
|
<script type="text/javascript">
|
|
var x = 1;
|
|
function test() {
|
|
document.body.style.borderTop = x + "px solid red";
|
|
x = 1^x;
|
|
document.body.innerHeight; // flush pending reflows
|
|
}
|
|
|
|
// Prevent this script from being garbage collected.
|
|
window.setInterval(test, 1);
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|