Closed Bug 1501260 Opened Last year Closed Last year

HTMLEditRules::DocumentModifiedWorker() should create bogus node via editor instance

Categories

(Core :: Editor, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

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 masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/f01896424c3a
Make HTMLEditRules::DocumentModifiedWorker() create bogus node via editor instance r=m_kato
https://hg.mozilla.org/mozilla-central/rev/f01896424c3a
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.