Index: LayoutTests/fast/dom/DOMParser-marquee-crash.html |
diff --git a/LayoutTests/fast/dom/DOMParser-assign-variable.html b/LayoutTests/fast/dom/DOMParser-marquee-crash.html |
similarity index 54% |
copy from LayoutTests/fast/dom/DOMParser-assign-variable.html |
copy to LayoutTests/fast/dom/DOMParser-marquee-crash.html |
index 3054bc7289135fd2dd999d553832330e46aa2ab3..992515d482cd933dfffbe6d5b2ba89529c071ce2 100644 |
--- a/LayoutTests/fast/dom/DOMParser-assign-variable.html |
+++ b/LayoutTests/fast/dom/DOMParser-marquee-crash.html |
@@ -3,22 +3,17 @@ |
<html> |
<head> |
<script> |
-function debug(str) { |
- var c = document.getElementById('console') |
- c.appendChild(document.createTextNode(str + '\n')); |
-} |
- |
function runTests() { |
if (window.testRunner) testRunner.dumpAsText(); |
- |
+ |
var parser = new DOMParser(); |
- parser.test = "test" |
+ parser.parseFromString("<marquee></marquee>", "text/html"); |
} |
- |
</script> |
</head> |
<body onload="runTests();"> |
-This creates a DOMParser object and tries to assign it to a variable. If the test is successful, it should not crash. |
+This creates a DOMParser object and tries to parse a document containing a marquee element (implemented in Private JS). |
+If the test is successful, it should not crash. |
<pre id="console"> |
</pre> |
</body> |