WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
178568
Unify the node removal code in ContainerNode and expand the coverage of NoEventDispatchAssertion
https://bugs.webkit.org/show_bug.cgi?id=178568
Summary
Unify the node removal code in ContainerNode and expand the coverage of NoEve...
Ryosuke Niwa
Reported
2017-10-19 22:52:49 PDT
Right, there are multiple functions that call removeBetween and other core node manipulation functions. Unify them all to share code & expand the coverage of NoEventDispatchAssertion.
Attachments
Cleanup
(21.64 KB, patch)
2017-10-19 23:35 PDT
,
Ryosuke Niwa
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews102 for mac-elcapitan
(1007.37 KB, application/zip)
2017-10-20 00:51 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews122 for ios-simulator-wk2
(976.69 KB, application/zip)
2017-10-20 01:19 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews115 for mac-elcapitan
(2.01 MB, application/zip)
2017-10-20 01:26 PDT
,
Build Bot
no flags
Details
Fixed tests
(22.52 KB, patch)
2017-10-20 01:52 PDT
,
Ryosuke Niwa
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2017-10-19 23:35:52 PDT
Created
attachment 324362
[details]
Cleanup
Build Bot
Comment 2
2017-10-19 23:38:10 PDT
Attachment 324362
[details]
did not pass style-queue: ERROR: Source/WebCore/dom/ContainerNode.cpp:121: Please replace ASSERT_WITH_SECURITY_IMPLICATION() with RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(). [security/assertion] [5] ERROR: Source/WebCore/dom/ContainerNode.cpp:127: Please replace ASSERT_WITH_SECURITY_IMPLICATION() with RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(). [security/assertion] [5] ERROR: Source/WebCore/dom/ContainerNode.cpp:146: Please replace ASSERT_WITH_SECURITY_IMPLICATION() with RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(). [security/assertion] [5] Total errors found: 3 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Antti Koivisto
Comment 3
2017-10-20 00:31:50 PDT
Comment on
attachment 324362
[details]
Cleanup View in context:
https://bugs.webkit.org/attachment.cgi?id=324362&action=review
> Source/WebCore/dom/ContainerNode.cpp:103 > + NoEventDispatchAssertion assertNoEventDispatch;
Wish NoEventDispatchAssertion was a release assert
> Source/WebCore/dom/ContainerNode.cpp:784 > + // FIXME: Nodes inside a shadow tree should also retain its wrappers. > + willCreatePossiblyOrphanedTreeByRemoval(child.ptr());
This call should also be somewhere else than dispatchChildRemovalEvents.
Build Bot
Comment 4
2017-10-20 00:51:16 PDT
Comment on
attachment 324362
[details]
Cleanup
Attachment 324362
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/4929611
New failing tests: fast/parser/adoption-agency-unload-iframe-3.html
Build Bot
Comment 5
2017-10-20 00:51:17 PDT
Created
attachment 324368
[details]
Archive of layout-test-results from ews102 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 6
2017-10-20 01:19:05 PDT
Comment on
attachment 324362
[details]
Cleanup
Attachment 324362
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/4929688
New failing tests: fast/parser/adoption-agency-unload-iframe-3.html
Build Bot
Comment 7
2017-10-20 01:19:07 PDT
Created
attachment 324371
[details]
Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
Build Bot
Comment 8
2017-10-20 01:26:23 PDT
Comment on
attachment 324362
[details]
Cleanup
Attachment 324362
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/4929678
New failing tests: media/track/track-automatic-subtitles.html media/track/track-language-preference.html media/track/track-cue-rendering-tree-is-removed-properly.html fast/parser/adoption-agency-unload-iframe-3.html
Build Bot
Comment 9
2017-10-20 01:26:24 PDT
Created
attachment 324373
[details]
Archive of layout-test-results from ews115 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Ryosuke Niwa
Comment 10
2017-10-20 01:52:01 PDT
Created
attachment 324375
[details]
Fixed tests
Build Bot
Comment 11
2017-10-20 01:53:16 PDT
Attachment 324375
[details]
did not pass style-queue: ERROR: Source/WebCore/dom/ContainerNode.cpp:121: Please replace ASSERT_WITH_SECURITY_IMPLICATION() with RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(). [security/assertion] [5] ERROR: Source/WebCore/dom/ContainerNode.cpp:127: Please replace ASSERT_WITH_SECURITY_IMPLICATION() with RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(). [security/assertion] [5] ERROR: Source/WebCore/dom/ContainerNode.cpp:151: Please replace ASSERT_WITH_SECURITY_IMPLICATION() with RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(). [security/assertion] [5] Total errors found: 3 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 12
2017-10-20 13:20:52 PDT
Comment on
attachment 324375
[details]
Fixed tests Clearing flags on attachment: 324375 Committed
r223788
: <
https://trac.webkit.org/changeset/223788
>
WebKit Commit Bot
Comment 13
2017-10-20 13:20:54 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 14
2017-10-20 14:26:53 PDT
<
rdar://problem/35102310
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug