From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- .../client/webconsole/test/chrome/.eslintrc.js | 6 + devtools/client/webconsole/test/chrome/chrome.ini | 7 + devtools/client/webconsole/test/chrome/head.js | 14 ++ .../webconsole/test/chrome/test_render_perf.html | 239 +++++++++++++++++++++ 4 files changed, 266 insertions(+) create mode 100644 devtools/client/webconsole/test/chrome/.eslintrc.js create mode 100644 devtools/client/webconsole/test/chrome/chrome.ini create mode 100644 devtools/client/webconsole/test/chrome/head.js create mode 100644 devtools/client/webconsole/test/chrome/test_render_perf.html (limited to 'devtools/client/webconsole/test/chrome') diff --git a/devtools/client/webconsole/test/chrome/.eslintrc.js b/devtools/client/webconsole/test/chrome/.eslintrc.js new file mode 100644 index 0000000000..2eba290f7d --- /dev/null +++ b/devtools/client/webconsole/test/chrome/.eslintrc.js @@ -0,0 +1,6 @@ +"use strict"; + +module.exports = { + // Extend from the shared list of defined globals for mochitests. + extends: "../../../../.eslintrc.mochitests.js", +}; diff --git a/devtools/client/webconsole/test/chrome/chrome.ini b/devtools/client/webconsole/test/chrome/chrome.ini new file mode 100644 index 0000000000..0543ae5c6d --- /dev/null +++ b/devtools/client/webconsole/test/chrome/chrome.ini @@ -0,0 +1,7 @@ +[DEFAULT] + +support-files = + head.js + +[test_render_perf.html] +skip-if = true # Bug 1306783 diff --git a/devtools/client/webconsole/test/chrome/head.js b/devtools/client/webconsole/test/chrome/head.js new file mode 100644 index 0000000000..922e3a9c3a --- /dev/null +++ b/devtools/client/webconsole/test/chrome/head.js @@ -0,0 +1,14 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ +/* exported Task, browserRequire */ + +"use strict"; + +var { BrowserLoader } = ChromeUtils.import( + "resource://devtools/client/shared/browser-loader.js" +); + +var { require: browserRequire } = BrowserLoader({ + baseURI: "resource://devtools/client/webconsole/", + window, +}); diff --git a/devtools/client/webconsole/test/chrome/test_render_perf.html b/devtools/client/webconsole/test/chrome/test_render_perf.html new file mode 100644 index 0000000000..083f1bffb9 --- /dev/null +++ b/devtools/client/webconsole/test/chrome/test_render_perf.html @@ -0,0 +1,239 @@ + + + + + Test for getRepeatId() + + + + + +

Test for render perf

+
+ + + + -- cgit v1.2.3