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

Side by Side Diff: LayoutTests/fast/xpath/xpath-empty-string.html

Issue 983123003: Add [TypeChecking=Interface] to XPath interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix CG for any/object argument with default value Created 5 years, 9 months 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function runTests() { 4 function runTests() {
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 7
8 document.evaluate("//a[@id='']",document) 8 document.evaluate("//a[@id='']", document, null, XPathResult.ANY_TYP E, null);
philipj_slow 2015/03/09 08:17:30 This test change shouldn't be needed any longer.
Jens Widell 2015/03/09 11:05:10 True. I've reverted it.
9 } 9 }
10 </script> 10 </script>
11 </head> 11 </head>
12 <body onload="runTests()"> 12 <body onload="runTests()">
13 This tests that parsing an XPath expression that contains an empty string li teral doesn't segfault.<br> 13 This tests that parsing an XPath expression that contains an empty string li teral doesn't segfault.<br>
14 SUCCESS: Didn't crash! 14 SUCCESS: Didn't crash!
15
16 </body> 15 </body>
17 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698