Skip to content

Commit

Permalink
Bug 1742582 - Add 'URLQueryStrippingListService.jsm' into browser_sta…
Browse files Browse the repository at this point in the history
…rtup_content.js and browser_startup_content_subframe.js. r=mconley

Differential Revision: https://phabricator.services.mozilla.com/D132227
  • Loading branch information
artines1 committed Nov 29, 2021
1 parent fdbfae8 commit 64f488c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions browser/base/content/test/performance/browser_startup_content.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ if (!gFissionBrowser) {
);
}

if (AppConstants.NIGHTLY_BUILD) {
// URL Query Stripping. This will only be loaded if the URL Query Stripping
// is enabled by default during the startup. This currently only happens in
// Nightly channel.
//
// Bug 1743418 will try to remove this from content startup script.

known_scripts.modules.add(
"resource://gre/modules/URLQueryStrippingListService.jsm"
);
}

// Items on this list *might* load when creating the process, as opposed to
// items in the main list, which we expect will always load.
const intermittently_loaded_scripts = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@ const known_scripts = {
]),
};

if (AppConstants.NIGHTLY_BUILD) {
// URL Query Stripping. This will only be loaded if the URL Query Stripping
// is enabled by default during the startup. This currently only happens in
// Nightly channel.
//
// Bug 1743418 will try to remove this from content startup script.

known_scripts.modules.add(
"resource://gre/modules/URLQueryStrippingListService.jsm"
);
}

// Items on this list *might* load when creating the process, as opposed to
// items in the main list, which we expect will always load.
const intermittently_loaded_scripts = {
Expand Down

0 comments on commit 64f488c

Please sign in to comment.