Bug 1271776 - fire text inserted/removed instead of text change events with e10s. r=tbsaunde

MozReview-Commit-ID: hz61vYrmdK
This commit is contained in:
Yura Zenevich 2016-05-11 11:23:10 -04:00
parent 1eaf608a83
commit 414632d8b4
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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]