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

Side by Side Diff: LayoutTests/fast/xpath/invalid-functions.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 <!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="../../resources/js-test.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 shouldThrow('document.createExpression("foobar()", null)'); 10 shouldThrow('document.createExpression("foobar()", null)');
11 shouldThrow('document.evaluate("foobar()", document, null, XPathResult.ANY_T YPE, null)'); 11 shouldThrow('document.evaluate("foobar()", document, null, XPathResult.ANY_T YPE, null)');
12 12
13 shouldThrow('document.createExpression("position(//div)", null)'); 13 shouldThrow('document.createExpression("position(//div)", null)');
14 shouldThrow('document.evaluate("position(//div)", document, null, XPathResul t.ANY_TYPE, null)'); 14 shouldThrow('document.evaluate("position(//div)", document, null, XPathResul t.ANY_TYPE, null)');
15 15
16 shouldThrow('document.createExpression("ceiling(1,2)", null)'); 16 shouldThrow('document.createExpression("ceiling(1,2)", null)');
17 shouldThrow('document.evaluate("ceiling(1,2)", document, null, XPathResult.A NY_TYPE, null)'); 17 shouldThrow('document.evaluate("ceiling(1,2)", document, null, XPathResult.A NY_TYPE, null)');
18 shouldThrow('document.createExpression("ceiling(1,2)", null).evaluate(docume nt, XPathResult.ANY_TYPE, null)'); 18 shouldThrow('document.createExpression("ceiling(1,2)", null).evaluate(docume nt, XPathResult.ANY_TYPE, null)');
19 19
20 shouldThrow('document.createExpression("boolean()", null)'); 20 shouldThrow('document.createExpression("boolean()", null)');
21 shouldThrow('document.evaluate("boolean()", document, null, XPathResult.ANY_ TYPE, null)'); 21 shouldThrow('document.evaluate("boolean()", document, null, XPathResult.ANY_ TYPE, null)');
22 22
23 </script> 23 </script>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/xpath/document-order.html ('k') | LayoutTests/fast/xpath/null-namespace-in-html.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698