Closed Bug 1536907 Opened 5 years ago Closed 4 years ago

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

Categories

(Core :: DOM: Core & HTML, enhancement, P5)

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(1 obsolete file)

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
Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
See Also: → 1606492

Document::InsertAnonymousContent, Document::RemoveAnonymousContent, and
nsINode::RemoveChild implement webidl methods, so I add separate methods
which have optional aNotify arguments, and use them in AccessibleCaret.

Attachment #9118614 - Attachment is obsolete: true

I use another approach in bug 1607123 so this bug is no longer needed.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
See Also: 1606492
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: