From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- dom/tests/reftest/bug1389406-01.xsl | 15 ++++++++++ dom/tests/reftest/bug1389406-02.xsl | 15 ++++++++++ dom/tests/reftest/bug1389406-ref.xml | 2 ++ dom/tests/reftest/bug1389406.xml | 3 ++ dom/tests/reftest/bug427779-ref.xml | 3 ++ dom/tests/reftest/bug427779.xml | 4 +++ dom/tests/reftest/bug439965-ref.html | 20 ++++++++++++++ dom/tests/reftest/bug439965.html | 21 ++++++++++++++ dom/tests/reftest/bug453105-ref.html | 7 +++++ dom/tests/reftest/bug453105.html | 9 ++++++ dom/tests/reftest/bug456008-ref.html | 10 +++++++ dom/tests/reftest/bug456008.xhtml | 11 ++++++++ dom/tests/reftest/bug559996-iframe.html | 7 +++++ dom/tests/reftest/bug559996-ref-iframe.html | 8 ++++++ dom/tests/reftest/bug559996-ref.html | 16 +++++++++++ dom/tests/reftest/bug559996.html | 16 +++++++++++ dom/tests/reftest/bug591981-1.html | 32 ++++++++++++++++++++++ dom/tests/reftest/bug591981-2.html | 32 ++++++++++++++++++++++ dom/tests/reftest/bug591981-ref.html | 9 ++++++ dom/tests/reftest/bug591981-script.js | 1 + dom/tests/reftest/bug592366-1.html | 7 +++++ dom/tests/reftest/bug592366-1.xhtml | 6 ++++ dom/tests/reftest/bug592366-2.html | 7 +++++ dom/tests/reftest/bug592366-2.xhtml | 6 ++++ dom/tests/reftest/bug592366-ref.html | 9 ++++++ dom/tests/reftest/bug592366-ref.xhtml | 9 ++++++ dom/tests/reftest/bug798068-ref.xhtml | 18 ++++++++++++ dom/tests/reftest/bug798068.xhtml | 19 +++++++++++++ dom/tests/reftest/child592366-1.html | 19 +++++++++++++ dom/tests/reftest/child592366-1.xhtml | 18 ++++++++++++ dom/tests/reftest/child592366-2.html | 17 ++++++++++++ dom/tests/reftest/child592366-2.xhtml | 16 +++++++++++ dom/tests/reftest/optiontext-ref.html | 8 ++++++ dom/tests/reftest/optiontext.html | 8 ++++++ dom/tests/reftest/reftest.list | 14 ++++++++++ dom/tests/reftest/script592366-2.js | 2 ++ .../reftest/xml-stylesheet/css_relative_href.xml | 2 ++ .../css_relative_href_also_external.xml | 2 ++ .../css_relative_href_also_external.xml^headers^ | 1 + .../css_relative_href_also_external_override.xml | 2 ++ ...lative_href_also_external_override.xml^headers^ | 1 + .../reftest/xml-stylesheet/embedded_dtd_id.svg | 20 ++++++++++++++ dom/tests/reftest/xml-stylesheet/error_no_href.svg | 8 ++++++ dom/tests/reftest/xml-stylesheet/fail.svg | 4 +++ dom/tests/reftest/xml-stylesheet/failer.css | 1 + .../xml-stylesheet/lreas_selflink_dtd_id.svg | 9 ++++++ .../xml-stylesheet/lreas_selflink_empty_href.svg | 8 ++++++ .../lreas_selflink_relative_href.svg | 9 ++++++ dom/tests/reftest/xml-stylesheet/pass.svg | 4 +++ dom/tests/reftest/xml-stylesheet/passer.css | 1 + .../reftest/xml-stylesheet/passer_override.css | 1 + dom/tests/reftest/xml-stylesheet/reftest.list | 12 ++++++++ dom/tests/reftest/xml-stylesheet/svg_passer.xslt | 11 ++++++++ .../reftest/xml-stylesheet/xslt_relative_href.svg | 4 +++ .../xml-stylesheet/xslt_selflink_dtd_id.xml | 11 ++++++++ .../xml-stylesheet/xslt_selflink_empty_href.xml | 10 +++++++ .../xml-stylesheet/xslt_selflink_relative_href.xml | 11 ++++++++ 57 files changed, 556 insertions(+) create mode 100644 dom/tests/reftest/bug1389406-01.xsl create mode 100644 dom/tests/reftest/bug1389406-02.xsl create mode 100644 dom/tests/reftest/bug1389406-ref.xml create mode 100644 dom/tests/reftest/bug1389406.xml create mode 100644 dom/tests/reftest/bug427779-ref.xml create mode 100644 dom/tests/reftest/bug427779.xml create mode 100644 dom/tests/reftest/bug439965-ref.html create mode 100644 dom/tests/reftest/bug439965.html create mode 100644 dom/tests/reftest/bug453105-ref.html create mode 100644 dom/tests/reftest/bug453105.html create mode 100644 dom/tests/reftest/bug456008-ref.html create mode 100644 dom/tests/reftest/bug456008.xhtml create mode 100644 dom/tests/reftest/bug559996-iframe.html create mode 100644 dom/tests/reftest/bug559996-ref-iframe.html create mode 100644 dom/tests/reftest/bug559996-ref.html create mode 100644 dom/tests/reftest/bug559996.html create mode 100644 dom/tests/reftest/bug591981-1.html create mode 100644 dom/tests/reftest/bug591981-2.html create mode 100644 dom/tests/reftest/bug591981-ref.html create mode 100644 dom/tests/reftest/bug591981-script.js create mode 100644 dom/tests/reftest/bug592366-1.html create mode 100644 dom/tests/reftest/bug592366-1.xhtml create mode 100644 dom/tests/reftest/bug592366-2.html create mode 100644 dom/tests/reftest/bug592366-2.xhtml create mode 100644 dom/tests/reftest/bug592366-ref.html create mode 100644 dom/tests/reftest/bug592366-ref.xhtml create mode 100644 dom/tests/reftest/bug798068-ref.xhtml create mode 100644 dom/tests/reftest/bug798068.xhtml create mode 100644 dom/tests/reftest/child592366-1.html create mode 100644 dom/tests/reftest/child592366-1.xhtml create mode 100644 dom/tests/reftest/child592366-2.html create mode 100644 dom/tests/reftest/child592366-2.xhtml create mode 100644 dom/tests/reftest/optiontext-ref.html create mode 100644 dom/tests/reftest/optiontext.html create mode 100644 dom/tests/reftest/reftest.list create mode 100644 dom/tests/reftest/script592366-2.js create mode 100644 dom/tests/reftest/xml-stylesheet/css_relative_href.xml create mode 100644 dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml create mode 100644 dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml^headers^ create mode 100644 dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml create mode 100644 dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml^headers^ create mode 100644 dom/tests/reftest/xml-stylesheet/embedded_dtd_id.svg create mode 100644 dom/tests/reftest/xml-stylesheet/error_no_href.svg create mode 100644 dom/tests/reftest/xml-stylesheet/fail.svg create mode 100644 dom/tests/reftest/xml-stylesheet/failer.css create mode 100644 dom/tests/reftest/xml-stylesheet/lreas_selflink_dtd_id.svg create mode 100644 dom/tests/reftest/xml-stylesheet/lreas_selflink_empty_href.svg create mode 100644 dom/tests/reftest/xml-stylesheet/lreas_selflink_relative_href.svg create mode 100644 dom/tests/reftest/xml-stylesheet/pass.svg create mode 100644 dom/tests/reftest/xml-stylesheet/passer.css create mode 100644 dom/tests/reftest/xml-stylesheet/passer_override.css create mode 100644 dom/tests/reftest/xml-stylesheet/reftest.list create mode 100644 dom/tests/reftest/xml-stylesheet/svg_passer.xslt create mode 100644 dom/tests/reftest/xml-stylesheet/xslt_relative_href.svg create mode 100644 dom/tests/reftest/xml-stylesheet/xslt_selflink_dtd_id.xml create mode 100644 dom/tests/reftest/xml-stylesheet/xslt_selflink_empty_href.xml create mode 100644 dom/tests/reftest/xml-stylesheet/xslt_selflink_relative_href.xml (limited to 'dom/tests/reftest') diff --git a/dom/tests/reftest/bug1389406-01.xsl b/dom/tests/reftest/bug1389406-01.xsl new file mode 100644 index 0000000000..856a6a711e --- /dev/null +++ b/dom/tests/reftest/bug1389406-01.xsl @@ -0,0 +1,15 @@ + + + + + + + + + + + + + diff --git a/dom/tests/reftest/bug1389406-02.xsl b/dom/tests/reftest/bug1389406-02.xsl new file mode 100644 index 0000000000..60ab6936fa --- /dev/null +++ b/dom/tests/reftest/bug1389406-02.xsl @@ -0,0 +1,15 @@ + + + + + — TEST CASE + + + + +

