Bug 1744925 - [marionette] Fix extra change event with WebDriver:ElementClear for content editables r=webdriver-reviewers,whimboo

Fixed extra change event being emitted when WebDriver:ElementClear is
called for content editable elements.

Differential Revision: https://phabricator.services.mozilla.com/D170282
This commit is contained in:
CanadaHonk 2023-02-27 08:30:52 +00:00
parent 1bc8211238
commit 62060b7fed
2 changed files with 0 additions and 5 deletions

View file

@ -353,7 +353,6 @@ function clearContentEditableElement(el) {
}
el.focus();
el.innerHTML = "";
lazy.event.change(el);
el.blur();
}

View file

@ -1,8 +1,4 @@
[clear.py]
[test_contenteditable]
bug: 1744925
expected: FAIL
[test_input_file]
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1762066
expected: