Commit 3ee48698 authored by tkent's avatar tkent Committed by Commit bot

Move tests for DOMParser and XMLSerializer to dom/domparsing/.

This CL also adds dom/domparsing/README.md.
This CL has no behaivor changes.

fast/dom/DOMParser-marquee-crash.html is removed. It's for Blink-in-JS MARQUEE
implementation, which we removed.

BUG=685886
TBR=kochi@chromium.org

Review-Url: https://codereview.chromium.org/2667303004
Cr-Commit-Position: refs/heads/master@{#447949}
parent e289eb73
...@@ -30,6 +30,7 @@ css3/device-adapt/viewport-insert-rule-before.html ...@@ -30,6 +30,7 @@ css3/device-adapt/viewport-insert-rule-before.html
css3/filters/crash-hw-sw-switch.html css3/filters/crash-hw-sw-switch.html
css3/masking/clip-path-reference-of-fake-clipPath.html css3/masking/clip-path-reference-of-fake-clipPath.html
css3/style-zoomed-image.html css3/style-zoomed-image.html
dom/domparsing/xhtml-serialize.html
editing/caret/caret-color.html editing/caret/caret-color.html
editing/editability/empty-document-justify-right.html editing/editability/empty-document-justify-right.html
editing/input/set-value-on-input-and-type-input.html editing/input/set-value-on-input-and-type-input.html
...@@ -79,7 +80,6 @@ fast/html/imports/import-same-url.html ...@@ -79,7 +80,6 @@ fast/html/imports/import-same-url.html
fast/html/imports/no-browsing-context.html fast/html/imports/no-browsing-context.html
fast/html/process-end-tag-for-inbody-crash.html fast/html/process-end-tag-for-inbody-crash.html
fast/html/tabindex-removal.html fast/html/tabindex-removal.html
fast/html/xhtml-serialize.html
fast/inline-block/anonymous-block-crash.html fast/inline-block/anonymous-block-crash.html
fast/inline-block/inline-block-vertical-align-2.html fast/inline-block/inline-block-vertical-align-2.html
fast/inline-block/overflow-clip.html fast/inline-block/overflow-clip.html
......
Tests for [DOM Parsing and Serialization](https://w3c.github.io/DOM-Parsing/)
Corresponding web-platform-tests: [domparsing](https://github.com/w3c/web-platform-tests/tree/master/domparsing)
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.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script>
function runTests() {
if (window.testRunner) testRunner.dumpAsText();
var parser = new DOMParser();
parser.parseFromString("<marquee></marquee>", "text/html");
}
</script>
</head>
<body onload="runTests();">
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>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment