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

Side by Side Diff: LayoutTests/fast/xpath/attr-namespace.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 <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 <div id="console"></div> 7 <div id="console"></div>
8 8
9 <script> 9 <script>
10 function nsResolver(prefix) { 10 function nsResolver(prefix) {
11 if (prefix == "ns") 11 if (prefix == "ns")
12 return "foobarns"; 12 return "foobarns";
13 if (prefix == "xml") 13 if (prefix == "xml")
(...skipping 17 matching lines...) Expand all
31 shouldBe('doc.evaluate("//@xml:id", doc, nsResolver, XPathResult.ORDERED_NODE_SN APSHOT_TYPE, null).snapshotLength', '1'); 31 shouldBe('doc.evaluate("//@xml:id", doc, nsResolver, XPathResult.ORDERED_NODE_SN APSHOT_TYPE, null).snapshotLength', '1');
32 shouldBe('doc.evaluate("//@*", doc, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE , null).snapshotLength', '4'); 32 shouldBe('doc.evaluate("//@*", doc, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE , null).snapshotLength', '4');
33 shouldBe('doc.evaluate("//@ns:*", doc, nsResolver, XPathResult.ORDERED_NODE_SNAP SHOT_TYPE, null).snapshotLength', '2'); 33 shouldBe('doc.evaluate("//@ns:*", doc, nsResolver, XPathResult.ORDERED_NODE_SNAP SHOT_TYPE, null).snapshotLength', '2');
34 shouldBe('doc.evaluate("//@xml:*", doc, nsResolver, XPathResult.ORDERED_NODE_SNA PSHOT_TYPE, null).snapshotLength', '1'); 34 shouldBe('doc.evaluate("//@xml:*", doc, nsResolver, XPathResult.ORDERED_NODE_SNA PSHOT_TYPE, null).snapshotLength', '1');
35 shouldBe('doc.evaluate("//@xmlns", doc, nsResolver, XPathResult.ORDERED_NODE_SNA PSHOT_TYPE, null).snapshotLength', '0'); 35 shouldBe('doc.evaluate("//@xmlns", doc, nsResolver, XPathResult.ORDERED_NODE_SNA PSHOT_TYPE, null).snapshotLength', '0');
36 shouldBe('doc.evaluate("//@xmlns:*", doc, nsResolver, XPathResult.ORDERED_NODE_S NAPSHOT_TYPE, null).snapshotLength', '0'); 36 shouldBe('doc.evaluate("//@xmlns:*", doc, nsResolver, XPathResult.ORDERED_NODE_S NAPSHOT_TYPE, null).snapshotLength', '0');
37 37
38 </script> 38 </script>
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698