Split notifying mutation observers code off from `nsNodeUtils`
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: mbrodesser-Igalia, Assigned: mbrodesser-Igalia)
Details
Attachments
(13 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
"Utils" and "Helper" classes are code-smell. They indicate their naming is imprecise.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D51606
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D51607
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D51608
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D51609
Assignee | ||
Comment 6•5 years ago
|
||
Makes nsNodeUtils::CloneAndAdopt
temporarily public. Will be hidden
again in a follow-up commit.
Depends on D51820
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D51821
Assignee | ||
Comment 8•5 years ago
|
||
Depends on D51823
Assignee | ||
Comment 9•5 years ago
|
||
The remaining notification methods are moved in a separate commit. The
files are renamed to MutationObservers.*
in a follow-up commit.
Depends on D51824
Assignee | ||
Comment 10•5 years ago
|
||
Depends on D51825
Assignee | ||
Comment 11•5 years ago
|
||
Depends on D51826
Assignee | ||
Comment 12•5 years ago
|
||
Depends on D51827
Assignee | ||
Comment 13•5 years ago
|
||
Was necessary to get some build working.
Depends on D51828
Comment 14•5 years ago
|
||
Pushed by mbrodesser@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0b7bb78df70 part 1) Move `nsNodeUtils::IsTemplateElement` to `nsINode`. r=smaug https://hg.mozilla.org/integration/autoland/rev/d3fdb4d409ee part 2) Move `nsNodeUtils::GetTargetForAnimation` to `Animation` class. r=smaug https://hg.mozilla.org/integration/autoland/rev/417b8d40a73a part 3) Move `nsNodeUtils::GetFirstChildOfTemplateOrNode` to `nsINode`. r=smaug https://hg.mozilla.org/integration/autoland/rev/6e2acc2b423c part 4) Move `nsNodeUtils::LastRelease` to `nsINode`. r=smaug https://hg.mozilla.org/integration/autoland/rev/4f878983dfdb part 5) Merge `nsNodeUtils::CloneNodeImpl` into its only caller. r=smaug https://hg.mozilla.org/integration/autoland/rev/f6ff7a362957 part 6) Move `nsINodeUtils::Clone` to `nsINode::Clone`. r=smaug https://hg.mozilla.org/integration/autoland/rev/06e69dfdd516 part 7) Move `nsNodeUtils::Adopt` to `nsINode`. r=smaug https://hg.mozilla.org/integration/autoland/rev/a532ea3bcef9 part 8) Move `nsNodeUtils::CloneAndAdopt` to `nsINode`. r=smaug https://hg.mozilla.org/integration/autoland/rev/63b6cf4b0e94 part 9) Move non-animation notification methods from `nsNodeUtils` to `MutationObservers`. r=smaug https://hg.mozilla.org/integration/autoland/rev/99e3838c201b part 10) Move `Animation*` methods to `MutationObservers`. r=smaug https://hg.mozilla.org/integration/autoland/rev/e16e70d278de part 11) Remove superfluous includes in nsNodeUtils.h. r=smaug https://hg.mozilla.org/integration/autoland/rev/a017e363de4f part 12) Rename "nsNodeUtils.*" to "MutationObservers.*". r=smaug https://hg.mozilla.org/integration/autoland/rev/8510e2594e5f part 13) Include "ReferrerInfo.h" in "nsAttrValue.cpp". r=smaug
Comment 15•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d0b7bb78df70
https://hg.mozilla.org/mozilla-central/rev/d3fdb4d409ee
https://hg.mozilla.org/mozilla-central/rev/417b8d40a73a
https://hg.mozilla.org/mozilla-central/rev/6e2acc2b423c
https://hg.mozilla.org/mozilla-central/rev/4f878983dfdb
https://hg.mozilla.org/mozilla-central/rev/f6ff7a362957
https://hg.mozilla.org/mozilla-central/rev/06e69dfdd516
https://hg.mozilla.org/mozilla-central/rev/a532ea3bcef9
https://hg.mozilla.org/mozilla-central/rev/63b6cf4b0e94
https://hg.mozilla.org/mozilla-central/rev/99e3838c201b
https://hg.mozilla.org/mozilla-central/rev/e16e70d278de
https://hg.mozilla.org/mozilla-central/rev/a017e363de4f
https://hg.mozilla.org/mozilla-central/rev/8510e2594e5f
Description
•