From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- dom/xslt/tests/mochitest/bug1729517_2.sjs | 3 + dom/xslt/tests/mochitest/file_bug1135764.xml | 3 + dom/xslt/tests/mochitest/file_bug1135764.xsl | 19 ++ dom/xslt/tests/mochitest/file_bug1729517.js | 4 + dom/xslt/tests/mochitest/file_bug1729517.xml | 31 +++ dom/xslt/tests/mochitest/file_bug1729517_2.xml | 38 ++++ .../tests/mochitest/file_bug1729517_2.xml^headers^ | 2 + dom/xslt/tests/mochitest/file_metaRefresh.xml | 16 ++ dom/xslt/tests/mochitest/mochitest.toml | 57 +++++ dom/xslt/tests/mochitest/test_bug1072116.html | 37 +++ dom/xslt/tests/mochitest/test_bug1135764.html | 58 +++++ dom/xslt/tests/mochitest/test_bug1436040.html | 54 +++++ dom/xslt/tests/mochitest/test_bug1527308.html | 38 ++++ dom/xslt/tests/mochitest/test_bug1729517.html | 48 ++++ dom/xslt/tests/mochitest/test_bug319374.html | 101 +++++++++ dom/xslt/tests/mochitest/test_bug427060.html | 49 ++++ dom/xslt/tests/mochitest/test_bug440974.html | 46 ++++ dom/xslt/tests/mochitest/test_bug453441.html | 57 +++++ dom/xslt/tests/mochitest/test_bug468208.html | 35 +++ dom/xslt/tests/mochitest/test_bug511487.html | 59 +++++ dom/xslt/tests/mochitest/test_bug551412.html | 48 ++++ dom/xslt/tests/mochitest/test_bug551654.html | 49 ++++ dom/xslt/tests/mochitest/test_bug566629.html | 70 ++++++ dom/xslt/tests/mochitest/test_bug566629.xhtml | 73 ++++++ dom/xslt/tests/mochitest/test_bug603159.html | 54 +++++ dom/xslt/tests/mochitest/test_bug616774.html | 28 +++ dom/xslt/tests/mochitest/test_bug667315.html | 46 ++++ dom/xslt/tests/mochitest/test_exslt.html | 249 +++++++++++++++++++++ dom/xslt/tests/mochitest/test_metaRefresh.html | 48 ++++ dom/xslt/tests/mochitest/test_parameter.html | 157 +++++++++++++ .../tests/mochitest/test_sorting_invalid_lang.html | 82 +++++++ 31 files changed, 1659 insertions(+) create mode 100644 dom/xslt/tests/mochitest/bug1729517_2.sjs create mode 100644 dom/xslt/tests/mochitest/file_bug1135764.xml create mode 100644 dom/xslt/tests/mochitest/file_bug1135764.xsl create mode 100644 dom/xslt/tests/mochitest/file_bug1729517.js create mode 100644 dom/xslt/tests/mochitest/file_bug1729517.xml create mode 100644 dom/xslt/tests/mochitest/file_bug1729517_2.xml create mode 100644 dom/xslt/tests/mochitest/file_bug1729517_2.xml^headers^ create mode 100644 dom/xslt/tests/mochitest/file_metaRefresh.xml create mode 100644 dom/xslt/tests/mochitest/mochitest.toml create mode 100644 dom/xslt/tests/mochitest/test_bug1072116.html create mode 100644 dom/xslt/tests/mochitest/test_bug1135764.html create mode 100644 dom/xslt/tests/mochitest/test_bug1436040.html create mode 100644 dom/xslt/tests/mochitest/test_bug1527308.html create mode 100644 dom/xslt/tests/mochitest/test_bug1729517.html create mode 100644 dom/xslt/tests/mochitest/test_bug319374.html create mode 100644 dom/xslt/tests/mochitest/test_bug427060.html create mode 100644 dom/xslt/tests/mochitest/test_bug440974.html create mode 100644 dom/xslt/tests/mochitest/test_bug453441.html create mode 100644 dom/xslt/tests/mochitest/test_bug468208.html create mode 100644 dom/xslt/tests/mochitest/test_bug511487.html create mode 100644 dom/xslt/tests/mochitest/test_bug551412.html create mode 100644 dom/xslt/tests/mochitest/test_bug551654.html create mode 100644 dom/xslt/tests/mochitest/test_bug566629.html create mode 100644 dom/xslt/tests/mochitest/test_bug566629.xhtml create mode 100644 dom/xslt/tests/mochitest/test_bug603159.html create mode 100644 dom/xslt/tests/mochitest/test_bug616774.html create mode 100644 dom/xslt/tests/mochitest/test_bug667315.html create mode 100644 dom/xslt/tests/mochitest/test_exslt.html create mode 100644 dom/xslt/tests/mochitest/test_metaRefresh.html create mode 100644 dom/xslt/tests/mochitest/test_parameter.html create mode 100644 dom/xslt/tests/mochitest/test_sorting_invalid_lang.html (limited to 'dom/xslt/tests/mochitest') diff --git a/dom/xslt/tests/mochitest/bug1729517_2.sjs b/dom/xslt/tests/mochitest/bug1729517_2.sjs new file mode 100644 index 0000000000..2537a971b0 --- /dev/null +++ b/dom/xslt/tests/mochitest/bug1729517_2.sjs @@ -0,0 +1,3 @@ +function handleRequest(request, response) { + response.write(request.hasHeader("Referer") ? "FAIL" : "PASS"); +} diff --git a/dom/xslt/tests/mochitest/file_bug1135764.xml b/dom/xslt/tests/mochitest/file_bug1135764.xml new file mode 100644 index 0000000000..b9da87e5e5 --- /dev/null +++ b/dom/xslt/tests/mochitest/file_bug1135764.xml @@ -0,0 +1,3 @@ + + + diff --git a/dom/xslt/tests/mochitest/file_bug1135764.xsl b/dom/xslt/tests/mochitest/file_bug1135764.xsl new file mode 100644 index 0000000000..e739086cbe --- /dev/null +++ b/dom/xslt/tests/mochitest/file_bug1135764.xsl @@ -0,0 +1,19 @@ + + + + + + + + + + + Some text + + + + + diff --git a/dom/xslt/tests/mochitest/file_bug1729517.js b/dom/xslt/tests/mochitest/file_bug1729517.js new file mode 100644 index 0000000000..b404dc6778 --- /dev/null +++ b/dom/xslt/tests/mochitest/file_bug1729517.js @@ -0,0 +1,4 @@ +/* global fail */ +fail( + "documents sandboxed without allow-scripts should NOT be able to run + + + + + + + diff --git a/dom/xslt/tests/mochitest/file_bug1729517_2.xml^headers^ b/dom/xslt/tests/mochitest/file_bug1729517_2.xml^headers^ new file mode 100644 index 0000000000..6c83b8d686 --- /dev/null +++ b/dom/xslt/tests/mochitest/file_bug1729517_2.xml^headers^ @@ -0,0 +1,2 @@ +Referrer-Policy: no-referrer +Cross-Origin-Embedder-Policy: require-corp diff --git a/dom/xslt/tests/mochitest/file_metaRefresh.xml b/dom/xslt/tests/mochitest/file_metaRefresh.xml new file mode 100644 index 0000000000..b9e127b8a5 --- /dev/null +++ b/dom/xslt/tests/mochitest/file_metaRefresh.xml @@ -0,0 +1,16 @@ + + + +]> + + + + + + + + + + + diff --git a/dom/xslt/tests/mochitest/mochitest.toml b/dom/xslt/tests/mochitest/mochitest.toml new file mode 100644 index 0000000000..70d313758c --- /dev/null +++ b/dom/xslt/tests/mochitest/mochitest.toml @@ -0,0 +1,57 @@ +[DEFAULT] + +["test_bug319374.html"] + +["test_bug427060.html"] + +["test_bug440974.html"] + +["test_bug453441.html"] + +["test_bug468208.html"] + +["test_bug511487.html"] + +["test_bug551412.html"] + +["test_bug551654.html"] + +["test_bug566629.html"] + +["test_bug566629.xhtml"] + +["test_bug603159.html"] + +["test_bug616774.html"] + +["test_bug667315.html"] + +["test_bug1072116.html"] + +["test_bug1135764.html"] +support-files = [ + "file_bug1135764.xml", + "file_bug1135764.xsl", +] + +["test_bug1436040.html"] + +["test_bug1527308.html"] + +["test_bug1729517.html"] +support-files = [ + "bug1729517_2.sjs", + "file_bug1729517.xml", + "file_bug1729517.js", + "file_bug1729517_2.xml", + "file_bug1729517_2.xml^headers^", +] + +["test_exslt.html"] + +["test_metaRefresh.html"] +support-files = ["file_metaRefresh.xml"] + +["test_parameter.html"] + +["test_sorting_invalid_lang.html"] diff --git a/dom/xslt/tests/mochitest/test_bug1072116.html b/dom/xslt/tests/mochitest/test_bug1072116.html new file mode 100644 index 0000000000..d69b5812b2 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug1072116.html @@ -0,0 +1,37 @@ + + + + + Test for Bug 1072116 + + + + +Mozilla Bug 1072116 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug1135764.html b/dom/xslt/tests/mochitest/test_bug1135764.html new file mode 100644 index 0000000000..a368b9b4ab --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug1135764.html @@ -0,0 +1,58 @@ + + + + + + Test for Bug 1135764 + + + + + +Mozilla Bug 1135764 +

+ +

+ +
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug1436040.html b/dom/xslt/tests/mochitest/test_bug1436040.html new file mode 100644 index 0000000000..df17e75779 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug1436040.html @@ -0,0 +1,54 @@ + + +Test for xslt-param PIs + + +
+ diff --git a/dom/xslt/tests/mochitest/test_bug1527308.html b/dom/xslt/tests/mochitest/test_bug1527308.html new file mode 100644 index 0000000000..c37a0c1f00 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug1527308.html @@ -0,0 +1,38 @@ + + +Test for serialized state in XSLT result document + + +
+ diff --git a/dom/xslt/tests/mochitest/test_bug1729517.html b/dom/xslt/tests/mochitest/test_bug1729517.html new file mode 100644 index 0000000000..3dc9eca3c0 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug1729517.html @@ -0,0 +1,48 @@ + + + + + <!-- TODO: insert title here --> + + + + + +

+ + +

+
+
diff --git a/dom/xslt/tests/mochitest/test_bug319374.html b/dom/xslt/tests/mochitest/test_bug319374.html
new file mode 100644
index 0000000000..a833cf281f
--- /dev/null
+++ b/dom/xslt/tests/mochitest/test_bug319374.html
@@ -0,0 +1,101 @@
+
+
+
+
+  Test for Bug 319374
+  
+  
+
+
+Mozilla Bug 319374
+

+
+
+
+
+ + + diff --git a/dom/xslt/tests/mochitest/test_bug427060.html b/dom/xslt/tests/mochitest/test_bug427060.html new file mode 100644 index 0000000000..0dac88b74b --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug427060.html @@ -0,0 +1,49 @@ + + + + + Test for Bug 427060 + + + + +Mozilla Bug 427060 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug440974.html b/dom/xslt/tests/mochitest/test_bug440974.html new file mode 100644 index 0000000000..40745ae210 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug440974.html @@ -0,0 +1,46 @@ + + + + + Test for Bug 440974 + + + + +Mozilla Bug 440974 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug453441.html b/dom/xslt/tests/mochitest/test_bug453441.html new file mode 100644 index 0000000000..1d8b554c00 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug453441.html @@ -0,0 +1,57 @@ + + + + + Test for Bug 453441 + + + + +Mozilla Bug 453441 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug468208.html b/dom/xslt/tests/mochitest/test_bug468208.html new file mode 100644 index 0000000000..d3c05c7374 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug468208.html @@ -0,0 +1,35 @@ + + + + + Test for Bug 468208 + + + + + +Mozilla Bug 468208 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug511487.html b/dom/xslt/tests/mochitest/test_bug511487.html new file mode 100644 index 0000000000..324ba04679 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug511487.html @@ -0,0 +1,59 @@ + + + + + Test for Bug 511487 + + + + +Mozilla Bug 511487 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug551412.html b/dom/xslt/tests/mochitest/test_bug551412.html new file mode 100644 index 0000000000..399310a014 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug551412.html @@ -0,0 +1,48 @@ + + + + + Test for Bug 551412 + + + + +Mozilla Bug 551412 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug551654.html b/dom/xslt/tests/mochitest/test_bug551654.html new file mode 100644 index 0000000000..0bdd2dda60 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug551654.html @@ -0,0 +1,49 @@ + + + + + Test for Bug 551654 + + + + +Mozilla Bug 551654 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug566629.html b/dom/xslt/tests/mochitest/test_bug566629.html new file mode 100644 index 0000000000..5670207145 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug566629.html @@ -0,0 +1,70 @@ + + + + + Test for Bug 566629 + + + + +Mozilla Bug 566629 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug566629.xhtml b/dom/xslt/tests/mochitest/test_bug566629.xhtml new file mode 100644 index 0000000000..0880a36002 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug566629.xhtml @@ -0,0 +1,73 @@ + + + + Test for Bug 566629 + + + + +Mozilla Bug 566629 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug603159.html b/dom/xslt/tests/mochitest/test_bug603159.html new file mode 100644 index 0000000000..95c4efa9c5 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug603159.html @@ -0,0 +1,54 @@ + + + + + Test for Bug 603159 + + + + +Mozilla Bug 603159 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug616774.html b/dom/xslt/tests/mochitest/test_bug616774.html new file mode 100644 index 0000000000..e970b778e9 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug616774.html @@ -0,0 +1,28 @@ + + + + + Test for Bug 616774 + + + + + +Mozilla Bug 616774 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_bug667315.html b/dom/xslt/tests/mochitest/test_bug667315.html new file mode 100644 index 0000000000..a54fa05f42 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_bug667315.html @@ -0,0 +1,46 @@ + + + + + Test for Bug 667315 + + + + +Mozilla Bug 667315 +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_exslt.html b/dom/xslt/tests/mochitest/test_exslt.html new file mode 100644 index 0000000000..739d1c1988 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_exslt.html @@ -0,0 +1,249 @@ + + + + + Test for EXSLT extensions + + + + +

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_metaRefresh.html b/dom/xslt/tests/mochitest/test_metaRefresh.html new file mode 100644 index 0000000000..21338bed82 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_metaRefresh.html @@ -0,0 +1,48 @@ + + + + + <!-- TODO: insert title here --> + + + + + +

+ + + +

+
+
diff --git a/dom/xslt/tests/mochitest/test_parameter.html b/dom/xslt/tests/mochitest/test_parameter.html
new file mode 100644
index 0000000000..32acd72fb2
--- /dev/null
+++ b/dom/xslt/tests/mochitest/test_parameter.html
@@ -0,0 +1,157 @@
+
+
+
+  Test for setParameter/getParameter
+  
+  
+
+
+

+ +
+
+
+ + diff --git a/dom/xslt/tests/mochitest/test_sorting_invalid_lang.html b/dom/xslt/tests/mochitest/test_sorting_invalid_lang.html new file mode 100644 index 0000000000..6044e43309 --- /dev/null +++ b/dom/xslt/tests/mochitest/test_sorting_invalid_lang.html @@ -0,0 +1,82 @@ + + + + + Test sorting with invalid lang + + + + +Mozilla Bug 1734679 +

+ +
+
+
+ + -- cgit v1.2.3