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

Side by Side Diff: LayoutTests/fast/dom/Range/surround-contents-font-face-crash.svg

Issue 9568019: Merge 107749 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/surround-contents-font-face-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 <svg xmlns="http://www.w3.org/2000/svg"> 1 <svg xmlns="http://www.w3.org/2000/svg">
2 <font> 2 <font>
3 <font-face id="f" font-family="SVGArial"/> 3 <font-face id="f" font-family="SVGArial"/>
4 <stop id="s"/> 4 <stop id="s"/>
5 <script> 5 <script>
6 6
7 if (!window.layoutTestController) 7 if (!window.layoutTestController)
8 alert("This test requires GCController") 8 alert("This test requires GCController")
9 else { 9 else {
10 var range = document.createRange(); 10 var range = document.createRange();
11 range.selectNodeContents( document.getElementById('s') ); 11 range.selectNodeContents( document.getElementById('s') );
12 GCController.collect(); 12 GCController.collect();
13 range.surroundContents( document.getElementById('f') ); 13 range.surroundContents( document.getElementById('f') );
14 GCController.collect(); 14 GCController.collect();
15 15
16 layoutTestController.dumpAsText(); 16 layoutTestController.dumpAsText();
17 alert("PASS. WebKit didn't crash."); 17 alert("PASS. WebKit didn't crash.");
18 } 18 }
19 19
20 </script> 20 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/surround-contents-font-face-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698