Граф коммитов

63360 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 7b964c86a2 Bug 1645862: Part 2 - Get rid of ContentProcessSingleton. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D79871
2020-06-24 03:09:25 +00:00
Kris Maglione 3ea9f8b628 Bug 1645862: Part 1 - Split TelemetryController into parent and content modules. r=chutten
Most of TelemetryController is only used in the parent process, but is
currently loaded in all processes, where it needlessly consumes tens of KB of
memory. This patch splits the parent- and content-specific parts, and only
loads each in the processes where they're needed.

Differential Revision: https://phabricator.services.mozilla.com/D79870
2020-06-24 03:09:23 +00:00
Dorel Luca f618398690 Backed out 2 changesets (bug 1626507) on dev's request
Backed out changeset 92117ff66bda (bug 1626507)
Backed out changeset d2e886102c03 (bug 1626507)
2020-06-24 05:04:41 +03:00
Paul Bone d2a322df9a Bug 1626507 - Update comment since code has moved r=mattwoodrow
Depends on D80339

Differential Revision: https://phabricator.services.mozilla.com/D80594
2020-06-23 09:01:03 +00:00
Paul Bone 8749f45b54 Bug 1626507 - Remove documentchannel exceptions r=mattwoodrow
This patch removes the excemptions for about:newtab, about:home and
about:blank.

When we switch processes using session restore we sometimes focus the
content area. We mustn't do this if the uri is undefined, this can happen
for some of these pages and we expect the address bar to be focused instead.

Differential Revision: https://phabricator.services.mozilla.com/D80339
2020-06-23 06:25:33 +00:00
Mike Hommey 4c91a1c991 Bug 1645986 - Use the basename of the output file for const name in gen_cert_header.py. r=firefox-build-system-reviewers,rstewart
While currently the path given to the script is relative and doesn't
contain a directory, but will soon, and in that case, we don't want
the directory to be part of the const name (that wouldn't even be a
valid identifier).

Differential Revision: https://phabricator.services.mozilla.com/D80607
2020-06-24 00:45:27 +00:00
Dorel Luca b159956383 Backed out 4 changesets (bug 1645986) for Build bustage
Backed out changeset ac871b2f34dc (bug 1645986)
Backed out changeset 07b14b6a0b91 (bug 1645986)
Backed out changeset fdd319bdbfa7 (bug 1645986)
Backed out changeset ce213e6bbc1f (bug 1645986)
2020-06-24 03:42:47 +03:00
Mike Hommey 9aca1759bc Bug 1645986 - Use the basename of the output file for const name in gen_cert_header.py. r=firefox-build-system-reviewers,rstewart
While currently the path given to the script is relative and doesn't
contain a directory, but will soon, and in that case, we don't want
the directory to be part of the const name (that wouldn't even be a
valid identifier).

Differential Revision: https://phabricator.services.mozilla.com/D80607
2020-06-23 16:09:10 +00:00
Geoff Lankow d901d89c84 Bug 1647580 - Override pref to prevent WebExtensions download tests failing in Thunderbird. r=robwu
Thunderbird has browser.download.useDownloadDir set to false, which causes this test to time-out waiting for a file picker.

Differential Revision: https://phabricator.services.mozilla.com/D80591
2020-06-23 23:29:02 +00:00
Dorel Luca 30e138debd Backed out 2 changesets (bug 1645862) for XPCShell on telemetry/tests/unit/test_TelemetrySend.js
Backed out changeset 015c7a1af896 (bug 1645862)
Backed out changeset 12e1039aba47 (bug 1645862)
2020-06-24 02:12:27 +03:00
Kris Maglione 05d86a0d66 Bug 1645862: Part 2 - Get rid of ContentProcessSingleton. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D79871
2020-06-23 22:25:35 +00:00
Kris Maglione a0b7d1f89b Bug 1645862: Part 1 - Split TelemetryController into parent and content modules. r=chutten
Most of TelemetryController is only used in the parent process, but is
currently loaded in all processes, where it needlessly consumes tens of KB of
memory. This patch splits the parent- and content-specific parts, and only
loads each in the processes where they're needed.

Differential Revision: https://phabricator.services.mozilla.com/D79870
2020-06-23 22:26:10 +00:00
Alexander J. Vincent 16384d5b0b Bug 1646119, UpdateManager: rename _updates getter to _getUpdates(). r=bytesized,preferences-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D80143
2020-06-23 20:43:24 +00:00
Florian Quèze a743da762f Bug 1646803 - name the parent process main thread, r=froydnj.
Differential Revision: https://phabricator.services.mozilla.com/D80663
2020-06-23 17:39:21 +00:00
Shane Caraveo b7b985ec4f Bug 1629299 fix checking disconnected state on io thread in StreamFilter r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D70615
2020-06-23 16:33:12 +00:00
Cosmin Sabou de4bc9e6bd Backed out 3 changesets (bug 1642676) fro sharedworker related failures. CLOSED TREE
Backed out changeset 166624b9d855 (bug 1642676)
Backed out changeset 110cd0433bbe (bug 1642676)
Backed out changeset ca0591418c37 (bug 1642676)
2020-06-23 20:47:29 +03:00
Junior Hsu 4c4ce8519a Bug 1645941 - Use Release-Acquire ordering to ensure the OMT ODA is handled correctly, r=mixedpuppy
Setting mState in OnStartRequest has no impact on the decision of OnDataAvailable.
And we don't race mState between OnStartRequest and DoSendData given the order is guaranteed and they are on the same thread.

