And remove unused includes of nsGkAtoms.h in the process. The few
dependencies have been moved to ServoStyleConstsInlines.h
The used command to remove the now unused dependency was:
git grep -l nsGkAtoms.h | while read line; do grep -v nsGkAtoms.h $line | grep -q -E '\<nsGkAtoms\>' || sed -i -e '/nsGkAtoms.h/d' $line ; done
Differential Revision: https://phabricator.services.mozilla.com/D292697
And remove unused includes of nsGkAtoms.h in the process. The few
dependencies have been moved to ServoStyleConstsInlines.h
The used command to remove the now unused dependency was:
git grep -l nsGkAtoms.h | while read line; do grep -v nsGkAtoms.h $line | grep -q -E '\<nsGkAtoms\>' || sed -i -e '/nsGkAtoms.h/d' $line ; done
Differential Revision: https://phabricator.services.mozilla.com/D292697
I looked at this because in bug 2014331 I need to mark more pseudos as
element-backed, and it's kinda silly the state our setup is in right
now.
This is all a somewhat historical mess, because in the old style system
pseudo-elements were just atoms, and we had that different types of atom
setup. The source of truth for these right now lives in a header macro
file, which isn't very flexible.
But now we have PseudoStyleType which represents both pseudos and anon
boxes, and is similar to the rust side PseudoElement enum.
Plus, the ::-moz-tree pseudo-elements are defined as anon boxes which
doesn't make any sense, so move them to pseudo-elements while at it.
Unify this in a similar way we treat CSS properties: Source of truth is
in pseudo_elements.toml / anon_boxes.toml, and we generate Rust and C++
as needed. This allows removing the nsStaticAtom subclass thing from
XPCOM, too.
This avoids some nasty duplication around which pseudos are pref-gated
and what not as well.
Differential Revision: https://phabricator.services.mozilla.com/D282076
I looked at this because in bug 2014331 I need to mark more pseudos as
element-backed, and it's kinda silly the state our setup is in right
now.
This is all a somewhat historical mess, because in the old style system
pseudo-elements were just atoms, and we had that different types of atom
setup. The source of truth for these right now lives in a header macro
file, which isn't very flexible.
But now we have PseudoStyleType which represents both pseudos and anon
boxes, and is similar to the rust side PseudoElement enum.
Plus, the ::-moz-tree pseudo-elements are defined as anon boxes which
doesn't make any sense, so move them to pseudo-elements while at it.
Unify this in a similar way we treat CSS properties: Source of truth is
in pseudo_elements.toml / anon_boxes.toml, and we generate Rust and C++
as needed. This allows removing the nsStaticAtom subclass thing from
XPCOM, too.
This avoids some nasty duplication around which pseudos are pref-gated
and what not as well.
Differential Revision: https://phabricator.services.mozilla.com/D282076
The old viaduct implementation in toolkit/components/viaduct/ has been
superseded by the new viaduct-necko implementation in
services/application-services/components/viaduct-necko/.
Differential Revision: https://phabricator.services.mozilla.com/D278860
This patch updates all occurrences of the type `nsTextFragment` into its new name, `mozilla::dom::CharacterDataBuffer`.
It also updates the includes, including sorting.
Differential Revision: https://phabricator.services.mozilla.com/D259867
This reverts commit 40e087de3b.
Revert "Bug 1960300 - Part 11. Update check_spidermonkey_style.py for ICU4X headers. r=anba"
This reverts commit 328b97a537.
Revert "Bug 1960300 - Part 10. Use ICU4X 2.0 calendar FFI for spidermonkey. r=anba"
This reverts commit 1e39a08a52.
Revert "Bug 1960300 - Part 9. Use ICU4X 2.0 segmenter FFI for spidermonkey. r=anba"
This reverts commit 3575a1fb8d.
Revert "Bug 1960300 - Part 8. Use ICU4X 2.0 FFI under intl/components. r=platform-i18n-reviewers,anba,dminor"
This reverts commit 5a03392b6a.
Revert "Bug 1960300 - Part 7. Get a rid of ICU4XGeckoDataProvider. r=platform-i18n-reviewers,dminor"
This reverts commit d0a1242302.
Revert "Bug 1960300 - Part 6. Use ICU4X 2.0 FFI under intl/lwbrk. r=TYLin"
This reverts commit 67893ed091.
Revert "Bug 1960300 - Part 5. Vendor ICU4X 2.0. r=supply-chain-reviewers,platform-i18n-reviewers,webdriver-reviewers,sylvestre,dminor"
This reverts commit 7199906a7a.
Revert "Bug 1960300 - Part 4. Update test results with idna_adapter 1.2.1 and ICU4X 2.0. r=hsivonen,necko-reviewers,valentin"
This reverts commit cff53aac8a.
Revert "Bug 1960300 - Part 3. Use ICU4X 2.0 for unicode-bidi-ffi. r=jfkthame"
This reverts commit 1f763c773f.
Revert "Bug 1960300 - Part 2. Update icu_capi and icu_segmenter_data in tree by running update-icu4x.sh. r=TYLin"
This reverts commit 37f496529a.
Revert "Bug 1960300 - Part 1. Update update-icu4x.sh for ICU4X 2.0. r=TYLin"
This reverts commit f655f453e9.
This allows us to shut down the IAudioSessionManager after Cubeb has stopped,
so there shouldn't be STA apartment deadlock issues with it.
IAudioSessionManager's shutdown always requires the STA. This patch eliminates
MTA threads involvement at shutdown, which was previously needed for thread
safety. We keep other operations on MTA (background) threads, for performance.
This also removes a lot of unused functionality. AudioSession hasn't been
needed outside of the parent process since audio remoting landed.
Differential Revision: https://phabricator.services.mozilla.com/D251773
This allows us to shut down the IAudioSessionManager after Cubeb has stopped,
so there shouldn't be STA apartment deadlock issues with it.
IAudioSessionManager's shutdown always requires the STA. This patch eliminates
MTA threads involvement at shutdown, which was previously needed for thread
safety. We keep other operations on MTA (background) threads, for performance.
This also removes a lot of unused functionality. AudioSession hasn't been
needed outside of the parent process since audio remoting landed.
Differential Revision: https://phabricator.services.mozilla.com/D251773
This does not change user-visible behavior, though the MruCache may perform slightly better
than the previous hashtable implementation. Primarily this is preparation for using the same
cache in conjunction with the new ICU4X-based line segmenter.
Differential Revision: https://phabricator.services.mozilla.com/D225460
This does not change user-visible behavior, though the MruCache may perform slightly better
than the previous hashtable implementation. Primarily this is preparation for using the same
cache in conjunction with the new ICU4X-based line segmenter.
Differential Revision: https://phabricator.services.mozilla.com/D225460
This enables the PRemoteWorkerService to be created by the parent process
instead of by the content process, which is useful as the parent process is the
party initiating remote worker actions.
Differential Revision: https://phabricator.services.mozilla.com/D213333
This enables the PRemoteWorkerService to be created by the parent process
instead of by the content process, which is useful as the parent process is the
party initiating remote worker actions.
Differential Revision: https://phabricator.services.mozilla.com/D213333
This enables the PRemoteWorkerService to be created by the parent process
instead of by the content process, which is useful as the parent process is the
party initiating remote worker actions.
Differential Revision: https://phabricator.services.mozilla.com/D213333
When looking pernos debug session, since `nsLayoutStatics` isn't destroyed,
`nsLanguageAtomService` isn't destroyed. It seems to be some objects are
leaked according to stdout and stderr on debug build.
So we should destroy this service to avoid other debug assertion even if
`nsLayoutStatics` isn't destroyed.
Differential Revision: https://phabricator.services.mozilla.com/D192607
This patch removes the old docshell timeline and timeline markers codebase and replaces them with equivalent Gecko profiler marker. This patch also fixes Bug 1834143, which is a subset of 1421651.
Differential Revision: https://phabricator.services.mozilla.com/D184217
This patch removes the old docshell timeline and timeline markers codebase and replaces them with equivalent Gecko profiler marker. This patch also fixes Bug 1834143, which is a subset of 1421651.
Differential Revision: https://phabricator.services.mozilla.com/D184217