Commit Graph

137 Commits

Author SHA1 Message Date
Dão Gottwald
2969cd41af Bug 1733345 - Move theme modules into browser/themes/. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D127090
2021-10-04 15:05:54 +00:00
Harry Twyford
ff0aca8ac1 Bug 1731146 - Manage built-in themes from BuiltInThemes.jsm and use it to defer installing colorway themes. r=dao,mixedpuppy
This creates a centralized place to manage built in themes. The main motivation for this is that we want to defer intalling built-in themes until after UI startup, but we need to ensure those themes are installed when about:addons is visited. This module is called from both BrowserGlue (for installation) and aboutaddons.js (to ensure installation). Also, built in themes handing is all over the place right now, and this centralizes it, which is nice.

This also creates a more-permanent pref for colorway themes. The rationale is that I could see Product wanting a ripcord on this project and I want to build that in from the start.

This approach has serious performance improvements over the baseline. Here is perfherder for the current approach of installing before UI startup: https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=82baacf0b728add88c7e262ecb68d3fbcd1bda5e&newProject=try&newRevision=169edd7e48e5a051e5d3cbfbd6caaab4c496cd98&framework=1&page=1&showOnlyImportant=1 and again for an early version of the approach in this patch (installation after UI startup, but before I moved things to LightweightThemeConsumer): https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=82baacf0b728add88c7e262ecb68d3fbcd1bda5e&newProject=try&newRevision=6c200f35430a6af87401bd21c8db95e28a568964&framework=1&page=1&showOnlyImportant=1.

Differential Revision: https://phabricator.services.mozilla.com/D126549
2021-09-29 23:08:45 +00:00
Toshihito Kikuchi
ead360c4f6 Bug 1725257 - Part 2. Add a blank about:unloads. r=NeilDeakin,flod
Differential Revision: https://phabricator.services.mozilla.com/D123987
2021-09-07 00:46:59 +00:00
Dave Townsend
65dcbf0b37 Bug 1721647: Add a stub page data service API to enable parallel development. r=mak
This adds the stub API for the page data service and some basic docs. The service can be used from
xpcshell tests and the events respond with sane data. As there are no consumers currently the
in-memory cache never clears.

Differential Revision: https://phabricator.services.mozilla.com/D120498
2021-07-26 18:23:06 +00:00
Cosmin Sabou
393d2a3fd1 Backed out changeset e9a336383b55 (bug 1721647) for bc failures on browser_all_files_referenced.js. CLOSED TREE 2021-07-26 20:04:46 +03:00
Dave Townsend
a9ee86fdb3 Bug 1721647: Add a stub page data service API to enable parallel development. r=mak
This adds the stub API for the page data service and some basic docs. The service can be used from
xpcshell tests and the events respond with sane data. As there are no consumers currently the
in-memory cache never clears.

Differential Revision: https://phabricator.services.mozilla.com/D120498
2021-07-26 15:30:58 +00:00
Marian-Vasile Laza
cfc5ecb63a Backed out changeset 2035b7835ff6 (bug 1721647) for causing bc failures on browser_all_files_referenced.js. CLOSED TREE 2021-07-26 17:52:34 +03:00
Dave Townsend
660210e5ce Bug 1721647: Add a stub page data service API to enable parallel development. r=mak
This adds the stub API for the page data service and some basic docs. The service can be used from
xpcshell tests and the events respond with sane data. As there are no consumers currently the
in-memory cache never clears.

Differential Revision: https://phabricator.services.mozilla.com/D120498
2021-07-26 12:51:42 +00:00
Kajal Sah
8080ebf66e Bug 1717486 Creates browser/components/screenshots directory.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118573
2021-07-19 16:47:33 +00:00
Sandor Molnar
4373501a35 Backed out 2 changesets (bug 1717486, bug 1718713) for causng eslint failures. CLOSED TREE
Backed out changeset 57c50b132961 (bug 1718713)
Backed out changeset 00b064dbf950 (bug 1717486)
2021-07-15 22:07:54 +03:00
Kajal Sah
462be9848f Bug 1717486 Creates browser/components/screenshots directory.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118573
2021-07-15 18:40:43 +00:00
Butkovits Atila
604e353f14 Backed out changeset 4731ed823f03 (bug 1717486) for causing mochitest failures at browser_all_files_referenced.js. CLOSED TREE 2021-07-07 04:22:27 +03:00
Kajal Sah
452999c670 Bug 1717486 Creates browser/components/screenshots directory.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118573
2021-07-06 22:45:56 +00:00
Iulian Moraru
ebc23c746a Backed out changeset 7632b6b6aedc (bug 1717486) for causing build bustages on packager.mk. CLOSED TREE 2021-06-30 07:14:31 +03:00
Kajal Sah
492166b0ac Bug 1717486 Creates browser/components/screenshots directory.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118573
2021-06-30 03:37:25 +00:00
Neil Deakin
5c808b0515 Bug 1712838 , remove fxmonitor component, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D117352
2021-06-22 14:11:08 +00:00
Magnus Melin
0f56a88072 Bug 1524836 - Move new HTML about:config page from browser to toolkit. r=fluent-reviewers,preferences-reviewers,geckoview-reviewers,Gijs,agi
Unbitrot and change strategy for geckoview: now map about:config directly in nsAboutRecirector.cpp

