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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/supported-xml-content-types-invalid-1.html

Issue 198893002: Make supported-xml-content-types.html tests faster. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More splitting Created 6 years, 9 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 <!DOCTYPE HTML>
2 <script src="/js-test-resources/js-test.js"></script>
3 <script src="resources/supported-xml-content-types.js"></script>
4 <script>
5 description("Test identification of XML content type in XHR responses.");
6 window.jsTestIsAsync = true;
7 if (window.testRunner)
8 testRunner.dumpAsText();
9
10 // FIXME: our code intentionally skips spaces, that seems wrong to me.
11 // https://bugs.webkit.org/show_bug.cgi?id=8644
12 testXMLType("foo bar/baz+xml", false);
13
14 testXMLType("foo[bar/baz+xml", false);
15 testXMLType("foo]bar/baz+xml", false);
16 testXMLType("foo(bar/baz+xml", false);
17 testXMLType("foo)bar/baz+xml", false);
18 testXMLType("foo<bar/baz+xml", false);
19 testXMLType("foo>bar/baz+xml", false);
20 testXMLType("foo@bar/baz+xml", false);
21
22 runNextTest();
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698