+
+ +
diff --git a/dom/tests/reftest/bug1389406-ref.xml b/dom/tests/reftest/bug1389406-ref.xml new file mode 100644 index 0000000000..8bfccb9c11 --- /dev/null +++ b/dom/tests/reftest/bug1389406-ref.xml @@ -0,0 +1,2 @@ + +

Firefox bug — TEST CASEFirefox bug

diff --git a/dom/tests/reftest/bug1389406.xml b/dom/tests/reftest/bug1389406.xml new file mode 100644 index 0000000000..58b00a56ac --- /dev/null +++ b/dom/tests/reftest/bug1389406.xml @@ -0,0 +1,3 @@ + + +Firefox bug diff --git a/dom/tests/reftest/bug427779-ref.xml b/dom/tests/reftest/bug427779-ref.xml new file mode 100644 index 0000000000..b3631c0d14 --- /dev/null +++ b/dom/tests/reftest/bug427779-ref.xml @@ -0,0 +1,3 @@ + +This is a test + diff --git a/dom/tests/reftest/bug427779.xml b/dom/tests/reftest/bug427779.xml new file mode 100644 index 0000000000..59e7a36ebf --- /dev/null +++ b/dom/tests/reftest/bug427779.xml @@ -0,0 +1,4 @@ + + +This is a test + diff --git a/dom/tests/reftest/bug439965-ref.html b/dom/tests/reftest/bug439965-ref.html new file mode 100644 index 0000000000..c3465c3911 --- /dev/null +++ b/dom/tests/reftest/bug439965-ref.html @@ -0,0 +1,20 @@ + + + + + +
+

