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

Side by Side Diff: LayoutTests/svg/custom/tref-stale-listener-crash.html

Issue 10868094: Merge 126205 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/svg/custom/tref-stale-listener-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body onload="crash()"> 3 <body onload="crash()">
4 <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=94487 --> 4 <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=94487 -->
5 <input/> 5 <input/>
6 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xl ink"> 6 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xl ink">
7 <g> 7 <g>
8 <tref xlink:href="#target"/> 8 <tref xlink:href="#target"/>
9 <g id="target"></g> 9 <g id="target"></g>
10 </g> 10 </g>
11 </svg> 11 </svg>
12 <input/> 12 <input/>
13 <div>PASS: did not crash.</div> 13 <div>PASS: did not crash.</div>
14 14
15 <script> 15 <script>
16 if (window.testRunner) 16 if (window.testRunner)
17 testRunner.dumpAsText(); 17 testRunner.dumpAsText();
18 18
19 function crash() { 19 function crash() {
20 document.designMode='on'; 20 document.designMode='on';
21 document.execCommand('selectall'); 21 document.execCommand('selectall');
22 document.execCommand('FormatBlock', false, '<'+'pre>'); 22 document.execCommand('FormatBlock', false, '<'+'pre>');
23 } 23 }
24 </script> 24 </script>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/custom/tref-stale-listener-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698