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

Side by Side Diff: LayoutTests/fast/xpath/xpath-namespaces.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 <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 = '<ns:foo xmlns:ns="http://www.example.org" xmlns:foo="urn:fo obar"/>'; 10 var xmlString = '<ns:foo xmlns:ns="http://www.example.org" xmlns:foo="urn:fo obar"/>';
(...skipping 20 matching lines...) Expand all
31 31
32 var expr = doc.createExpression("/xmpl:*", mapResolver); 32 var expr = doc.createExpression("/xmpl:*", mapResolver);
33 var result = expr.evaluate(contextNode, XPathResult.ORDERED_NODE_SNAPSHOT_TY PE, null); 33 var result = expr.evaluate(contextNode, XPathResult.ORDERED_NODE_SNAPSHOT_TY PE, null);
34 checkSnapshot("/xmpl:*", result, [doc.documentElement]); 34 checkSnapshot("/xmpl:*", result, [doc.documentElement]);
35 35
36 var evaluator = new XPathEvaluator(); 36 var evaluator = new XPathEvaluator();
37 var result = evaluator.evaluate("/xmpl:*", doc, mapResolver, XPathResult.ORD ERED_NODE_SNAPSHOT_TYPE, null); 37 var result = evaluator.evaluate("/xmpl:*", doc, mapResolver, XPathResult.ORD ERED_NODE_SNAPSHOT_TYPE, null);
38 checkSnapshot("/xmpl:*", result, [doc.documentElement]); 38 checkSnapshot("/xmpl:*", result, [doc.documentElement]);
39 39
40 </script> 40 </script>
41 <script src="../js/resources/js-test-post.js"></script>
42 </body> 41 </body>
43 </html> 42 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/xpath/xpath-detached-import-assert.html ('k') | LayoutTests/fast/xpath/xpath-template-element.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698