+
+
diff --git a/dom/tests/reftest/bug439965.html b/dom/tests/reftest/bug439965.html
new file mode 100644
index 0000000000..da3f90ebe2
--- /dev/null
+++ b/dom/tests/reftest/bug439965.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+

+
+
diff --git a/dom/tests/reftest/bug453105-ref.html b/dom/tests/reftest/bug453105-ref.html
new file mode 100644
index 0000000000..cc10953858
--- /dev/null
+++ b/dom/tests/reftest/bug453105-ref.html
@@ -0,0 +1,7 @@
+
+
+
+ +
+ diff --git a/dom/tests/reftest/bug453105.html b/dom/tests/reftest/bug453105.html new file mode 100644 index 0000000000..0ace6d5a0d --- /dev/null +++ b/dom/tests/reftest/bug453105.html @@ -0,0 +1,9 @@ + + +
+ +
+ diff --git a/dom/tests/reftest/bug456008-ref.html b/dom/tests/reftest/bug456008-ref.html new file mode 100644 index 0000000000..e605de5314 --- /dev/null +++ b/dom/tests/reftest/bug456008-ref.html @@ -0,0 +1,10 @@ + + + +
+ + + diff --git a/dom/tests/reftest/bug456008.xhtml b/dom/tests/reftest/bug456008.xhtml new file mode 100644 index 0000000000..43027343cb --- /dev/null +++ b/dom/tests/reftest/bug456008.xhtml @@ -0,0 +1,11 @@ + + +
+ + + diff --git a/dom/tests/reftest/bug559996-iframe.html b/dom/tests/reftest/bug559996-iframe.html new file mode 100644 index 0000000000..b576d1d223 --- /dev/null +++ b/dom/tests/reftest/bug559996-iframe.html @@ -0,0 +1,7 @@ + + + +
first
+
second
+ + diff --git a/dom/tests/reftest/bug559996-ref-iframe.html b/dom/tests/reftest/bug559996-ref-iframe.html new file mode 100644 index 0000000000..2b13b8b343 --- /dev/null +++ b/dom/tests/reftest/bug559996-ref-iframe.html @@ -0,0 +1,8 @@ + + + +
first
+
second
+ + + diff --git a/dom/tests/reftest/bug559996-ref.html b/dom/tests/reftest/bug559996-ref.html new file mode 100644 index 0000000000..f7124e8698 --- /dev/null +++ b/dom/tests/reftest/bug559996-ref.html @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/dom/tests/reftest/bug559996.html b/dom/tests/reftest/bug559996.html new file mode 100644 index 0000000000..1ade11db22 --- /dev/null +++ b/dom/tests/reftest/bug559996.html @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/dom/tests/reftest/bug591981-1.html b/dom/tests/reftest/bug591981-1.html new file mode 100644 index 0000000000..5c48ca8123 --- /dev/null +++ b/dom/tests/reftest/bug591981-1.html @@ -0,0 +1,32 @@ + + + +Script-inserted script + + +
+ + + diff --git a/dom/tests/reftest/bug591981-2.html b/dom/tests/reftest/bug591981-2.html new file mode 100644 index 0000000000..7d05d5179a --- /dev/null +++ b/dom/tests/reftest/bug591981-2.html @@ -0,0 +1,32 @@ + + + +Script trying to execute parser-inserted non-executed scripts + + +
+ + + + + diff --git a/dom/tests/reftest/bug591981-ref.html b/dom/tests/reftest/bug591981-ref.html new file mode 100644 index 0000000000..8a19a40b9d --- /dev/null +++ b/dom/tests/reftest/bug591981-ref.html @@ -0,0 +1,9 @@ + + + +Script-inserted script + + +

