Commit graph

181 commits

Author SHA1 Message Date
Kris Maglione
834e8c64b8 Bug 1777886 - Check that denylist/intermittent files actually exist in startup perf tests. r=florian
This will require that entries for renamed files be updated so that they don't
accidentally start being loaded under the new name later. It also prevents
dead code entries from sticking around after their targets are removed.

Using `throttledMapPromises` is probably not strictly necessary given the
small number of entries in most lists, but since it already exists, we may as
well use it here.

Differential Revision: https://phabricator.services.mozilla.com/D150921
2022-07-07 22:31:29 +00:00
Kris Maglione
32e408d70f Bug 1776207: Part 2 - Don't load StartupRecorder in content processes. r=florian
It isn't actually used in content processes, and causes failures in
non-Nightly/debug builds, where it isn't loaded.

Differential Revision: https://phabricator.services.mozilla.com/D150192
2022-06-27 21:19:51 +00:00
Kris Maglione
2b9e8682a2 Bug 1770237: Part 16 - Remove component loading logic from mozJSComponentLoader. r=mccr8,florian
Differential Revision: https://phabricator.services.mozilla.com/D148196
2022-06-22 20:31:37 +00:00
Kris Maglione
c4e585b525 Bug 1770237: Part 3 - Migrate StartupRecorder to static component registration. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D148183
2022-06-22 20:31:32 +00:00
Gabriel Luong
ad4f94160c Bug 1738012 - Fetch content meta data only after the page is loaded. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D129733
2022-05-30 17:46:02 +00:00
Tim Huang
26082850f4 Bug 1743418 - Part 2: Remove URLQueryStrippingListProcessScript.js and URLQueryStrippingListService.jsm from the known list in browser startup tests. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D132991
2021-12-10 09:15:21 +00:00
Tim Huang
64f488c478 Bug 1742582 - Add 'URLQueryStrippingListService.jsm' into browser_startup_content.js and browser_startup_content_subframe.js. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D132227
2021-11-29 22:26:01 +00:00
Alexandru Michis
31355ace24 Backed out 3 changesets (bug 1742582) for causing bc failures in browser_startup_content_subframe.js
CLOSED TREE

Backed out changeset a9e341a38fae (bug 1742582)
Backed out changeset a9ba4a859295 (bug 1742582)
Backed out changeset bd9307118864 (bug 1742582)
2021-11-29 18:45:04 +02:00
Tim Huang
470c6fc842 Bug 1742582 - Add 'URLQueryStrippingListService.jsm' into browser_startup_content.js. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D132227
2021-11-29 14:57:20 +00:00
Tomislav Jovanovic
3f442e7f66 Bug 1708193 - Remove mozapps/extensions/internal/Content.js r=rpl
Use Extension:FlushJarCache listener in ExtensionProcessScript.jsm instead,
it's already loaded everywhere and early enough from AddonManager.jsm.

Differential Revision: https://phabricator.services.mozilla.com/D129952
2021-11-20 13:10:58 +00:00
Julian Descottes
388ddbae45 Bug 1691954 - [marionette] Allow MarionetteEventsChild and dependencies in browser_startup_content.js r=Gijs
Depends on D126371

Now that the MarionetteEvents actors remain registered, MarionetteEventsChild.jsm and its Log.jsm dependencies both show up in the test browser_startup_content.js

Differential Revision: https://phabricator.services.mozilla.com/D126519
2021-09-30 09:13:07 +00:00
Cosmin Sabou
22bdb01b25 Backed out changeset c70b589f7162 (bug 1691954) for bc failures in browser_startup_content.js. CLOSED TREE DONTBUILD 2021-09-29 20:41:35 +03:00
Tomislav Jovanovic
0b1c358ede Bug 1708243 - Part 3: Use actor messaging for tabs.detectLanguage, stop loading MessageChannel.jsm, r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D126623
2021-09-29 16:52:59 +00:00
Julian Descottes
073fd208de Bug 1691954 - [marionette] Allow MarionetteEventsChild and dependencies in browser_startup_content.js r=Gijs
Depends on D126371

Now that the MarionetteEvents actors remain registered, MarionetteEventsChild.jsm and its Log.jsm dependencies both show up in the test browser_startup_content.js

Differential Revision: https://phabricator.services.mozilla.com/D126519
2021-09-29 15:39:05 +00:00
Tim Huang
b7e493dac8 Bug 1706608 - Part 7: Make URLQueryStrippingListService working with Fission r=pbz
The URLQueryStrippingListService will get initialized too late in
Fission because the 'profile-after-change' won't be triggered for
content processes in Fission. So, it won't have a complete list when the
query stripping happens because it will be initalized by then.

To address this issue, we add a content process script which will run
during the creation of content processes and it will get the service to
initialize it early so that we will have a complete list when doing the
stripping.

