summaryrefslogtreecommitdiffstats
path: root/dom/encoding/test/reftest
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /dom/encoding/test/reftest
parentInitial commit. (diff)
downloadfirefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz
firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/encoding/test/reftest')
-rw-r--r--dom/encoding/test/reftest/bug863728-1-ref.html1
-rw-r--r--dom/encoding/test/reftest/bug863728-1.html1
-rw-r--r--dom/encoding/test/reftest/bug863728-2-ref.html3
-rw-r--r--dom/encoding/test/reftest/bug863728-2.html17
-rw-r--r--dom/encoding/test/reftest/bug863728-3-ref.html0
-rw-r--r--dom/encoding/test/reftest/bug863728-3.html5
-rw-r--r--dom/encoding/test/reftest/bug945215-1-ref.html1
-rw-r--r--dom/encoding/test/reftest/bug945215-1.html1
-rw-r--r--dom/encoding/test/reftest/bug945215-2-ref.html3
-rw-r--r--dom/encoding/test/reftest/bug945215-2.html17
-rw-r--r--dom/encoding/test/reftest/reftest.list5
11 files changed, 54 insertions, 0 deletions
diff --git a/dom/encoding/test/reftest/bug863728-1-ref.html b/dom/encoding/test/reftest/bug863728-1-ref.html
new file mode 100644
index 0000000000..5d9606030b
--- /dev/null
+++ b/dom/encoding/test/reftest/bug863728-1-ref.html
@@ -0,0 +1 @@
+<meta charset=utf-8>�
diff --git a/dom/encoding/test/reftest/bug863728-1.html b/dom/encoding/test/reftest/bug863728-1.html
new file mode 100644
index 0000000000..4772d51cf9
--- /dev/null
+++ b/dom/encoding/test/reftest/bug863728-1.html
@@ -0,0 +1 @@
+<meta charset=iso-2022-cn>
diff --git a/dom/encoding/test/reftest/bug863728-2-ref.html b/dom/encoding/test/reftest/bug863728-2-ref.html
new file mode 100644
index 0000000000..0211b54591
--- /dev/null
+++ b/dom/encoding/test/reftest/bug863728-2-ref.html
@@ -0,0 +1,3 @@
+<!DOCTYPE html>
+<meta charset=utf-8>
+<iframe src="data:text/html;charset=utf-8,�<iframe src='data:text/html;charset=utf-8,PASS'></iframe>" width=400 height=200></iframe>
diff --git a/dom/encoding/test/reftest/bug863728-2.html b/dom/encoding/test/reftest/bug863728-2.html
new file mode 100644
index 0000000000..d07b39bc49
--- /dev/null
+++ b/dom/encoding/test/reftest/bug863728-2.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html class=reftest-wait>
+<meta charset=utf-8>
+<script>
+function runTest() {
+ var r = document.documentElement;
+ var d = window[0].document;
+ var i = d.createElement("iframe");
+ i.src = "data:text/html,PASS";
+ i.onload = function() {
+ r.removeAttribute("class");
+ }
+ d.body.appendChild(i);
+}
+</script>
+<body onload="runTest();">
+<iframe src="bug863728-1.html" width=400 height=200></iframe>
diff --git a/dom/encoding/test/reftest/bug863728-3-ref.html b/dom/encoding/test/reftest/bug863728-3-ref.html
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/dom/encoding/test/reftest/bug863728-3-ref.html
diff --git a/dom/encoding/test/reftest/bug863728-3.html b/dom/encoding/test/reftest/bug863728-3.html
new file mode 100644
index 0000000000..24628b219b
--- /dev/null
+++ b/dom/encoding/test/reftest/bug863728-3.html
@@ -0,0 +1,5 @@
+<link rel=stylesheet href="data:text/css;charset=iso-2022-kr,html { background-color: red }">
+<link rel=stylesheet href="data:text/css,html { background-color: red }" charset="iso-2022-cn-ext">
+<link rel=stylesheet href='data:text/css,@charset "csiso2022kr"; html { background-color: red }'>
+<script src="data:text/javascript;charset=iso-2022-kr,document.write('FAIL');"></script>
+<script src="data:text/javascript,document.write('FAIL');" charset="iso-2022-kr"></script>
diff --git a/dom/encoding/test/reftest/bug945215-1-ref.html b/dom/encoding/test/reftest/bug945215-1-ref.html
new file mode 100644
index 0000000000..5d9606030b
--- /dev/null
+++ b/dom/encoding/test/reftest/bug945215-1-ref.html
@@ -0,0 +1 @@
+<meta charset=utf-8>�
diff --git a/dom/encoding/test/reftest/bug945215-1.html b/dom/encoding/test/reftest/bug945215-1.html
new file mode 100644
index 0000000000..6b5ee58ce8
--- /dev/null
+++ b/dom/encoding/test/reftest/bug945215-1.html
@@ -0,0 +1 @@
+<meta charset=HZ-GB-2312>
diff --git a/dom/encoding/test/reftest/bug945215-2-ref.html b/dom/encoding/test/reftest/bug945215-2-ref.html
new file mode 100644
index 0000000000..0211b54591
--- /dev/null
+++ b/dom/encoding/test/reftest/bug945215-2-ref.html
@@ -0,0 +1,3 @@
+<!DOCTYPE html>
+<meta charset=utf-8>
+<iframe src="data:text/html;charset=utf-8,�<iframe src='data:text/html;charset=utf-8,PASS'></iframe>" width=400 height=200></iframe>
diff --git a/dom/encoding/test/reftest/bug945215-2.html b/dom/encoding/test/reftest/bug945215-2.html
new file mode 100644
index 0000000000..16ddfa1237
--- /dev/null
+++ b/dom/encoding/test/reftest/bug945215-2.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html class=reftest-wait>
+<meta charset=utf-8>
+<script>
+function runTest() {
+ var r = document.documentElement;
+ var d = window[0].document;
+ var i = d.createElement("iframe");
+ i.src = "data:text/html,PASS";
+ i.onload = function() {
+ r.removeAttribute("class");
+ }
+ d.body.appendChild(i);
+}
+</script>
+<body onload="runTest();">
+<iframe src="bug945215-1.html" width=400 height=200></iframe>
diff --git a/dom/encoding/test/reftest/reftest.list b/dom/encoding/test/reftest/reftest.list
new file mode 100644
index 0000000000..7068b48824
--- /dev/null
+++ b/dom/encoding/test/reftest/reftest.list
@@ -0,0 +1,5 @@
+== bug863728-1.html bug863728-1-ref.html
+fuzzy-if(skiaContent,0-1,0-10) == bug863728-2.html bug863728-2-ref.html
+== bug863728-3.html bug863728-3-ref.html
+== bug945215-1.html bug945215-1-ref.html
+fuzzy-if(skiaContent,0-1,0-10) == bug945215-2.html bug945215-2-ref.html