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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html

Issue 1785663002: Make setBaseAndExtent's arguments non-optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use collapse() where possible (one test) Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html b/third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html
index 3cba805269a89cd4d3ebc00d0a24c1617f422277..1f0f5f22ae882946298164bb496ad131405dc49c 100644
--- a/third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html
@@ -25,7 +25,7 @@ test(function() {
input=document.createElement('input');
textPath.parentNode.insertBefore(input, textPath);
- window.getSelection().setBaseAndExtent(input, 4);
+ window.getSelection().setBaseAndExtent(input, 4, null, 0);
document.designMode='on';
document.execCommand('Transpose');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698