Differential Revision: https://phabricator.services.mozilla.com/D25938
2021-01-26 00:27:56 +00:00
Dave Townsend
b34b8cb330 Bug 1682593: Remove the site specific browser feature. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D101860
2021-01-15 11:11:19 +00:00
Ricky Stewart
31b8ca9716 Bug 1654103: Standardize on Black for Python code in mozilla-central.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara
612312a64c Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
065d2eb893 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca
95b44c982f Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
43baed3c18 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Robert Helmer
f8ab94d122 Bug 1665957 - rename Pioneer to Ion r=maxxcrawford,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D90749
2020-09-23 22:10:16 +00:00
Narcis Beleuzu
f4ece98227 Backed out changeset 8dab8ca19839 (bug 1665957) for bc failures on browser_ion_ui.js . CLOSED TREE 2020-09-23 09:00:43 +03:00
Robert Helmer
29afb33994 Bug 1665957 - rename Pioneer to Ion r=maxxcrawford,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D90749
2020-09-22 18:26:16 +00:00
Mark Banner
38f72ec854 Bug 1619926 - Remove distribution search directory provider definitions. r=daleharvey
Also remove DirectoryProvider as it is now unused.

Depends on D88018

Differential Revision: https://phabricator.services.mozilla.com/D88019
2020-09-01 18:08:22 +00:00
Butkovits Atila
bb187bd62f Backed out 15 changesets (bug 1612824, bug 1661234, bug 1619926, bug 1612380, bug 1559530, bug 1642990) for Xpc failures. CLOSED TREE
Backed out changeset 426d017d7e46 (bug 1642990)
Backed out changeset 84ab4021d403 (bug 1559530)
Backed out changeset 82a8305543e5 (bug 1559530)
Backed out changeset 38832c1185b8 (bug 1559530)
Backed out changeset f16918c10a6b (bug 1661234)
Backed out changeset 3a13258fbd51 (bug 1661234)
Backed out changeset abf8d8b24845 (bug 1612824)
Backed out changeset 7dfeb065a385 (bug 1619926)
Backed out changeset bc9d3e210fe7 (bug 1619926)
Backed out changeset 786164c461ae (bug 1619926)
Backed out changeset d89793e9d17d (bug 1619926)
Backed out changeset d665885bc912 (bug 1619926)
Backed out changeset 9260b6620943 (bug 1619926)
Backed out changeset af69a4896f2f (bug 1619926)
Backed out changeset b9cd6b7047b9 (bug 1612380)
2020-09-01 21:03:23 +03:00
Mark Banner
f1e771055a Bug 1619926 - Remove distribution search directory provider definitions. r=daleharvey
Also remove DirectoryProvider as it is now unused.

Depends on D88018

Differential Revision: https://phabricator.services.mozilla.com/D88019
2020-08-31 16:34:24 +00:00
Robert Helmer
129a9961f4 Bug 1640306 - add about:pioneer MVP r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D76935
2020-05-29 21:38:45 +00:00
Agi Sferro
d5ceb25577 Bug 1629113 - Add nsIPromptCollection. r=johannh,pbz
This new prompt service will handle specialized prompts like beforeUnloadCheck.

The plan is to eventually phase out generic prompts like confirmExBC and just
have specialized prompts.

Differential Revision: https://phabricator.services.mozilla.com/D72720
2020-05-22 16:24:12 +00:00
Andrew McCreight
7326163464 Bug 1615109, part 2 - Remove the SharePicker stub implementation. r=marcosc
The stub implementation seems like it conflicts on platforms where we have an
implementation, is registered in the child process where we don't need it,
and the implementation itself uses getters where it should use fields.

The code that tries to find a sharepicker implementation handles one not
being registered just fine as far as I can see, so just remove the stub
implementation now that we have actual implementations for people to
look at.

