Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt

Issue 23903014: DOMParser.parseFromString() should support creating HTML Document with mimetype text/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing! Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 This tests DOMParser supports creating Document for HTML content with mime-type "text/html".
2
3 1. Should support mime-type = "text/html"
4 HTML content:
5 Scripts must be disabled for the document created using DOMParser.parseFromStrin g()
6 Sample text content
7 PASS
8
9 2. Should support mime-type = "text/xml"
10 Root element: root
11 PASS
12
13 3. Should support mime-type = "application/xml"
14 Root element: root
15 PASS
16
17 4. Should support mime-type = "application/xhtml+xml"
18 Root element: html
19 PASS
20
21 5. Should support mime-type = "image/svg+xml"
22 Root element: svg
23 PASS
24
25 6. Should NOT support mime-type = "text/xsl"
26 FAIL
27
28
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support.html ('k') | Source/core/xml/DOMParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698