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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/inputevents/beforeinput-remove-iframe-crash.html

Issue 2558643003: [InputEvent] Move 'beforeinput' logic into |CompositeEditCommand::willApplyEditing()| (3/3) (Closed)
Patch Set: Retain the order of firing 'beforeinput' before 'compositionupdate' Created 4 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
Index: third_party/WebKit/LayoutTests/fast/events/inputevents/beforeinput-remove-iframe-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/inputevents/beforeinput-remove-iframe-crash.html b/third_party/WebKit/LayoutTests/fast/events/inputevents/beforeinput-remove-iframe-crash.html
index b71223fd0b314861e12f7ecbe9d86c2085c32a6c..dd74dd466f7542307f7bf92735d13ea14a5bbbeb 100644
--- a/third_party/WebKit/LayoutTests/fast/events/inputevents/beforeinput-remove-iframe-crash.html
+++ b/third_party/WebKit/LayoutTests/fast/events/inputevents/beforeinput-remove-iframe-crash.html
@@ -19,7 +19,7 @@ test(function() {
var actualBeforeInputCount = 0;
const editable = childDocument.getElementById('editable');
- editable.addEventListener('beforeinput', event => {
+ childDocument.addEventListener('beforeinput', event => {
actualBeforeInputCount++;
if (actualBeforeInputCount == expectedBeforeInputCount && iframe.parentNode)
iframe.remove();

Powered by Google App Engine
This is Rietveld 408576698