internal

external

+ + diff --git a/dom/tests/reftest/bug591981-script.js b/dom/tests/reftest/bug591981-script.js new file mode 100644 index 0000000000..818596af3c --- /dev/null +++ b/dom/tests/reftest/bug591981-script.js @@ -0,0 +1 @@ +log("external"); diff --git a/dom/tests/reftest/bug592366-1.html b/dom/tests/reftest/bug592366-1.html new file mode 100644 index 0000000000..42e2971542 --- /dev/null +++ b/dom/tests/reftest/bug592366-1.html @@ -0,0 +1,7 @@ + + +Move node during parse + + +After iframe + diff --git a/dom/tests/reftest/bug592366-1.xhtml b/dom/tests/reftest/bug592366-1.xhtml new file mode 100644 index 0000000000..7f9f57b273 --- /dev/null +++ b/dom/tests/reftest/bug592366-1.xhtml @@ -0,0 +1,6 @@ + +Move node during parse + + +After iframe + diff --git a/dom/tests/reftest/bug592366-2.html b/dom/tests/reftest/bug592366-2.html new file mode 100644 index 0000000000..42e2971542 --- /dev/null +++ b/dom/tests/reftest/bug592366-2.html @@ -0,0 +1,7 @@ + + +Move node during parse + + +After iframe + diff --git a/dom/tests/reftest/bug592366-2.xhtml b/dom/tests/reftest/bug592366-2.xhtml new file mode 100644 index 0000000000..db08a195a0 --- /dev/null +++ b/dom/tests/reftest/bug592366-2.xhtml @@ -0,0 +1,6 @@ + +Move node during parse + + +After iframe + diff --git a/dom/tests/reftest/bug592366-ref.html b/dom/tests/reftest/bug592366-ref.html new file mode 100644 index 0000000000..7e1ee242c4 --- /dev/null +++ b/dom/tests/reftest/bug592366-ref.html @@ -0,0 +1,9 @@ + +Move node during parse + + +After iframe +

