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

Side by Side Diff: LayoutTests/editing/selection/selection-plugin-clear-crash.html

Issue 8199007: Merge 96868 - Crash in VisiblePosition::canonicalPosition. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 2 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/selection/selection-plugin-clear-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 <script> 3 <script>
4 if (window.layoutTestController) 4 if (window.layoutTestController)
5 layoutTestController.dumpAsText(); 5 layoutTestController.dumpAsText();
6 6
7 function runTest() 7 function runTest()
8 { 8 {
9 var obj = document.getElementById("test"); 9 var obj = document.getElementById("test");
10 var s = window.getSelection(); 10 var s = window.getSelection();
11 s.setPosition(obj, 0); 11 s.setPosition(obj, 0);
12 document.body.innerHTML = "PASS"; 12 document.body.innerHTML = "PASS";
13 } 13 }
14 </script> 14 </script>
15 <body onload="runTest()"> 15 <body onload="runTest()">
16 <div> 16 <div>
17 <object id="test"></object> 17 <object id="test"></object>
18 <embed type="application/x-webkit-test-netscape" cleardocumentduringnew></embed> 18 <embed type="application/x-webkit-test-netscape" cleardocumentduringnew></embed>
19 </div> 19 </div>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/selection/selection-plugin-clear-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698