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

Unified Diff: LayoutTests/editing/deleting/delete-uneditable-style.html

Issue 108063005: Make arguments to Range methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/missing-arguments.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/deleting/delete-uneditable-style.html
diff --git a/LayoutTests/editing/deleting/delete-uneditable-style.html b/LayoutTests/editing/deleting/delete-uneditable-style.html
index 29fb4fd5c98082c41187a28f6adafc83b359028e..5d284ae7e3274a47785f856552600db80d26db40 100644
--- a/LayoutTests/editing/deleting/delete-uneditable-style.html
+++ b/LayoutTests/editing/deleting/delete-uneditable-style.html
@@ -14,7 +14,7 @@
Markup.description('Test case for crash bug http://crbug.com/177470');
function $(id) { return document.getElementById(id); }
var range = document.createRange();
-range.setStart($('start'));
+range.setStart($('start'), 0);
range.setEnd($('end'), NaN);
getSelection().addRange(range);
document.execCommand('delete', null, '');
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/missing-arguments.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698