From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- testing/mochitest/static/browser.template.txt | 8 ++ testing/mochitest/static/chromehtml.template.txt | 19 ++++ testing/mochitest/static/chromexhtml.template.txt | 19 ++++ testing/mochitest/static/chromexul.template.txt | 15 +++ testing/mochitest/static/harness.css | 126 ++++++++++++++++++++++ testing/mochitest/static/plainhtml.template.txt | 17 +++ testing/mochitest/static/plainxhtml.template.txt | 17 +++ testing/mochitest/static/plainxul.template.txt | 12 +++ 8 files changed, 233 insertions(+) create mode 100644 testing/mochitest/static/browser.template.txt create mode 100644 testing/mochitest/static/chromehtml.template.txt create mode 100644 testing/mochitest/static/chromexhtml.template.txt create mode 100644 testing/mochitest/static/chromexul.template.txt create mode 100644 testing/mochitest/static/harness.css create mode 100644 testing/mochitest/static/plainhtml.template.txt create mode 100644 testing/mochitest/static/plainxhtml.template.txt create mode 100644 testing/mochitest/static/plainxul.template.txt (limited to 'testing/mochitest/static') diff --git a/testing/mochitest/static/browser.template.txt b/testing/mochitest/static/browser.template.txt new file mode 100644 index 0000000000..fe4f2080b2 --- /dev/null +++ b/testing/mochitest/static/browser.template.txt @@ -0,0 +1,8 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +"use strict"; + +add_task(async function test_TODO() { + ok(true, "TODO: implement the test"); +}); diff --git a/testing/mochitest/static/chromehtml.template.txt b/testing/mochitest/static/chromehtml.template.txt new file mode 100644 index 0000000000..2ad7a6df52 --- /dev/null +++ b/testing/mochitest/static/chromehtml.template.txt @@ -0,0 +1,19 @@ + + + + + <!-- TODO: insert title here --> + + + + + +

+ +

+
+
diff --git a/testing/mochitest/static/chromexhtml.template.txt b/testing/mochitest/static/chromexhtml.template.txt
new file mode 100644
index 0000000000..9cd40ef308
--- /dev/null
+++ b/testing/mochitest/static/chromexhtml.template.txt
@@ -0,0 +1,19 @@
+
+
+
+  
+  <!-- TODO: insert title here -->
+  
+  
+  
+
+
+

+ +

+
+
diff --git a/testing/mochitest/static/chromexul.template.txt b/testing/mochitest/static/chromexul.template.txt
new file mode 100644
index 0000000000..6dbb611054
--- /dev/null
+++ b/testing/mochitest/static/chromexul.template.txt
@@ -0,0 +1,15 @@
+
+
+
+
+  
+
+  
+  
+
diff --git a/testing/mochitest/static/harness.css b/testing/mochitest/static/harness.css
new file mode 100644
index 0000000000..544a7dc954
--- /dev/null
+++ b/testing/mochitest/static/harness.css
@@ -0,0 +1,126 @@
+body   {
+  margin: 0;
+  padding: 0;
+  font-family: Verdana, Helvetica, Arial, sans-serif;
+  font-size: 11px;
+  background-color: #fff;
+}
+
+#xulharness {
+  position: fixed;
+  top: 30px;
+  bottom: 0;
+  right: 0px;
+  left: 0px;
+  overflow:auto;
+}
+
+th, td {
+  font-family: Verdana, Helvetica, Arial, sans-serif;
+  font-size: 11px;
+  padding-left: .2em;
+  padding-right: .2em;
+  text-align: left;
+  height: 15px;
+  margin: 0;
+}
+
+li, li.test, li.dir {
+  padding: 0;
+  line-height: 15px;
+}
+
+ul {
+  list-style: none;
+  margin: 0;
+  margin-left: 1em;
+  padding: 0;
+  border: none;
+}
+
+ul.top {
+  padding: 0;
+  padding-left: 1em;
+}
+
+table#test-table {
+  background: #f6f6f6;
+  margin-left: 1em;
+  padding: 0;
+}
+
+div.container {
+  margin: 1em;
+}
+
+a#runtests, a {
+  color: #3333cc;
+}
+
+li.non-test a {
+  color: #999999;
+}
+
+small a {
+  color: #000;
+}
+
+.clear { clear: both;}
+.invisible { display: none;}
+
+div.status {
+  min-height: 170px;
+  width: 100%;
+  border: 1px solid #666;
+}
+div.frameholder {
+  min-height: 170px;
+  min-width: 500px;
+  background-color: #ffffff;
+}
+
+div#current-test {
+  margin-top: 1em;
+  margin-bottom: 1em;
+}
+
+#indicator {
+  color: white;
+  background-color: green;
+  padding: .5em;
+  margin: 0;
+}
+
+#pass, #fail {
+  margin: 0;
+  padding: .5em;
+}
+
+#testframe {
+  width: 500px;
+  height: 300px;
+}
+
+
+body[singletest=true] table,
+body[singletest=true] h2,
+body[singletest=true] p,
+body[singletest=true] br,
+body[singletest=true] .clear,
+body[singletest=true] .toggle,
+body[singletest=true] #current-test,
+body[singletest=true] .status {
+  display: none;
+}
+
+
+body[singletest=true],
+body[singletest=true] .container,
+body[singletest=true] .frameholder,
+body[singletest=true] #testframe {
+  display: flex;
+  flex: 1 1 auto;
+  height: 100%;
+  box-sizing: border-box;
+  margin: 0;
+}
diff --git a/testing/mochitest/static/plainhtml.template.txt b/testing/mochitest/static/plainhtml.template.txt
new file mode 100644
index 0000000000..9268645fa1
--- /dev/null
+++ b/testing/mochitest/static/plainhtml.template.txt
@@ -0,0 +1,17 @@
+
+
+
+  
+  <!-- TODO: insert title here -->
+  
+  
+  
+
+
+

+ +

+
+
diff --git a/testing/mochitest/static/plainxhtml.template.txt b/testing/mochitest/static/plainxhtml.template.txt
new file mode 100644
index 0000000000..f04bdd5531
--- /dev/null
+++ b/testing/mochitest/static/plainxhtml.template.txt
@@ -0,0 +1,17 @@
+
+
+
+  
+  <!-- TODO: insert title here -->
+  
+  
+  
+
+
+

+ +

+
+
diff --git a/testing/mochitest/static/plainxul.template.txt b/testing/mochitest/static/plainxul.template.txt
new file mode 100644
index 0000000000..c7fc19d46b
--- /dev/null
+++ b/testing/mochitest/static/plainxul.template.txt
@@ -0,0 +1,12 @@
+
+
+
+
+  
+  
+  
+  
+
-- 
cgit v1.2.3