summaryrefslogtreecommitdiffstats
path: root/dom/encoding/test/reftest/bug945215-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/encoding/test/reftest/bug945215-2.html')
-rw-r--r--dom/encoding/test/reftest/bug945215-2.html17
1 files changed, 17 insertions, 0 deletions
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>