Differential Revision: https://phabricator.services.mozilla.com/D117376
2021-07-07 09:16:10 +00:00
Kashav Madan
ac9b692da3 Bug 1706445 - Only expect ContentSessionStore.jsm to load without Fission, r=Gijs
We'll stop loading content-sessionStore.js for Fission in D116147.

Differential Revision: https://phabricator.services.mozilla.com/D116487
2021-06-01 20:06:48 +00:00
Agi Sferro
41c023ef42 Bug 1681360 - Add mochitest ApiTestDelegate. r=robwu,esawin
This change adds a new mochitest-only helper called `AppTestDelegate`. This
helper will provide primitives that are not normally available at the toolkit
level.

Each app can implement the `AppUiTestDelegate` API to provide the primitives.
This is done so that we can ensure compatibility of the Extension API across
implementations.

The initial set of APIs is as follows:

```
class TestDelegate {
    clickPageAction(window, extensionId);
    closePageAction(window, extensionId);
    clickBrowserAction(window, extensionId);
    closeBrowserAction(window, extensionId);
    awaitExtensionPanel(window, extensionId);
    // Returns a unique identifier for the tab
    openNewForegroundTab(window, url, waitForLoad);
    // tabId must be the identifier from openNewForegroundTab
    removeTab(tabId);
}
```

Differential Revision: https://phabricator.services.mozilla.com/D99170
2021-02-04 02:19:05 +00:00
Dorel Luca
85e20aac7c Backed out 3 changesets (bug 1681360) for Browser-chrome failures in browser/base/content/test/performance/browser_startup_content_subframe.js. CLOSED TREE
Backed out changeset 2e07885dda4c (bug 1681360)
Backed out changeset c80806107851 (bug 1681360)
Backed out changeset 49e0948090b9 (bug 1681360)
2021-01-30 01:12:33 +02:00
Agi Sferro
aa0dacc820 Bug 1681360 - Add mochitest ApiTestDelegate. r=robwu,esawin
This change adds a new mochitest-only helper called `AppTestDelegate`. This
helper will provide primitives that are not normally available at the toolkit
level.

Each app can implement the `AppUiTestDelegate` API to provide the primitives.
This is done so that we can ensure compatibility of the Extension API across
implementations.

The initial set of APIs is as follows:

```
class TestDelegate {
    clickPageAction(window, extensionId);
    closePageAction(window, extensionId);
    clickBrowserAction(window, extensionId);
    closeBrowserAction(window, extensionId);
    awaitExtensionPanel(window, extensionId);
    // Returns a unique identifier for the tab
    openNewForegroundTab(window, url, waitForLoad);
    // tabId must be the identifier from openNewForegroundTab
    removeTab(tabId);
}
```

Differential Revision: https://phabricator.services.mozilla.com/D99170
2021-01-29 19:01:20 +00:00
Mark Banner
5bfe12a2c4 Bug 1680735 - Rename SearchTelemetry to SearchSERPTelemetry. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D98791
2020-12-08 20:42:15 +00:00
Nika Layzell
9fdad7893c Bug 1671983 - Part 3: E10SUtils.jsm isn't loaded in content anymore, r=annyG
Previously this component was loaded in content due to shouldLoadURI requiring
it, but it is no longer required for that, so can be removed from content
processes.

Differential Revision: https://phabricator.services.mozilla.com/D94640
2020-11-12 18:00:58 +00:00
Neil Deakin
c5eff66205 Bug 1649843, remove now unused legacy actor code, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D95206
2020-11-06 15:46:11 +00:00
Razvan Maries
10425eddfc Backed out 7 changesets (bug 1658084, bug 1671983) for perma failures on browser_async_remove_tab.js and browser_e10s_chrome_process.js. CLOSED TREE
Backed out changeset 2e6309c1cdbd (bug 1658084)
Backed out changeset 99aafd9304ef (bug 1671983)
Backed out changeset 80280b85280a (bug 1671983)
Backed out changeset 008db2659002 (bug 1671983)
Backed out changeset 32bd45c7fe3a (bug 1671983)
Backed out changeset 56e227e6580c (bug 1671983)
Backed out changeset a404f809f79d (bug 1671983)
2020-11-04 04:23:47 +02:00
Nika Layzell
9949bf008c Bug 1671983 - Part 3: E10SUtils.jsm isn't loaded in content anymore, r=annyG
Previously this component was loaded in content due to shouldLoadURI requiring
it, but it is no longer required for that, so can be removed from content
processes.

Differential Revision: https://phabricator.services.mozilla.com/D94640
2020-11-04 00:55:25 +00:00
Kris Maglione
11382660dc Bug 1588503: Don't load AutoCompleteChild.jsm before necessary. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D93834
2020-10-22 19:26:58 +00:00
Bryce Seager van Dyk
a90a447c1c Bug 1649532 - Port DecoderDoctor notifications to fission. r=Gijs
Port handling of DecoderDoctor notifications for fission. This is done by moving
the observing of 'decoder-doctor-notification' from browser-media.js to fission
friendly actors.