This text should not show inside the iframe. It should show inside the parent. Furthermore, there should be text saying "Middle of Page" and then "End of Page" below (also in the parent).

+

Middle of Page

+

End of Page

+
diff --git a/dom/tests/reftest/bug592366-ref.xhtml b/dom/tests/reftest/bug592366-ref.xhtml new file mode 100644 index 0000000000..a75444d694 --- /dev/null +++ b/dom/tests/reftest/bug592366-ref.xhtml @@ -0,0 +1,9 @@ + +Move node during parse + + +After iframe +

This text should not show inside the iframe. It should show inside the parent. Furthermore, there should be text saying "Middle of Page" and then "End of Page" below (also in the parent).

+

Middle of Page

+

End of Page

+
diff --git a/dom/tests/reftest/bug798068-ref.xhtml b/dom/tests/reftest/bug798068-ref.xhtml new file mode 100644 index 0000000000..eaa2772c74 --- /dev/null +++ b/dom/tests/reftest/bug798068-ref.xhtml @@ -0,0 +1,18 @@ + + + + + + + MinZoom:
+ MaxZoom: + + diff --git a/dom/tests/reftest/bug798068.xhtml b/dom/tests/reftest/bug798068.xhtml new file mode 100644 index 0000000000..7fe0aea245 --- /dev/null +++ b/dom/tests/reftest/bug798068.xhtml @@ -0,0 +1,19 @@ + + + + + + + + MinZoom:
+ MaxZoom: + + diff --git a/dom/tests/reftest/child592366-1.html b/dom/tests/reftest/child592366-1.html new file mode 100644 index 0000000000..acd123571d --- /dev/null +++ b/dom/tests/reftest/child592366-1.html @@ -0,0 +1,19 @@ + + + +Move node during parse + + +
+

This text should not show inside the iframe. It should show inside the parent. Furthermore, there should be text saying "Middle of Page" and then "End of Page" below (also in the parent).

+ +

Middle of Page

+ +

End of Page

+
+ + diff --git a/dom/tests/reftest/child592366-1.xhtml b/dom/tests/reftest/child592366-1.xhtml new file mode 100644 index 0000000000..0193e4cea4 --- /dev/null +++ b/dom/tests/reftest/child592366-1.xhtml @@ -0,0 +1,18 @@ + + +Move node during parse + + +
+

This text should not show inside the iframe. It should show inside the parent. Furthermore, there should be text saying "Middle of Page" and then "End of Page" below (also in the parent).

+ +

Middle of Page

+ +

End of Page

+
+ + diff --git a/dom/tests/reftest/child592366-2.html b/dom/tests/reftest/child592366-2.html new file mode 100644 index 0000000000..e2e6c3a651 --- /dev/null +++ b/dom/tests/reftest/child592366-2.html @@ -0,0 +1,17 @@ + + + +Move node during parse + + +
+

This text should not show inside the iframe. It should show inside the parent. Furthermore, there should be text saying "Middle of Page" and then "End of Page" below (also in the parent).

+ +

Middle of Page

+ +

End of Page

+
+ + diff --git a/dom/tests/reftest/child592366-2.xhtml b/dom/tests/reftest/child592366-2.xhtml new file mode 100644 index 0000000000..a64dc83ae0 --- /dev/null +++ b/dom/tests/reftest/child592366-2.xhtml @@ -0,0 +1,16 @@ + + +Move node during parse + + +
+

