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

Side by Side Diff: LayoutTests/fast/dom/implementation-api-args.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="help" href="http://www.w3.org/TR/2012/WD-dom-20121206/#interface-domi mplementation"> 4 <link rel="help" href="http://www.w3.org/TR/2012/WD-dom-20121206/#interface-domi mplementation">
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 description("Checks that the DOMImplementation api arguments are correctly valid ated") 9 description("Checks that the DOMImplementation api arguments are correctly valid ated")
10 10
11 var testDocument, testPrototype, testNamespace, testQualifiedName, testDocType; 11 var testDocument, testPrototype, testNamespace, testQualifiedName, testDocType;
12 function validateDocument(document, prototype, namespace, qualifiedName, docType ) 12 function validateDocument(document, prototype, namespace, qualifiedName, docType )
13 { 13 {
14 testDocument = document; 14 testDocument = document;
15 testPrototype = prototype; 15 testPrototype = prototype;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 validateDocument(doc, 'XMLDocument', "namespace", "qualifiedName", docType); 64 validateDocument(doc, 'XMLDocument', "namespace", "qualifiedName", docType);
65 65
66 debug('\nDocument createHTMLDocument(optional DOMString title);'); 66 debug('\nDocument createHTMLDocument(optional DOMString title);');
67 shouldNotThrow('doc = document.implementation.createHTMLDocument()'); 67 shouldNotThrow('doc = document.implementation.createHTMLDocument()');
68 validateDocument(doc, 'HTMLDocument', "http://www.w3.org/1999/xhtml", "HTML", do c.doctype); 68 validateDocument(doc, 'HTMLDocument', "http://www.w3.org/1999/xhtml", "HTML", do c.doctype);
69 shouldNotThrow('doc = document.implementation.createHTMLDocument("title")'); 69 shouldNotThrow('doc = document.implementation.createHTMLDocument("title")');
70 validateDocument(doc, 'HTMLDocument', "http://www.w3.org/1999/xhtml", "HTML", do c.doctype); 70 validateDocument(doc, 'HTMLDocument', "http://www.w3.org/1999/xhtml", "HTML", do c.doctype);
71 </script> 71 </script>
72 </body> 72 </body>
73 </html> 73 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/icon-url-list-apple-touch.html ('k') | LayoutTests/fast/dom/importNode-confusing-localName.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698