Add support to avoid notify document to Document::InsertAnonymousContent()

NEW
Unassigned

Status

()

enhancement
P5
normal
5 months ago
5 months ago

People

(Reporter: TYLin, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Per Emilio's comment in https://phabricator.services.mozilla.com/D9568#689590,

it could be useful to add a way to Document::InsertAnonymousContent() to not notifying document. Currently, the method calls InsertAnonContentIntoCanvas, which always notifies document at [1].

[1] https://searchfox.org/mozilla-central/rev/7c20ad925005fbad7b8e08813115f1ec7fa1c248/dom/base/Document.cpp#5029

Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.