As browser-media.js had only code related to this patch left it is removed along
with references to it. Same with ContentObservers.js.

Differential Revision: https://phabricator.services.mozilla.com/D88322
2020-08-28 18:34:24 +00:00
Nika Layzell
8e7de09ca6 Bug 1656636 - Part 2: Load a real http URI in browser_startup_content, r=mconley,smacleod
This avoids missing scripts which are filtered to not load on about:blank
documents.

Differential Revision: https://phabricator.services.mozilla.com/D85649
2020-08-06 17:48:49 +00:00
Nika Layzell
031f857cfe Bug 1656636 - Part 1: Add a test for scripts loaded during subframe process startup, r=mconley,smacleod
This should help us catch loads of JSActors which may be necessary for toplevel
document loads, but which need not be loaded within a remote subframe.

Differential Revision: https://phabricator.services.mozilla.com/D85648
2020-08-07 16:24:50 +00:00
Kris Maglione
aa9718c2e0 Bug 1648178: Stop loading TelemetryUtils in content processes. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D80919
2020-06-24 20:03:53 +00:00
Kris Maglione
4f021f549e Bug 1645862: Part 2 - Get rid of ContentProcessSingleton. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D79871
2020-06-24 17:33:52 +00:00
Kris Maglione
977f86fb80 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 17:33:49 +00:00
Gijs Kruitbosch
b4623ffd8b Bug 1647787 - remove use of whitelist/blacklist from front-end performance tests, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D80697
2020-06-24 14:23:49 +00:00
Dorel Luca
67ec7cbf19 Backed out 2 changesets (bug 1645862) for browser-chrome failures in performance/browser_startup_content.js
Backed out changeset c5ae0087c1e7 (bug 1645862)
Backed out changeset b4643e4db774 (bug 1645862)
2020-06-24 07:00:08 +03: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
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
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
Kris Maglione
e4f51c32b7 Bug 1645237: Lazily load JSONView components via static registration. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D79385
2020-06-12 18:48:47 +00:00
pbz
225f10d76a Bug 1631362 - Bind prompts to JSWindowActor lifetime instead of closing them on pagehide. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73882
2020-05-14 12:21:49 +00:00
Neil Deakin
b8f7ac9956 Bug 1591469, move reader mode to use JSWindowActor instead of message managers, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71452
2020-05-13 19:22:20 +00:00
Bogdan Tara
be25a1cf76 Backed out changeset 3a50d857d097 (bug 1591469) for newtab failures complaining about AboutReaderParent CLOSED TREE 2020-05-12 06:13:10 +03:00
Neil Deakin
f9054b8cff Bug 1591469, move reader mode to use JSWindowActor instead of message managers, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71452
2020-05-12 01:06:51 +00:00
Rob Wu
b6d9307bbc Bug 1631933 - Drop support for data:-URLs in webRequest r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D71991
2020-04-24 19:50:38 +00:00
pbz
e118843a3a Bug 1615588 - Updated prompt tests. r=marionette-reviewers,johannh,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D66450
2020-04-16 14:44:56 +00:00
Csoregi Natalia
954b969608 Backed out 5 changesets (bug 1615588) for browser-chrome failures e.g. browser_beforeunload_duplicate_dialogs.js. CLOSED TREE
Backed out changeset 751cca7566a8 (bug 1615588)
Backed out changeset 474aca043834 (bug 1615588)
Backed out changeset 7839b95ef76c (bug 1615588)
Backed out changeset 32bb87f48b13 (bug 1615588)
Backed out changeset 264e642042b1 (bug 1615588)

--HG--
extra : rebase_source : 41ed149c97382bc1cf823abc56811b382cae0207
2020-04-10 21:19:15 +03:00
pbz
b296ec16c4 Bug 1615588 - Updated prompt tests. r=marionette-reviewers,johannh,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D66450

--HG--
extra : moz-landing-system : lando
2020-04-10 16:45:36 +00:00
Alphan Chen
4634499277 Bug 1623934 - Move SessionHistoryListener back to ConteneSessionStore.jsm r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D68354

--HG--
extra : moz-landing-system : lando
2020-03-27 12:34:37 +00:00
Alphan Chen
cb65e20cb3 Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D46281

--HG--
extra : moz-landing-system : lando
2020-03-19 14:31:52 +00:00
Noemi Erli
744bc34135 Backed out changeset 4c6b9209306d (bug 1507287) for causing geckoview failures CLOSED TREE 2020-03-16 23:23:09 +02:00
Alphan Chen
a9d46bba49 Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D46281

--HG--
extra : moz-landing-system : lando
2020-03-16 18:33:32 +00:00
Daniel Varga
8d900cf3ef Backed out changeset e51b4e883adc (bug 1507287) for not having proper review 2020-03-03 18:23:07 +02:00