Peter Van der Beken
9a22a56797
Bug 1697900 - Remove unused nsIClassInfo flags. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D108096
2021-03-12 10:57:15 +00:00
Peter Van der Beken
c1a5f99ad3
Bug 1697900 - Remove unused NS_ERROR_XPC_CANT_GET_JSOBJECT_OF_DOM_OBJECT. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D108095
2021-03-12 10:57:15 +00:00
Steve Fink
6e36aed705
Bug 1692308 - Add an initial delay to IdleTaskRunner r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D107504
2021-03-12 06:55:46 +00:00
Markus Stange
a25fa13fd4
Bug 1697964 - Remove GetQuarantinePropKey(). r=mac-reviewers,tnikkel
...
GetQuarantinePropKey() used to contain a version check for pre-10.10, which
was removed in bug 1673051.
Depends on D108134
Differential Revision: https://phabricator.services.mozilla.com/D108135
2021-03-12 01:46:24 +00:00
Mike Hommey
a17a4d839f
Bug 1693462 - Avoid quarantine attribute being set when using nsILocalFile.copyTo* on macOS. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D107949
2021-03-11 21:42:04 +00:00
Markus Stange
87d7d79487
Bug 1697343 - Remove code that was needed to support building with pre-10.12 SDKs. r=mac-reviewers,bradwerth
...
I skipped anything in third-party libraries. There's also one instance in plugin code but it'll be removed as part of the plugin removal effort.
Differential Revision: https://phabricator.services.mozilla.com/D107760
2021-03-11 02:46:23 +00:00
Anny Gakhokidze
aa3895af8c
Bug 1597427 - Check for recursive subframe loads in the parent process, r=kmag,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D107311
2021-03-11 00:39:37 +00:00
Mike Hommey
9c0fcac97c
Bug 1690167 - Change VsprintfLiteral/SprintfLiteral to rely on PrintfTarget. r=nika,Gankra,firefox-build-system-reviewers,mhentges
...
Instead of snprintf.
Because some standalone code uses those functions directly or indirectly,
and PrintfTarget lives in mozglue, they now need to depend on mozglue
instead of mfbt. Except logalloc/replay, which cherry-picks what it
uses, and the updater, for which we keep using vsnprintf.
Differential Revision: https://phabricator.services.mozilla.com/D103730
2021-03-10 23:52:40 +00:00
Agi Sferro
eac41f1807
Bug 1694481 - Remove unused methods in GeckoAppShell. r=aklotz
...
Differential Revision: https://phabricator.services.mozilla.com/D106183
2021-03-10 22:43:08 +00:00
Emilio Cobos Álvarez
2a1828662f
Bug 1696507
- Remove support for NO_UNLINK version of cycle collector macros. r=smaug
...
And fix existing users of course.
The frame loader one is the only one slightly scary (but if it causes
trouble we could make nsObjectLoadingContent::Unlink a no-op).
Differential Revision: https://phabricator.services.mozilla.com/D107269
2021-03-10 19:50:40 +00:00
nchevobbe
269bba81cd
Bug 1696856 - [devtools] Move isForwardedFromContentProcess to nsConsoleMessage. r=baku.
...
Differential Revision: https://phabricator.services.mozilla.com/D107410
2021-03-10 12:44:22 +00:00
Simon Giesecke
2740499927
Bug 1634281
- Remove nsDataHashtable. r=xpcom-reviewers,nika
...
After the previous patch, nsDataHashtable is now unused, and can be removed in
favor of nsTHashMap.
Differential Revision: https://phabricator.services.mozilla.com/D106120
2021-03-10 10:47:48 +00:00
Simon Giesecke
ad01a10a3b
Bug 1634281
- Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin
...
Note that this patch only transforms the use of the nsDataHashtable type alias
to a directly equivalent use of nsTHashMap. It does not change the specification
of the hash key type to make use of the key class deduction that nsTHashMap
allows for in some cases. That can be done in a separate step, but requires more
attention.
Differential Revision: https://phabricator.services.mozilla.com/D106008
2021-03-10 10:47:47 +00:00
Masayuki Nakano
7af10cee55
Bug 1677566 - part 3: Ignore non-deletable ranges in `HTMLEditor::HandleDeleteSelection()` r=m_kato
...
For making delete handlers simpler, and set better target ranges to the
corresponding `beforeinput` event, we should ignore non-editable ranges
before handling deletion.
This patch makes editor stop handling deleteion when a range crosses editing
host boundaries. In this case, Gecko has done nothing, but fired
`beforeinput` event. Note that Blink deletes editable contents in the range
**until** it meets first non-editable content, but I don't think this is
a good behavior because it makes things complicated. Therefore, I filed
a spec issue: https://github.com/w3c/editing/issues/283
On the other hand, this behavior change causes different behavior in
https://searchfox.org/mozilla-central/source/editor/libeditor/crashtests/1345015.html
It tries to insert paragraph into `<html>` element, but our editor currently
does not support it. Therefore, it hits `MOZ_ASSERT`. Therefore, this patch
added a new check into `HTMLEditor::InsertParagraphSeparatorAsSubAction()`.
Differential Revision: https://phabricator.services.mozilla.com/D107588
2021-03-09 23:57:54 +00:00
David Parks
f302214e11
Bug 1695954: Move Gecko Logging MDN Page In-tree r=nika
...
Moves the contents of https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Gecko_Logging in tree, with minor edits. The only substantive addition is the information in the warning that explains how to get child process logging from sandboxed processes on Windows.
Differential Revision: https://phabricator.services.mozilla.com/D107579
2021-03-09 16:27:29 +00:00
Simon Giesecke
32b1a38aa7
Bug 1634281
- Add nsTHashMap. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D105962
2021-03-09 11:39:35 +00:00
Simon Giesecke
cb6c8aead4
Bug 1695162 - Make nsTHashtable::ConstIter return a real ConstIterator. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D107038
2021-03-09 10:28:16 +00:00
Kris Wright
af0d30739c
Bug 1571186 - Disable ExpirationTracker gtest on all OSX r=xpcom-reviewers,mccr8
...
We already had this disabled on debug but it still produces intermittents with no clear reason on opt. We still test this on other platforms so I want to go ahead and disable this outright until we can fix this properly. Followup filed in bug 1696959.
Differential Revision: https://phabricator.services.mozilla.com/D107500
2021-03-08 21:54:59 +00:00
Steve Fink
de5993049e
Bug 1696456 - Rename budget to minimumUsefulBudget in IdleTaskRunner r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D107239
2021-03-08 16:27:43 +00:00
Jan de Mooij
2acffb58a7
Bug 1689413 part 17 - Remove ObjectGroup. r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D106987
2021-03-06 01:05:26 +00:00
Narcis Beleuzu
c21715e694
Backed out 18 changesets (bug 1689413) for wpt failures on Event-subclasses-constructors.html CLOSED TREE
...
Backed out changeset 2fe249306030 (bug 1689413)
Backed out changeset 4d4d052bf8d3 (bug 1689413)
Backed out changeset a11a96dce11b (bug 1689413)
Backed out changeset d1411da6c254 (bug 1689413)
Backed out changeset 8262ed245e27 (bug 1689413)
Backed out changeset ed3ef7b5c8c8 (bug 1689413)
Backed out changeset 63eb8f93c6d8 (bug 1689413)
Backed out changeset 558e0b0af7b7 (bug 1689413)
Backed out changeset 5595064ffb60 (bug 1689413)
Backed out changeset e15f1a6f5a38 (bug 1689413)
Backed out changeset 95fa0ec36f7a (bug 1689413)
Backed out changeset 80d594d926ad (bug 1689413)
Backed out changeset 22854b710fbf (bug 1689413)
Backed out changeset 4531d5c25694 (bug 1689413)
Backed out changeset f1bb16079c0e (bug 1689413)
Backed out changeset 211c4f80a286 (bug 1689413)
Backed out changeset 6f7514b0a657 (bug 1689413)
Backed out changeset 76db3b04dedd (bug 1689413)
2021-03-06 01:11:29 +02:00
Jan de Mooij
8f52a7a890
Bug 1689413 part 17 - Remove ObjectGroup. r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D106987
2021-03-05 19:10:12 +00:00
Simon Giesecke
7c6ccbe4a8
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-05 15:29:49 +00:00
Florian Quèze
dd2987078f
Bug 1696406 - Nested event loops should be visible in the Firefox Profiler, r=nika.
...
Differential Revision: https://phabricator.services.mozilla.com/D107202
2021-03-04 21:24:10 +00:00
Alexandru Michis
8c28934f09
Backed out changeset c6b72f3c76ba (bug 1676361) for causing bustages in nsSocketTransportService2.cpp
...
CLOSED TREE
2021-03-04 23:26:04 +02:00
Simon Giesecke
502b8a0314
Bug 1695162 - Add weak accessor to nsBaseHashtableET to better support range iteration. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D106640
2021-03-04 18:52:19 +00:00
Simon Giesecke
c57f081813
Bug 1634281
- Merge nsRefPtrHashtable and nsInterfaceHashtable into nsRefCountedHashtable. r=xpcom-reviewers,necko-reviewers,nika
...
The only difference between nsRefPtrHashtable and nsInterfaceHashtable was
that the former enforced explicit refcounting also with InsertOrUpdate.
This enforcement is removed.
Differential Revision: https://phabricator.services.mozilla.com/D106006
2021-03-04 18:52:19 +00:00
Simon Giesecke
3004f1f2f3
Bug 1634281
- Make nsDataHashtable a type alias. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D105961
2021-03-04 18:52:18 +00:00
Simon Giesecke
6da5224516
Bug 1634281
- Add nsHashtablesFwd.h and remove all other forward declarations for hashtables. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D105960
2021-03-04 18:52:17 +00:00
Simon Giesecke
e41d350c04
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 17:30:48 +00:00
Noemi Erli
11891059f7
Backed out changeset 06452c4c828c (bug 1676361) for causing bustages CLOSED TREE
2021-03-04 19:13:56 +02:00
Simon Giesecke
6c371fcc1c
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 16:14:44 +00:00
smolnar
9f8b74a18d
Backed out changeset 9062e17fe15c (bug 1676361) on devs request. CLOSED TREE
2021-03-04 16:51:21 +02:00
Simon Giesecke
e1330cc8f0
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 14:32:15 +00:00
Simon Giesecke
c5bdcb69d1
Bug 1695162 - Make nsBaseHashtable::ConstIter return a real ConstIterator. r=xpcom-reviewers,necko-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D106642
2021-03-03 08:58:53 +00:00
Simon Giesecke
d9f1e7e67d
Bug 1695162 - Delete nsBaseHashtable::Iterator move constructor as it's almost unused. r=xpcom-reviewers,nika
...
The only place using it is HashElemIter, which unnecessarily wraps Iterator in a
Maybe. This wrapping is removed.
Differential Revision: https://phabricator.services.mozilla.com/D106639
2021-03-03 08:58:53 +00:00
Simon Giesecke
b5855b89fc
Bug 1634281
- Remove unused nsDataHashtable.h includes. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D106007
2021-03-03 08:58:52 +00:00
Florian Quèze
b41e171c11
Bug 1694462 - Remove the nsIThreadManager.newThread API (newNamedThread should be used instead), r=bas,KrisWright.
...
Differential Revision: https://phabricator.services.mozilla.com/D106267
2021-03-02 22:34:51 +00:00
Jens Stutte
05581ddca4
Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 22:11:58 +00:00
Cosmin Sabou
b2eb620ed0
Backed out changeset 03cae7800b41 (bug 1678330) for mochitest plain failures on test_window_open_discarded_bc.html. CLOSED TREE
2021-03-02 20:18:21 +02:00
Jens Stutte
a0af9ea0a4
Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 15:15:20 +00:00
Olli Pettay
9a5e1b83eb
Bug 1689601, hide fission.bfcacheInParent pref access behind a function which checks that also SHIP is enabled, r=peterv,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D106562
2021-03-02 12:13:21 +00:00
Mihai Alexandru Michis
87f481bf9a
Backed out 16 changesets (bug 1689601) for causing cpp bustages in nsFrameLoader.
...
CLOSED TREE
Backed out changeset 6e5523a7210d (bug 1689601)
Backed out changeset 745eaa468c74 (bug 1689601)
Backed out changeset a594bd02b8b6 (bug 1689601)
Backed out changeset 0c5fe977ced6 (bug 1689601)
Backed out changeset 2fca23521891 (bug 1689601)
Backed out changeset 334aeb627855 (bug 1689601)
Backed out changeset 2b2081a15d67 (bug 1689601)
Backed out changeset 307bde43cc96 (bug 1689601)
Backed out changeset 04aadec67ce2 (bug 1689601)
Backed out changeset 701eccb34772 (bug 1689601)
Backed out changeset 278db692aa8b (bug 1689601)
Backed out changeset c261c243a64d (bug 1689601)
Backed out changeset 7e8022e5696a (bug 1689601)
Backed out changeset 6138bfc6c08d (bug 1689601)
Backed out changeset 63295b3a62d0 (bug 1689601)
Backed out changeset 6d02e59ddc51 (bug 1689601)
2021-03-02 13:15:10 +02:00
Olli Pettay
f09a7f25d5
Bug 1689601, hide fission.bfcacheInParent pref access behind a function which checks that also SHIP is enabled, r=peterv,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D106562
2021-03-02 09:44:14 +00:00
Simon Giesecke
25331cfdfd
Bug 1634281
- Pull up GetOrInsertNew to nsBaseHashtable and support other smart pointer types. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D106486
2021-03-02 09:02:19 +00:00
Simon Giesecke
f4f7c593e0
Bug 1692835 - Remove nsJSThingHashtable. r=xpcom-reviewers,nika
...
The only use of nsJSThingHashtable is replaced by a direct use of
nsBaseHashtable.
Differential Revision: https://phabricator.services.mozilla.com/D105971
2021-03-02 09:02:19 +00:00
Simon Giesecke
5441c4cbcf
Bug 1693530 - Add nsBaseHashtable::TryLookupOrInsertWith variant that accepts a functor returning a mozilla::Result. r=janv,xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D105634
2021-03-02 09:02:19 +00:00
Simon Giesecke
4c057f184c
Bug 1692123 - Refactor and improve documentation of nsTArray_RelocateUsingMoveConstructor. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D105454
2021-03-02 08:28:25 +00:00
Simon Giesecke
a31d898d28
Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in xpcom. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D106094
2021-03-01 09:59:33 +00:00
Simon Giesecke
41be2e9861
Bug 1691913 - Update documentation of nsBaseHashtable. r=xpcom-reviewers,nika
...
In particular, clarify where UserDataType is used and where not.
Differential Revision: https://phabricator.services.mozilla.com/D105478
2021-03-01 09:59:31 +00:00