Right now, there is a whole bunch of helper functions to call notifyChildNodeInserted and didFinishInsertingNode. Consolidate these call sites into one with NoEventDispatchAssertion, and make the exact timing at which event dispatch gets allowed clear.
Created attachment 324208 [details] Cleanup
Attachment 324208 [details] did not pass style-queue: ERROR: Source/WebCore/dom/ContainerNode.h:73: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] Total errors found: 1 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
(In reply to Build Bot from comment #2) > Attachment 324208 [details] did not pass style-queue: > > > ERROR: Source/WebCore/dom/ContainerNode.h:73: enum members should use > InterCaps with an initial capital letter or initial 'k' for C-style enums. > [readability/enum_casing] [4] > Total errors found: 1 in 16 files > > > If any of these errors are false positives, please file a bug against > check-webkit-style. This is a false positive in the style checker for ChildChangeSource::API.
Created attachment 324210 [details] Updated for trunk
Attachment 324210 [details] did not pass style-queue: ERROR: Source/WebCore/dom/ContainerNode.h:73: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] Total errors found: 1 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 324210 [details] Updated for trunk Nice, r=me
Comment on attachment 324210 [details] Updated for trunk Thanks for the reviews!
Comment on attachment 324210 [details] Updated for trunk Clearing flags on attachment: 324210 Committed r223687: <https://trac.webkit.org/changeset/223687>
All reviewed patches have been landed. Closing bug.
<rdar://problem/35102384>