Bug 1891710: part 2) Enable <Element-outerHTML.html> WPT for Trusted Types. r=smaug
[gecko.git] / build / pgo / index.html
blob866150ccc8b4ee234a1ec73d6e132b256fa74f88
1 <script>
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 /* global Quitter */
8 var list = [
9 "blueprint/elements.html",
10 "blueprint/forms.html",
11 "blueprint/grid.html",
12 "blueprint/sample.html",
13 "js-input/3d-thingy.html",
14 "js-input/crypto-otp.html",
15 "js-input/sunspider/3d-cube.html",
16 "js-input/sunspider/3d-morph.html",
17 "js-input/sunspider/3d-raytrace.html",
18 "js-input/sunspider/access-binary-trees.html",
19 "js-input/sunspider/access-fannkuch.html",
20 "js-input/sunspider/access-nbody.html",
21 "js-input/sunspider/access-nsieve.html",
22 "js-input/sunspider/bitops-3bit-bits-in-byte.html",
23 "js-input/sunspider/bitops-bits-in-byte.html",
24 "js-input/sunspider/bitops-bitwise-and.html",
25 "js-input/sunspider/bitops-nsieve-bits.html",
26 "js-input/sunspider/controlflow-recursive.html",
27 "js-input/sunspider/crypto-aes.html",
28 "js-input/sunspider/crypto-md5.html",
29 "js-input/sunspider/crypto-sha1.html",
30 "js-input/sunspider/date-format-tofte.html",
31 "js-input/sunspider/date-format-xparb.html",
32 "js-input/sunspider/math-cordic.html",
33 "js-input/sunspider/math-partial-sums.html",
34 "js-input/sunspider/math-spectral-norm.html",
35 "js-input/sunspider/regexp-dna.html",
36 "js-input/sunspider/string-base64.html",
37 "js-input/sunspider/string-fasta.html",
38 "js-input/sunspider/string-tagcloud.html",
39 "js-input/sunspider/string-unpack-code.html",
40 "js-input/sunspider/string-validate-input.html",
41 "talos/tests/perf-reftest-singletons/abspos-reflow-1.html",
42 "talos/tests/perf-reftest-singletons/attr-selector-1.html",
43 "talos/tests/perf-reftest-singletons/bidi-resolution-1.html",
44 "talos/tests/perf-reftest-singletons/bloom-basic-2.html",
45 "talos/tests/perf-reftest-singletons/bloom-basic.html",
46 "talos/tests/perf-reftest-singletons/coalesce-1.html",
47 "talos/tests/perf-reftest-singletons/coalesce-2.html",
48 "talos/tests/perf-reftest-singletons/display-none-1.html",
49 "talos/tests/perf-reftest-singletons/external-string-pass.html",
50 "talos/tests/perf-reftest-singletons/getElementById-1.html",
51 "talos/tests/perf-reftest-singletons/id-getter-1.html",
52 "talos/tests/perf-reftest-singletons/id-getter-2.html",
53 "talos/tests/perf-reftest-singletons/id-getter-3.html",
54 "talos/tests/perf-reftest-singletons/id-getter-4.html",
55 "talos/tests/perf-reftest-singletons/id-getter-5.html",
56 "talos/tests/perf-reftest-singletons/id-getter-6.html",
57 "talos/tests/perf-reftest-singletons/id-getter-7.html",
58 "talos/tests/perf-reftest-singletons/inline-style-cache-1.html",
59 "talos/tests/perf-reftest-singletons/line-iterator.html",
60 "talos/tests/perf-reftest-singletons/link-style-cache-1.html",
61 "talos/tests/perf-reftest-singletons/nth-index-1.html",
62 "talos/tests/perf-reftest-singletons/nth-index-2.html",
63 "talos/tests/perf-reftest-singletons/only-children-1.html",
64 "talos/tests/perf-reftest-singletons/parent-basic-singleton.html",
65 "talos/tests/perf-reftest-singletons/scrollbar-styles-1.html",
66 "talos/tests/perf-reftest-singletons/slow-selector-1.html",
67 "talos/tests/perf-reftest-singletons/slow-selector-2.html",
68 "talos/tests/perf-reftest-singletons/style-attr-1.html",
69 "talos/tests/perf-reftest-singletons/style-sharing-style-attr.html",
70 "talos/tests/perf-reftest-singletons/style-sharing.html",
71 "talos/tests/perf-reftest-singletons/svg-text-textLength-1.html",
72 "talos/tests/perf-reftest-singletons/svg-text-getExtentOfChar-1.html",
73 "talos/tests/perf-reftest-singletons/tiny-traversal-singleton.html",
74 "talos/tests/perf-reftest-singletons/window-named-property-get.html",
75 "webkit/PerformanceTests/Speedometer/index.html",
76 "http://localhost:8000/index.html?startAutomatically=true",
77 "webkit/PerformanceTests/webaudio/index.html?raptor&rendering-buffer-length=30",
79 var defaultInterval = 2000;
80 var idx = 0;
81 var w;
83 window.onload = function () {
84 w = window.open("about:blank");
85 window.setTimeout(loadURL, defaultInterval);
87 function loadURL() {
88 var interval = defaultInterval;
89 var testURL = list[idx++];
90 if (testURL.includes("webkit") || testURL.includes("localhost")) {
91 interval = 120000;
93 w.close();
94 w = window.open(testURL);
95 // Prevent the perf-reftest-singletons from calling alert()
96 w.tpRecordTime = function () {};
98 if (idx < list.length) {
99 window.setTimeout(loadURL, interval);
100 } else {
101 window.setTimeout(Quitter.quit, interval);
104 var i;
106 for (i = 0; i < list.length; i++) {
107 // eslint-disable-next-line no-unsanitized/method
108 document.write(list[i]);
109 document.write("<br>");
111 </script>