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

Side by Side Diff: LayoutTests/fast/xpath/4XPath/Core/test_location_path.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 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../js/resources/js-test-pre.js"></script> 4 <script src="../../../js/resources/js-test-pre.js"></script>
5 <script src="test.js"></script> 5 <script src="test.js"></script>
6 <script src="../../xpath-test-pre.js"></script> 6 <script src="../../xpath-test-pre.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <div id="console"></div> 9 <div id="console"></div>
10 10
11 <script> 11 <script>
12 result = DOM.evaluate("//*", CHILD2, null, XPathResult.ORDERED_NODE_SNAPSHOT _TYPE, null); 12 result = DOM.evaluate("//*", CHILD2, null, XPathResult.ORDERED_NODE_SNAPSHOT _TYPE, null);
13 checkSnapshot("//*", result, [ROOT, CHILD1].concat(GCHILDREN1, [CHILD2], GCH ILDREN2, [CHILD3, LANG], LCHILDREN)); 13 checkSnapshot("//*", result, [ROOT, CHILD1].concat(GCHILDREN1, [CHILD2], GCH ILDREN2, [CHILD3, LANG], LCHILDREN));
14 14
15 result = DOM.evaluate("*/*", ROOT, null, XPathResult.ORDERED_NODE_SNAPSHOT_T YPE, null); 15 result = DOM.evaluate("*/*", ROOT, null, XPathResult.ORDERED_NODE_SNAPSHOT_T YPE, null);
16 checkSnapshot("*/*", result, GCHILDREN1.concat(GCHILDREN2, LCHILDREN)); 16 checkSnapshot("*/*", result, GCHILDREN1.concat(GCHILDREN2, LCHILDREN));
17 17
18 result = DOM.evaluate("/", CHILD1, null, XPathResult.UNORDERED_NODE_SNAPSHOT _TYPE, null); 18 result = DOM.evaluate("/", CHILD1, null, XPathResult.UNORDERED_NODE_SNAPSHOT _TYPE, null);
19 checkSnapshot("/", result, [DOM]); 19 checkSnapshot("/", result, [DOM]);
20 20
21 result = DOM.evaluate("/child::*", CHILD2, null, XPathResult.UNORDERED_NODE_ SNAPSHOT_TYPE, null); 21 result = DOM.evaluate("/child::*", CHILD2, null, XPathResult.UNORDERED_NODE_ SNAPSHOT_TYPE, null);
22 checkSnapshot("/child::*", result, [ROOT]); 22 checkSnapshot("/child::*", result, [ROOT]);
23 23
24 result = DOM.evaluate("child::*/child::*", ROOT, null, XPathResult.ORDERED_N ODE_SNAPSHOT_TYPE, null); 24 result = DOM.evaluate("child::*/child::*", ROOT, null, XPathResult.ORDERED_N ODE_SNAPSHOT_TYPE, null);
25 checkSnapshot("child::*/child::*", result, GCHILDREN1.concat(GCHILDREN2, LCH ILDREN)); 25 checkSnapshot("child::*/child::*", result, GCHILDREN1.concat(GCHILDREN2, LCH ILDREN));
26 26
27 </script> 27 </script>
28 <script src="../../../js/resources/js-test-post.js"></script>
29 </body> 28 </body>
30 </html> 29 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/xpath/4XPath/Core/test_literal_expr.html ('k') | LayoutTests/fast/xpath/4XPath/Core/test_node_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698