Differential Revision: https://phabricator.services.mozilla.com/D69147
2020-04-01 17:53:31 +00:00
Gijs Kruitbosch
f4f5af111e Bug 1623332 - remove the non-functional about:library stub, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D67323
2020-03-18 18:05:02 +00:00
Nihanth Subramanya
b198389e4c Bug 1613790 - Implement module to measure performance of TRRs and send telemetry. r=johannh,dragana,valentin
Differential Revision: https://phabricator.services.mozilla.com/D62845
2020-02-25 10:29:03 +00:00
Dave Townsend
e3e38a1edc Bug 1602123: Add a page action to open the current tab into a standalone window. r=Gijs
The action should open the SSB UI to show the page. No other custom behaviour
is expecgterd at this point.

Differential Revision: https://phabricator.services.mozilla.com/D56283
2019-12-12 20:22:50 +00:00
Brindusan Cristian
d266b82e51 Backed out 2 changesets (bug 1602168, bug 1602123) for turning bug 1336075 into perma. CLOSED TREE
Backed out changeset b892c240d938 (bug 1602168)
Backed out changeset f47c59a4e3d3 (bug 1602123)
2019-12-11 04:44:43 +02:00
Dave Townsend
83a4219a43 Bug 1602123: Add a page action to open the current tab into a standalone window. r=Gijs
The action should open the SSB UI to show the page. No other custom behaviour
is expecgterd at this point.

Differential Revision: https://phabricator.services.mozilla.com/D56283
2019-12-10 22:33:10 +00:00
Paolo Amadini
2bc4dc2bf3 Bug 1532703 - Redirect "about:config" to the HTML version on all channels for browser builds. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D48960
2019-10-14 15:58:42 +00:00
Sebastian Hengst
45131d528b Bug 1587836 - update permissions related Bugzilla components stored in moz.build files. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D48869
2019-10-11 08:44:00 +00:00
Marcos Cáceres
f85b56bff7 Bug 1312422 - Web Share Base/DOM implementation r=farre
Web Share base implementation just of DOM stuff - working together with @saschanaz.

@Baku, we would greatly appreciate your review.

-Nika, as she is traveling.

Differential Revision: https://phabricator.services.mozilla.com/D44598
2019-10-09 10:57:11 +00:00
Andrew Swan
1162dccf05 Bug 1567258 - Convert fxmonitor to a built-in component r=nhnt11,flod
Differential Revision: https://phabricator.services.mozilla.com/D40666
2019-08-23 14:27:55 +00:00
Matt Howell
78e82c00e4 Bug 1567247 Part 1 - Reflect a fixed list of prefs into the Windows registry so the installer can read them. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D40326
2019-08-19 21:06:02 +00:00
Robert Strong
40f6cd5402 Bug 1555893 - The what's new page test should only run when building with MOZ_UPDATER. r=bytesized
Also fixes an indentation issue in browser_whats_new_page.js

Differential Revision: https://phabricator.services.mozilla.com/D33248
2019-05-31 17:45:51 +00:00
Robert Strong
c35cc9e3d0 Bug 1555610 - Add whats new page test for code in BrowserContentHandler.jsm. r=bytesized,jaws
Changes UpdateService.jsm so it is possible to have an alternate update directory for tests similar to how enterprise policies does it.
Removes BUG_COMPONENT in moz.build for browser_bug538331.js since that test is for BrowserContentHandler.jsm code.

