summaryrefslogtreecommitdiffstats
path: root/dom/encoding/test/reftest
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /dom/encoding/test/reftest
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
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-stylo.list6
-rw-r--r--dom/encoding/test/reftest/reftest.list5
12 files changed, 60 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 000000000..5d9606030
--- /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 000000000..4772d51cf
--- /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 000000000..0211b5459
--- /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 000000000..d07b39bc4
--- /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 000000000..e69de29bb
--- /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 000000000..24628b219
--- /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 000000000..5d9606030
--- /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 000000000..6b5ee58ce
--- /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 000000000..0211b5459
--- /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 000000000..16ddfa123
--- /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-stylo.list b/dom/encoding/test/reftest/reftest-stylo.list
new file mode 100644
index 000000000..819793fc8
--- /dev/null
+++ b/dom/encoding/test/reftest/reftest-stylo.list
@@ -0,0 +1,6 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== bug863728-1.html bug863728-1.html
+skip fuzzy-if(skiaContent,1,10) == bug863728-2.html bug863728-2.html
+== bug863728-3.html bug863728-3.html
+== bug945215-1.html bug945215-1.html
+skip fuzzy-if(skiaContent,1,10) == bug945215-2.html bug945215-2.html
diff --git a/dom/encoding/test/reftest/reftest.list b/dom/encoding/test/reftest/reftest.list
new file mode 100644
index 000000000..ec25c70a5
--- /dev/null
+++ b/dom/encoding/test/reftest/reftest.list
@@ -0,0 +1,5 @@
+== bug863728-1.html bug863728-1-ref.html
+fuzzy-if(skiaContent,1,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,1,10) == bug945215-2.html bug945215-2-ref.html