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

Side by Side Diff: LayoutTests/fast/dom/DOMImplementation/missing-arguments.html

Issue 1108293002: Make DOMImplementation.hasFeature() always return true. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: windows compilefix attempt Created 5 years, 7 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
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 [ 8 [
9 "createDocument()", 9 "createDocument()",
10 "createDocument('http://example.com/')", 10 "createDocument('http://example.com/')",
11 "createDocumentType()", 11 "createDocumentType()",
12 "createDocumentType('svg:svg')", 12 "createDocumentType('svg:svg')",
13 "createDocumentType('svg:svg', '-//W3C//DTD SVG 1.1//EN')", 13 "createDocumentType('svg:svg', '-//W3C//DTD SVG 1.1//EN')"
14 "hasFeature()",
15 "hasFeature('')"
16 ].forEach(function(expr) 14 ].forEach(function(expr)
17 { 15 {
18 shouldThrow("document.implementation." + expr); 16 shouldThrow("document.implementation." + expr);
19 }); 17 });
20 </script> 18 </script>
21 </body> 19 </body>
22 </html> 20 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/dom/DOMImplementation/missing-arguments-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698