Differential Revision: https://phabricator.services.mozilla.com/D79772
2020-06-23 17:02:54 +00:00
Luca Greco 998328ce24 Bug 1642676 - Move test case for SharedWorker disallowed on in-process-webextensions mode into a separate test-file. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D80517
2020-06-23 15:44:43 +00:00
Luca Greco 6f7f31bf62 Bug 1642676 - Ensure remote workers are launched in a child process based on the expected remoteType. r=asuth,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D61708
2020-06-23 16:00:07 +00:00
Francesco Lodolo (:flod) fe46eb1010 Bug 1647586 - Update comments and strings in FeatureGates Fluent file, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D80592
2020-06-23 14:46:44 +00:00
Gijs Kruitbosch fca766666b Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-23 14:04:49 +00:00
Kartikaya Gupta d61fdfeed8 Bug 1647225 - Change some failure IDs and strings. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80450
2020-06-23 15:23:11 +00:00
Kartikaya Gupta f3ff31626e Bug 1647225 - Fix some comments. r=jrmuizel,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D80449
2020-06-23 15:21:36 +00:00
Kartikaya Gupta 11ab3b57b8 Bug 1647225 - Rename some local functions and variables. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80448
2020-06-23 15:20:33 +00:00
Mike Conley b332c5e31f Bug 1634219 - Extend some Picture-in-Picture event probes to version 86. r=mstriemer,data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D80283
2020-06-22 14:15:27 +00:00
Andrea Marchesini 7aebde2331 Bug 1641905 - ThirdPartyUtil::IsThirdPartyWindow for fission - webExtension, r=robwu,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D80035
2020-06-23 11:52:57 +00:00
Andrei Oprea 3d6d9cdeac Bug 1645078 - Update telemetry data collection for BROWSER_ATTRIBUTION_ERRORS r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D79974
2020-06-23 08:09:19 +00:00
Taegeon Lee f1db38394e Bug 1647254 Change 'MAX_LENGTH_COUNT' to 'MAX_KEY_LENGTH' r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D80611
2020-06-23 09:29:17 +00:00
Jean-Yves Avenard 87438519f0 Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj
Before P1, GetCurrentThreadSerialEventTarget would have always returned the same data as NS_GetCurrentThread, making the comment incorrect Now it will properly return the running TaskQueue if any.

This change of name more clearly exposes what they are doing, as we aren't always dealing with threads directly; but a nsISerialEventTarget

Differential Revision: https://phabricator.services.mozilla.com/D80354
2020-06-23 05:05:36 +00:00
Jean-Yves Avenard f89a18bd12 Bug 1647133 - P2. Make nsIURIClassifier take a nsISerialEventTarget. r=gcp
The argument aEventTarget is actually never used by any caller; nullptr is always passed for it.

But the code is there in case it isn't null which would call into IProtocol::SetEventTargetFor

Depends on D80419

Differential Revision: https://phabricator.services.mozilla.com/D80421
2020-06-22 14:46:01 +00:00
Narcis Beleuzu b894acb874 Backed out 4 changesets (bug 1646582) for mochitest failures on test_ext_tabs_create.html . CLOSED TREE
Backed out changeset ce5cdfc5d7cf (bug 1646582)
Backed out changeset 2ac69a2b6708 (bug 1646582)
Backed out changeset 74d89cb24414 (bug 1646582)
Backed out changeset 7de0ff1af560 (bug 1646582)
2020-06-23 06:30:03 +03:00
Narcis Beleuzu 78a75b45dc Backed out changeset 06349f0f6d61 (bug 1642559) for xpcshell failures on test_ext_privacy.js . CLOSED TREE 2020-06-23 05:26:39 +03:00
Matt Woodrow 2ee0adfb0e Bug 1646582 - Pull the inner window id from the WindowGlobalParent, rather than passing it across PBrowser for updateForLocationChange. r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80131
2020-06-23 01:24:17 +00:00
Matt Woodrow f851c6be5b Bug 1646582 - Remove RemoteWebProgressManager. r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80129
2020-06-23 01:23:59 +00:00
Matt Woodrow 79562a2ca1 Bug 1646582 - Remove DOM(Inner)WindowID from nsIWebProgress. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D80128
2020-06-23 01:23:57 +00:00
Agi Sferro 7fb8c3b457 Bug 1647065 - Force non-legacy ExtensionPermissions tests to use rkv. r=robwu
If the json bakend is enabled (e.g. in beta as of the time of writing)
we need to force the tests that use ExtensionPermission to run in rkv mode. The
non-rkv mode code path will be tested in xpcshell-legacy-ep.ini.