Differential Revision: https://phabricator.services.mozilla.com/D33225
2019-05-31 04:03:06 +00:00
Erica Wright
c31cd772a8 Bug 1549825 - Create empty about:protections page. r=johannh,baku
Differential Revision: https://phabricator.services.mozilla.com/D30652
2019-05-21 18:32:32 +00:00
Jared Wein
ce753a0e79 Bug 1548463 - Base page for HTML-based login manager. r=MattN,flod
Differential Revision: https://phabricator.services.mozilla.com/D29624
2019-05-08 19:17:02 +00:00
Mike Conley
b2227f2363 Bug 1529088 - Hold the HTML-based about:config to Nightly until we get Product sign-off. r=florian,paolo
Differential Revision: https://phabricator.services.mozilla.com/D20825
2019-02-27 21:54:57 +00:00
Kris Maglione
2f3844fc01 Bug 1524688: Part 2 - Convert BrowserGlue and friends to static registration. r=mconley 2019-01-29 17:44:35 -08:00
Csoregi Natalia
ddfb8b53b5 Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE
Backed out changeset 68a001a42406 (bug 1524687)
Backed out changeset 328de611bcd3 (bug 1524688)
Backed out changeset 68cffca6927a (bug 1524687)
Backed out changeset 81dc12cc9257 (bug 1524688)
Backed out changeset c7c49f64048f (bug 1524688)
Backed out changeset fb23a0271da0 (bug 1524688)
Backed out changeset 0c1d1248e59e (bug 1524688)
Backed out changeset 9e9ec7de4160 (bug 1524688)
Backed out changeset de0b9993bd5d (bug 1524688)
Backed out changeset 92877cf4fe33 (bug 1524688)
Backed out changeset b4938f2ff8fd (bug 1524688)
Backed out changeset 230d2feaf941 (bug 1524688)
Backed out changeset 6c63bc240972 (bug 1524688)
Backed out changeset 0ad5465eace1 (bug 1524688)
Backed out changeset 1e75ce91029b (bug 1524688)
Backed out changeset 34a978503b1d (bug 1524688)
Backed out changeset 183602e8a30b (bug 1524688)
Backed out changeset 12a9135dc005 (bug 1524688)
Backed out changeset 978ef5dac9db (bug 1524688)
Backed out changeset 28105bf7bf6a (bug 1524688)
Backed out changeset a9fb74beaf2b (bug 1524688)
Backed out changeset fe106b369a72 (bug 1524688)
Backed out changeset e657e77d4271 (bug 1524688)
Backed out changeset 09f626870ad0 (bug 1524688)
Backed out changeset fe9b6695212e (bug 1524688)
Backed out changeset 995ea188bc31 (bug 1524688)
Backed out changeset 01c4d3edb1b0 (bug 1524688)
Backed out changeset 1bb7dfbb9f48 (bug 1524688)
Backed out changeset 56c61e0a1f45 (bug 1524688)
Backed out changeset c819943ff466 (bug 1524688)
Backed out changeset a1dd5cec066e (bug 1524688)
Backed out changeset 517838ee0c3c (bug 1524688)
Backed out changeset f509a5759fdf (bug 1524688)
Backed out changeset 56f5c8f0d708 (bug 1524688)
Backed out changeset 5746311ef859 (bug 1524688)
Backed out changeset df02f7d25212 (bug 1524688)
Backed out changeset c9846136d105 (bug 1524688)
Backed out changeset 2bd48db9cd0f (bug 1524688)
Backed out changeset ff120b4eeb79 (bug 1524688)
Backed out changeset fe583e7aae8d (bug 1524688)
Backed out changeset 18f156d6355a (bug 1524688)
Backed out changeset f4eaebbe2e0f (bug 1524688)
Backed out changeset bf6b18e23f69 (bug 1524688)
Backed out changeset dd89eb7e9b0d (bug 1524688)
Backed out changeset 4cbbb367ba0b (bug 1524688)
Backed out changeset 4ed0cf6be580 (bug 1524688)
Backed out changeset d8efb5ed62b1 (bug 1524688)
Backed out changeset ea347d57d73a (bug 1524688)
Backed out changeset 911689ef9f33 (bug 1524688)
Backed out changeset 28670fdc418d (bug 1524688)
Backed out changeset 38e1e42a0fb0 (bug 1524688)
Backed out changeset 35a5f031dd1e (bug 1524688)
Backed out changeset b586d55d76d5 (bug 1524688)
Backed out changeset 6dcacead1746 (bug 1524688)
Backed out changeset 9895239d8ac6 (bug 1524688)
Backed out changeset 25f982fd53bd (bug 1524688)
Backed out changeset 4fb0f0a59fe2 (bug 1524688)
Backed out changeset fdc6c4ed241a (bug 1524688)
Backed out changeset 5ce5986068f0 (bug 1524688)
Backed out changeset ab64ed7388ae (bug 1524688)
Backed out changeset 56607c5a301a (bug 1524688)
Backed out changeset 6b3684e7d8f9 (bug 1524688)
Backed out changeset ee28258a5724 (bug 1524688)
Backed out changeset 9201a7ea3c54 (bug 1524688)
Backed out changeset d5dca413e2da (bug 1524688)
Backed out changeset 68eb174a337b (bug 1524688)
Backed out changeset 625f71135038 (bug 1524687)
Backed out changeset 46e13c453538 (bug 1524687)
Backed out changeset 614be688767f (bug 1524687)
Backed out changeset 9c24919ac5c2 (bug 1524687)
Backed out changeset b9862758b98c (bug 1524687)
Backed out changeset 92d9e927deec (bug 1524687)
Backed out changeset f4ee175bc5bd (bug 1524687)
Backed out changeset 191afe83da2e (bug 1524687)
Backed out changeset c58caf41bb94 (bug 1524687)
Backed out changeset df95a56dae04 (bug 1524687)
Backed out changeset 10c69df4444d (bug 1524687)
Backed out changeset 219b84a58f50 (bug 1524687)
Backed out changeset e96e61bd282f (bug 1524687)
2019-02-14 11:50:23 +02:00
Kris Maglione
c1f553c67f Bug 1524688: Part 2 - Convert BrowserGlue and friends to static registration. r=mconley 2019-01-29 17:44:35 -08:00