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

Side by Side Diff: LayoutTests/fast/xpath/attr-namespace.html

Issue 48903019: Delete js-test-post.js. (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="../js/resources/js-test-pre.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) {
(...skipping 18 matching lines...) Expand all
29 shouldBe('doc.evaluate("//@ns:xmlns", doc, nsResolver, XPathResult.ORDERED_NODE_ SNAPSHOT_TYPE, null).snapshotLength', '1'); 29 shouldBe('doc.evaluate("//@ns:xmlns", doc, nsResolver, XPathResult.ORDERED_NODE_ SNAPSHOT_TYPE, null).snapshotLength', '1');
30 shouldThrow('doc.evaluate("//@xml:id", doc, null, XPathResult.ORDERED_NODE_SNAPS HOT_TYPE, null).snapshotLength'); 30 shouldThrow('doc.evaluate("//@xml:id", doc, null, XPathResult.ORDERED_NODE_SNAPS HOT_TYPE, null).snapshotLength');
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 <script src="../js/resources/js-test-post.js"></script>
40 </body> 39 </body>
41 </html> 40 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/xpath/ambiguous-operators.html ('k') | LayoutTests/fast/xpath/attribute-node-predicate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698