Differential Revision: https://phabricator.services.mozilla.com/D80378
2020-06-22 22:26:12 +00:00
Kartikaya Gupta afa4df0980 Bug 1622144 - Wait for a paint before checking the menu items. r=nika
The menu items enabled-ness depends on the EnableDisableCommands message that
gets sent from the content process to the parent, and that happens after the
focus update. So it's possible for the test to check the menu items before
they are properly updated. This patch makes the test wait for a paint as well,
which should ensure the menu items state is properly updated by the time they
are checked.

Differential Revision: https://phabricator.services.mozilla.com/D80551
2020-06-22 21:07:08 +00:00
Narcis Beleuzu 46e3b1ce2c Backed out 5 changesets (bug 1599579) for twinopen failures. CLOSED TREE
Backed out changeset 053229a30ef1 (bug 1599579)
Backed out changeset c2828aec4caf (bug 1599579)
Backed out changeset 085558fe56dc (bug 1599579)
Backed out changeset a4e7334f8ce6 (bug 1599579)
Backed out changeset 9ebd2eb155da (bug 1599579)
2020-06-23 02:23:48 +03:00
Jared Wein e4a22684f4 Bug 1644542 - Include experimental features in about:support. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79250
2020-06-22 20:54:01 +00:00
Jared Wein b3cffe1142 Bug 1644534 - Add localization capabilities to FeatureGates. r=mstriemer,fluent-reviewers
Title and Description fields in Features.toml now specify the Fluent string ID that is defined in features.ftl

Differential Revision: https://phabricator.services.mozilla.com/D79027
2020-06-22 20:53:56 +00:00
Mark Smith a7683d117e Bug 1642404 - add an option to show that an update is being downloaded r=bytesized,fluent-reviewers,flod
Add support for a hidden preference named app.update.notifyDuringDownload
that, when set to true, causes a "Downloading update" message to appear
in the app menu during a MAR download. Clicking the message opens the
about box so the user can see detailed progress information.

Differential Revision: https://phabricator.services.mozilla.com/D77688
2020-06-22 20:24:46 +00:00
Nika Layzell 3c2375d8df Bug 1599579 - Part 3: Load toplevel extension frames into a per-extension BrowsingContextGroup, r=kmag
This is done by tracking a specific BrowsingContextGroup ID on the
WebExtensionPolicy in the parent process. Whenever a load is done with that
policy, the browsing context is replaced to ensure it is loaded in the correct
BrowsingContextGroup.

This patch also ensures that extension iframes are always loaded in the same
process as their embedder document, even if the frame was previously remote.

Differential Revision: https://phabricator.services.mozilla.com/D80256
2020-06-22 20:43:19 +00:00
Mark Banner 94a495406c Bug 1647400 - Fix Search Service test failures on ESR 78. r=mkaply.
'test_json_cache.js' needs to properly take account of legacy vs modern.
'list.json' should be specifying google-b-d rather than just google.

Differential Revision: https://phabricator.services.mozilla.com/D80542
2020-06-22 20:24:00 +00:00
Dragana Damjanovic 2d6068a60f Bug 1642559 - Initiate a variable to fix SPDY_REQUEST_PER_CONN_2 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D80413
2020-06-22 18:06:16 +00:00
tkhan 6ccabd4784 Bug 1602668 - M(1) manifest and test changes. r=kmag,karlt,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D70362
2020-06-22 19:09:49 +00:00
Andrei Oprea f58c7a2553 Bug 1643651 - Add actions to support DOH CFR r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D78491
2020-06-22 17:55:45 +00:00
Zibi Braniecki dabd409d5f Bug 1647043 - Add support for IIN detection based on Credit Card Number. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D80370
2020-06-22 16:06:14 +00:00
Emma Malysz 83e824f0c1 Bug 1640087: Part 2: tuck optimized prefetches behind a preference. r=dthayer,aklotz
PrefetchRegistryInfo is intended to be a temporary file in order to conduct
this experiment on startup times vs. retention.
Most of the implementation is similar to LauncherRegistryInfo.
If we startup and the registry is different than the preference,
we will want to use the preference for the purpose of this experiment.

Differential Revision: https://phabricator.services.mozilla.com/D76993
2020-06-22 16:38:15 +00:00
Emilio Cobos Álvarez 0bcd6b03ea Bug 1637475 - Flush layout when creating background pages so the browser element gets its frames created. r=mixedpuppy
Before bug 1584935, the frame for the browser element was created
directly after the .appendChild call, but after that we need to wait
for layout to happen in order to guarantee it.

The code was duplicated in ExtensionXPCShellUtils.jsm so I also put the
wait there.

Differential Revision: https://phabricator.services.mozilla.com/D76601
2020-06-22 17:05:07 +00:00
Nihanth Subramanya cd200c3951 Bug 1643429 - Update expiry of DoH TRR performance telemetry probes to never. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D79630
2020-06-19 09:35:23 +00:00