This text should not show inside the iframe. It should show inside the parent. Furthermore, there should be text saying "Middle of Page" and then "End of Page" below (also in the parent).

+ +

Middle of Page

+ +

End of Page

+
+ + diff --git a/dom/tests/reftest/optiontext-ref.html b/dom/tests/reftest/optiontext-ref.html new file mode 100644 index 0000000000..6250c1fb27 --- /dev/null +++ b/dom/tests/reftest/optiontext-ref.html @@ -0,0 +1,8 @@ + + +
+ +
+ diff --git a/dom/tests/reftest/optiontext.html b/dom/tests/reftest/optiontext.html new file mode 100644 index 0000000000..5297e6caa3 --- /dev/null +++ b/dom/tests/reftest/optiontext.html @@ -0,0 +1,8 @@ + + +
+ +
+ diff --git a/dom/tests/reftest/reftest.list b/dom/tests/reftest/reftest.list new file mode 100644 index 0000000000..ee7069e2af --- /dev/null +++ b/dom/tests/reftest/reftest.list @@ -0,0 +1,14 @@ +fuzzy-if(Android,0-4,0-1) == bug453105.html bug453105-ref.html # bug 1600534 +fuzzy-if(Android,0-4,0-1) == optiontext.html optiontext-ref.html +== bug456008.xhtml bug456008-ref.html +fuzzy(0-2,0-3) == bug439965.html bug439965-ref.html +== bug427779.xml bug427779-ref.xml +fuzzy(0-1,0-5) == bug559996.html bug559996-ref.html +== bug591981-1.html bug591981-ref.html +== bug591981-2.html bug591981-ref.html +== bug592366-1.html bug592366-ref.html +== bug592366-2.html bug592366-ref.html +== bug592366-1.xhtml bug592366-ref.xhtml +== bug592366-2.xhtml bug592366-ref.xhtml +== bug798068.xhtml bug798068-ref.xhtml +== bug1389406.xml bug1389406-ref.xml diff --git a/dom/tests/reftest/script592366-2.js b/dom/tests/reftest/script592366-2.js new file mode 100644 index 0000000000..c3c8e143e3 --- /dev/null +++ b/dom/tests/reftest/script592366-2.js @@ -0,0 +1,2 @@ +document.body.insertBefore(document.createTextNode("FAIL"), document.body.firstChild); + diff --git a/dom/tests/reftest/xml-stylesheet/css_relative_href.xml b/dom/tests/reftest/xml-stylesheet/css_relative_href.xml new file mode 100644 index 0000000000..8576e56d8f --- /dev/null +++ b/dom/tests/reftest/xml-stylesheet/css_relative_href.xml @@ -0,0 +1,2 @@ + + diff --git a/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml b/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml new file mode 100644 index 0000000000..8576e56d8f --- /dev/null +++ b/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml @@ -0,0 +1,2 @@ + + diff --git a/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml^headers^ b/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml^headers^ new file mode 100644 index 0000000000..581aae3439 --- /dev/null +++ b/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml^headers^ @@ -0,0 +1 @@ +Link: ;rel="stylesheet";type="text/css" diff --git a/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml b/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml new file mode 100644 index 0000000000..7859e6078c --- /dev/null +++ b/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml @@ -0,0 +1,2 @@ + + diff --git a/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml^headers^ b/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml^headers^ new file mode 100644 index 0000000000..f9e96867b6 --- /dev/null +++ b/dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml^headers^ @@ -0,0 +1 @@ +Link: ;rel="stylesheet";type="text/css" diff --git a/dom/tests/reftest/xml-stylesheet/embedded_dtd_id.svg b/dom/tests/reftest/xml-stylesheet/embedded_dtd_id.svg new file mode 100644 index 0000000000..dee0d44f0d --- /dev/null +++ b/dom/tests/reftest/xml-stylesheet/embedded_dtd_id.svg @@ -0,0 +1,20 @@ +]> + + + + + +