RESOLVED FIXED 178504
Consolidate calls to insertedInto and expand the coverage of NoEventDispatchAssertion
https://bugs.webkit.org/show_bug.cgi?id=178504
Summary Consolidate calls to insertedInto and expand the coverage of NoEventDispatchA...
Ryosuke Niwa
Reported 2017-10-18 23:23:20 PDT
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.
Attachments
Cleanup (22.02 KB, patch)
2017-10-18 23:33 PDT, Ryosuke Niwa
no flags
Updated for trunk (22.01 KB, patch)
2017-10-19 00:10 PDT, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2017-10-18 23:33:20 PDT
Build Bot
Comment 2 2017-10-18 23:36:14 PDT
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.
Ryosuke Niwa
Comment 3 2017-10-18 23:37:50 PDT
(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.
Ryosuke Niwa
Comment 4 2017-10-19 00:10:57 PDT
Created attachment 324210 [details] Updated for trunk
Build Bot
Comment 5 2017-10-19 00:13:59 PDT
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.
Antti Koivisto
Comment 6 2017-10-19 02:26:15 PDT
Comment on attachment 324210 [details] Updated for trunk Nice, r=me
Ryosuke Niwa
Comment 7 2017-10-19 03:07:51 PDT
Comment on attachment 324210 [details] Updated for trunk Thanks for the reviews!
WebKit Commit Bot
Comment 8 2017-10-19 03:34:35 PDT
Comment on attachment 324210 [details] Updated for trunk Clearing flags on attachment: 324210 Committed r223687: <https://trac.webkit.org/changeset/223687>
WebKit Commit Bot
Comment 9 2017-10-19 03:34:36 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 10 2017-10-20 14:30:12 PDT
Note You need to log in before you can comment on or make changes to this bug.