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

Side by Side Diff: LayoutTests/fast/xpath/evaluate-twice.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 </head> 5 </head>
6 <body> 6 <body>
7 <div id="console"></div> 7 <div id="console"></div>
8 8
9 <script> 9 <script>
10 doc = (new DOMParser).parseFromString("<doc><elem>1</elem><elem>2</elem></do c>", "application/xml"); 10 doc = (new DOMParser).parseFromString("<doc><elem>1</elem><elem>2</elem></do c>", "application/xml");
(...skipping 12 matching lines...) Expand all
23 23
24 shouldBe("expr.evaluate(doc.documentElement.firstChild, XPathResult.STRING_T YPE, null).stringValue", "'1'"); 24 shouldBe("expr.evaluate(doc.documentElement.firstChild, XPathResult.STRING_T YPE, null).stringValue", "'1'");
25 shouldBe("expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathRes ult.STRING_TYPE, null).stringValue", "'2'"); 25 shouldBe("expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathRes ult.STRING_TYPE, null).stringValue", "'2'");
26 26
27 expr = doc.createExpression("1 + .", null); 27 expr = doc.createExpression("1 + .", null);
28 28
29 shouldBe("expr.evaluate(doc.documentElement.firstChild, XPathResult.NUMBER_T YPE, null).numberValue", "2"); 29 shouldBe("expr.evaluate(doc.documentElement.firstChild, XPathResult.NUMBER_T YPE, null).numberValue", "2");
30 shouldBe("expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathRes ult.NUMBER_TYPE, null).numberValue", "3"); 30 shouldBe("expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathRes ult.NUMBER_TYPE, null).numberValue", "3");
31 31
32 </script> 32 </script>
33 <script src="../js/resources/js-test-post.js"></script>
34 </body> 33 </body>
35 </html> 34 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/xpath/document-order.html ('k') | LayoutTests/fast/xpath/invalid-functions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698