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

Side by Side Diff: LayoutTests/editing/execCommand/crash-extend-selection-forward.html

Issue 10704255: Merge 122293 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 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/editing/execCommand/crash-extend-selection-forward-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> 3 <body>
4 <script src=../editing.js></script> 4 <script src=../editing.js></script>
5 <script> 5 <script>
6 if (window.testRunner) { 6 if (window.testRunner) {
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 } 9 }
10 10
11 function editingTest() { 11 function editingTest() {
12 var s = window.getSelection(); 12 var s = window.getSelection();
13 d = document.getElementById("test1"); 13 d = document.getElementById("test1");
14 s.setPosition(d, 0); 14 s.setPosition(d, 0);
15 extendSelectionForwardByLineCommand(); 15 extendSelectionForwardByLineCommand();
16 16
17 test1.innerHTML = "PASS. WebKit didn't crash."; 17 test1.innerHTML = "PASS. WebKit didn't crash.";
18 if (window.testRunner) 18 if (window.testRunner)
19 testRunner.notifyDone(); 19 testRunner.notifyDone();
20 } 20 }
21 </script> 21 </script>
22 <pre id="console"></pre> 22 <pre id="console"></pre>
23 <div id=test1>(required to cause a crash)<object style='content: counters(c, "." ) "-"; ' type=text/vbs></object></div> 23 <div id=test1>(required to cause a crash)<object style='content: counters(c, "." ) "-"; ' type=text/vbs></object></div>
24 <script> 24 <script>
25 runEditingTest(); 25 runEditingTest();
26 </script> 26 </script>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/crash-extend-selection-forward-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698