Closed Bug 1501260 Opened 2 years ago Closed 2 years ago
Rules::Document Modified Worker() should create bogus node via editor instance
46 bytes, text/x-phabricator-request
|Details | Review|
Similar to bug 1501180, HTMLEditRules::DocumentModifiedWorker() may be executed asynchronously (with AddScriptRunner). Therefore, it may not be in the stack while editor is handling an edit action. So, it should do something after calling a method of editor instance.
HTMLEditRules::DocumentModifiedWorker() may be called asynchronously via AddScriptRunnder. Therefore, this may not be in the stack while editor handles an edit action. Then, HTMLEditRules cannot access edit action data which will be put on the stack after fixing bug 1465702. So, it should do it after once calling a method of editor instance (and editor instance should call back proper HTMLEditRules method).
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/f01896424c3a Make HTMLEditRules::DocumentModifiedWorker() create bogus node via editor instance r=m_kato
You need to log in before you can comment on or make changes to this bug.