DescriptionDon't mutate the DOM from inside an Element's constructor
We shouldn't call ensureUserAgentShadowRoot() from inside an element's
constructor since not all constructors in the inheritance chain may
have run, and also since it means going into DOM methods that may want
to ref |this| before it's ever been adopted.
This patch fixes this and also fixes the RefPtr protects inside
notifyNodeInserted.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175077
Patch Set 1 #Patch Set 2 : Fix includes #
Messages
Total messages: 13 (0 generated)
|