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

Side by Side Diff: LayoutTests/svg/custom/delete-text-innerText-crash.html

Issue 1167033002: Remove layout tests that run execCommand on non-HTML documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix doctype Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <script>
3 function testCrash() {
4 q = document.getElementById('root');
5 r = document.createRange();
6 r.selectNodeContents( q.getElementById('t') );
7 window.getSelection().addRange(r)
8 document.designMode='on';
9 document.execCommand('delete');
10 document.execCommand('delete');
11
12 if (window.testRunner)
13 testRunner.dumpAsText();
14 }
15 </script>
16 <body onload="testCrash()">
17 This test passes if there is no crash or assert.<br/>
18 <svg id="root" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org /1999/xlink">
19 <g>
20 <rect filter="url(#x)"/>
21 <text>aa</text>
22 <rect id="t"/>
23 <style></style>
24 <text>bb</text>
25 </g>
26 <filter id="x"></filter>
27 </svg>
28 </body>
29 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/delete-text-crash-expected.txt ('k') | LayoutTests/svg/custom/delete-text-innerText-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698