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

Side by Side Diff: LayoutTests/fast/xpath/null-namespace-in-html.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
« no previous file with comments | « LayoutTests/fast/xpath/invalid-functions.html ('k') | LayoutTests/fast/xpath/position.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script src="xpath-test-pre.js"></script> 4 <script src="xpath-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p>This tests that XPath expressions with prefixes work correctly.</p> 7 <p>This tests that XPath expressions with prefixes work correctly.</p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 var xmlString = '<div/>'; 10 var xmlString = '<div/>';
11 var doc = (new DOMParser()).parseFromString(xmlString, "text/xml"); 11 var doc = (new DOMParser()).parseFromString(xmlString, "text/xml");
12 document.body.insertBefore(document.importNode(doc.documentElement, null), d ocument.body.firstChild); 12 document.body.insertBefore(document.importNode(doc.documentElement, null), d ocument.body.firstChild);
13 13
14 var expr = document.createExpression("//div", null); 14 var expr = document.createExpression("//div", null);
15 var result = expr.evaluate(document.documentElement, XPathResult.ORDERED_NOD E_SNAPSHOT_TYPE, null); 15 var result = expr.evaluate(document.documentElement, XPathResult.ORDERED_NOD E_SNAPSHOT_TYPE, null);
16 checkSnapshot("//div", result, [document.getElementById("console")]); 16 checkSnapshot("//div", result, [document.getElementById("console")]);
17 17
18 </script> 18 </script>
19 </body> 19 </body>
20 </html> 20 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/xpath/invalid-functions.html ('k') | LayoutTests/fast/xpath/position.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698