mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1271776 - fire text inserted/removed instead of text change events with e10s. r=tbsaunde
MozReview-Commit-ID: hz61vYrmdK
This commit is contained in:
parent
1eaf608a83
commit
414632d8b4
@ -256,7 +256,8 @@ DocAccessibleParent::RecvTextChangeEvent(const uint64_t& aID,
|
||||
|
||||
xpcAccessibleGeneric* xpcAcc = GetXPCAccessible(target);
|
||||
xpcAccessibleDocument* doc = GetAccService()->GetXPCDocument(this);
|
||||
uint32_t type = nsIAccessibleEvent::EVENT_TEXT_CHANGED;
|
||||
uint32_t type = aIsInsert ? nsIAccessibleEvent::EVENT_TEXT_INSERTED :
|
||||
nsIAccessibleEvent::EVENT_TEXT_REMOVED;
|
||||
nsIDOMNode* node = nullptr;
|
||||
RefPtr<xpcAccTextChangeEvent> event =
|
||||
new xpcAccTextChangeEvent(type, xpcAcc, doc, node, aFromUser, aStart, aLen,
|
||||
|
@ -25,7 +25,6 @@ skip-if = e10s
|
||||
skip-if = e10s
|
||||
[browser_events_statechange.js]
|
||||
[browser_events_textchange.js]
|
||||
skip-if = e10s
|
||||
|
||||
# Tree update tests
|
||||
[browser_treeupdate_ariadialog.js]
|
||||
|
Loading…
Reference in New Issue
Block a user