Commit graph

1192 commits

Author SHA1 Message Date
Kris Maglione
0c0831f6d0 Bug 1472491: Part 5d - Add ContentSearchChild actor. r=adw f=felipe
MozReview-Commit-ID: 5u7VpedF3xH

--HG--
rename : browser/base/content/tab-content.js => browser/actors/ContentSearchChild.jsm
extra : rebase_source : abfaa941f6769428a7dd47cc7c3f953f6d8c3e87
2018-07-29 20:00:11 -07:00
Kris Maglione
572e4a0ada Bug 1472491: Part 5c - Add PageStyleChild actor. r=felipe
MozReview-Commit-ID: DccnrQyiBAd

--HG--
rename : browser/modules/PageStyleHandler.jsm => browser/actors/PageStyleChild.jsm
extra : rebase_source : 2029d61372a8d635560d03e77f6a940d62820a07
2018-07-29 19:54:17 -07:00
Kris Maglione
fa799430d3 Bug 1472491: Part 5b - Add AboutReaderChild actor. r=jaws f=felipe
MozReview-Commit-ID: H2vZT2lim3L

--HG--
rename : browser/base/content/tab-content.js => browser/actors/AboutReaderChild.jsm
extra : rebase_source : a8f8721f5ea4bd7f2e009fbb38587f438a9deac3
2018-07-29 19:51:00 -07:00
Kris Maglione
30986431c7 Bug 1472491: Part 5a - Add BrowserTabChild actor. r=felipe
MozReview-Commit-ID: 38Y1xwkgxCx

--HG--
extra : rebase_source : 61a85af58f9f16b8e39b716e3df2d09b788fcb1a
2018-07-29 19:42:46 -07:00
Kris Maglione
739cafdadd Bug 1472491: Part 4a - Add helper classes for lazily loading JS IPC actors. r=felipe
This adds the basic framework for defining IPC actors which are lazily
instantiated for the appropriate frame loaders based on DOM events, message
manager messages, and observers. Actual actors are defined in follow-up
commits.

MozReview-Commit-ID: Jb6CWWW7v3v

--HG--
extra : rebase_source : 6c465c492ef423616346d70047c4fd4b074af303
2018-08-11 15:27:12 -07:00
Jonathan Kingston
9b7fb2f20c Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
Reviewers: ckerschb!, Gijs!

Tags: #secure-revision

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2046

--HG--
extra : source : 44b25dea67d2ed079e17057ab619d827e9983400
extra : amend_source : 5742820277e0269b6f5d42b1abd98fd9b228ac4a
extra : histedit_source : 790bd2490333e4d8fea7774d036eafbc2fc329b9
2018-07-06 15:14:54 +01:00
dvarga
12f19b94e9 Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)

--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Jonathan Kingston
f389570122 Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Subscribers: mixedpuppy, reviewbot

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2046

--HG--
extra : rebase_source : ea688b35744f970e74de3039da3973f1177d8577
extra : amend_source : 89efdb8ccec2c334a83155eec6b30f08fa0f7074
2018-08-08 20:03:55 +03:00
Mathieu Leplatre
7d0021f371 Bug 1469525 - Remove blocklist clients files from profile r=Gijs
MozReview-Commit-ID: Fm5Pegz5LcU

--HG--
extra : rebase_source : 4cf1de6b60399ab5092bf01ab4c64b255fdfb068
2018-08-06 17:34:28 +02:00
Dão Gottwald
5b4e355993 Bug 1369456 - Replace nsSessionStartup.js with SessionStartup.jsm. r=florian
MozReview-Commit-ID: 53Mu4zb9X1C

--HG--
rename : browser/components/sessionstore/nsSessionStartup.js => browser/components/sessionstore/SessionStartup.jsm
extra : rebase_source : 5b4f5c2e45841a5ee9123386e8657d8c262ba416
2018-08-04 13:27:40 +02:00
Kris Maglione
577b96ad55 Bug 1479245: Don't eagerly load any PDF.js scripts in the content process. r=bdahl
MozReview-Commit-ID: GDSmAH9gpnX

--HG--
rename : browser/extensions/pdfjs/content/PdfJsRegistration.jsm => browser/extensions/pdfjs/pdfjs.js
extra : source : f0ccbdcaa8a1e82b43406540c76ebac4236581ee
extra : amend_source : 4efab8deca2fe945ba7cc3434efaf725ea5ee12a
2018-07-28 19:05:22 -07:00
Cosmin Sabou
681a500716 Backed out changeset f0ccbdcaa8a1 (bug 1479245) for causing a spike on timeouts on browser_pdfjs_views.js
--HG--
rename : browser/extensions/pdfjs/pdfjs.js => browser/extensions/pdfjs/content/PdfJsRegistration.jsm
2018-08-02 11:16:01 +03:00
Kris Maglione
0b15b2934b Bug 1479245: Don't eagerly load any PDF.js scripts in the content process. r=bdahl
MozReview-Commit-ID: GDSmAH9gpnX

--HG--
rename : browser/extensions/pdfjs/content/PdfJsRegistration.jsm => browser/extensions/pdfjs/pdfjs.js
extra : rebase_source : b0a5b8131657e198f32fb2f61367c2a713f4ffbe
2018-07-28 19:05:22 -07:00
Panos Astithas
3536af633e Bug 1472921 - Fix sampling interval persistence for values <1ms. r=julienw
MozReview-Commit-ID: TxKzT8MCZY

--HG--
extra : rebase_source : 534e6a93928428cd24c306a0f78737d7d6a1d36f
2018-07-26 12:47:30 +03:00
Narcis Beleuzu
d948e64c34 Backed out changeset 0a485a8db67c (bug 1472921) for debug-mochitest-chrome failures on test_perf-settings-interval.html 2018-07-31 19:52:32 +03:00
Panos Astithas
43e6442dba Bug 1472921 - Fix sampling interval persistence for values <1ms. r=julienw
MozReview-Commit-ID: TxKzT8MCZY

--HG--
extra : rebase_source : 3ade8100ad7687e558e084454009ced149c39c8e
2018-07-26 12:47:30 +03:00
Gijs Kruitbosch
d00ead2de2 Bug 1477670 - remove web feed handling prefs and tidy up user-set prefs if they exist, r=flod,jkt
MozReview-Commit-ID: 46wdeAY3wOi

--HG--
extra : rebase_source : 50b18441d32358d34ea0cbce4ba4d5895c885d6e
2018-07-24 17:58:44 +01:00
Gijs Kruitbosch
5c0e726193 Bug 1477670 - remove content handler code from browser/, r=florian,jkt
MozReview-Commit-ID: 3kS7yPdkjGs

--HG--
extra : rebase_source : 6aae9414ed8e5c2a31509f85ef0cbfc9b31895fd
2018-07-24 17:54:40 +01:00
Dão Gottwald
1f4131affa Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
MozReview-Commit-ID: 5lmOj3k4tFf

--HG--
extra : rebase_source : e7ea50f496827a1cdda1ebc9d3f602822bea5468
2018-07-26 11:13:34 +02:00
Narcis Beleuzu
91bcab3f74 Backed out 1 changesets (bug 1473595) for debug-mochitest-chrome failures on test_key_event_counts.xul and test_htmleditor_keyevent_handling.html. CLOSED TREE
Backed out changeset a3140755de69 (bug 1473595)
2018-07-26 13:58:57 +03:00
Dão Gottwald
844b19fbfe Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
MozReview-Commit-ID: 5lmOj3k4tFf

--HG--
extra : rebase_source : e7ea50f496827a1cdda1ebc9d3f602822bea5468
2018-07-26 11:13:34 +02:00
Andreea Pavel
8a01d542af Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-07-25 18:10:55 +03:00
Dão Gottwald
7596141cc9 Bug 1478041 - Remove some old UI migration steps. r=Gijs
MozReview-Commit-ID: KnCUnzZusjf

--HG--
extra : rebase_source : c176ecee67ef62a8ec56d00b1a80ef166ef31aa7
2018-07-25 14:30:38 +02:00
Andreea Pavel
5d9f279d29 Backed out changeset 1f7d659ff506 (bug 1478041) for xpcshell failures at browser/components/tests/unit/test_browserGlue_migration_loop_cleanup.js on a CLOSED TREE 2018-07-25 15:25:22 +03:00
Dão Gottwald
5d9c8bb9d7 Bug 1478041 - Remove some old UI migration steps. r=Gijs
MozReview-Commit-ID: J4L7gheR2n6

--HG--
extra : rebase_source : a6ed13b36e8b0294690f0ae878b276b40f5e69dc
2018-07-24 17:32:59 +02:00
Boris Zbarsky
270fa12c79 Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
Brian Grinstead
96dc530924 Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
Before this change, we accessed the browser URL in the following ways:

- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js

MozReview-Commit-ID: I5vtRke1x9t

--HG--
extra : rebase_source : c525350a1954740873e85b045cbb14a8b43aa89d
2018-07-24 08:12:50 -07:00
Abdoulaye O. Ly
64c9f57859 Bug 1475427 - Refactor warnAboutClosingTabs function in tabbrowser.js so that it directly takes the number of tabs to close as param. r=jaws
MozReview-Commit-ID: Hhdanmwx7rN

--HG--
extra : rebase_source : 41f17f27f914f017877c74dfcbaa12c388cd265e
2018-07-18 19:30:36 +00:00
Brian Grinstead
8ceaae11ca Bug 1476030 - Part 1 - Expose xulStore through Services;r=Gijs
This lets us use Services.xulStore instead of requiring
Cc["@mozilla.org/xul/xulstore;1"].getService(Ci.nsIXULStore);

MozReview-Commit-ID: 2eXifCPhlGs

--HG--
extra : rebase_source : c65b9395cc192d05d1a348cfbf92f7f59d41dc8f
2018-07-18 09:43:38 -07:00
Kirk Steuber
35440f6dd0 Bug 1420514 - Remove pref app.update.enabled from the update mechanism r=rstrong
Getting rid of this pref allowed some other code to be removed:
 - Changed nsIUpdateService::stopChecking(duration) to nsIUpdateService::stopCurrentCheck() and got rid of the constants representing durations. The available durations were CURRENT_CHECK, CURRENT_SESSION, and ANY_CHECKS, but only CURRENT_CHECK was ever used.
 - nsIUpdateChecker::stopChecking(CURRENT_SESSION) and nsIUpdateChecker::stopChecking(ANY_CHECKS) were the only mechanisms for setting Checker::_enabled to false, so Checker::_enabled and Checker::enabled were removed. References to Checker::enabled were replaced with checks for nsUpdateService::canCheckForUpdates.
 - In browser/base/content/aboutDialog-appUpdater.js, the updateDisabledAndLocked() function was renamed to updateDisabledByPolicy, since the old name is no longer accurate and the new function name is a better description of the function's actual use.

MozReview-Commit-ID: 4wwqo4ROr1V

--HG--
extra : rebase_source : ea2e0f157dccc02eece585d3d15ebb67a38813d8
extra : intermediate-source : 00f6d87c63dfb940c439b49c8310b3a91be3a912
extra : source : 83c69c5f289572aee6ff5a8c85237bbeaac3cb8b
2018-05-21 14:58:34 -07:00
Brian Grinstead
e09fd8bb6c Bug 1469339 - Put strings needed for the edit context menu into ftl at toolkit/locales;r=flod
This also registers the locale through the build system and browser glue since
it's the first ftl file in toolkit/.

MozReview-Commit-ID: 7XDqKmVU0vh

--HG--
extra : rebase_source : b179e78554f667fdaf3c3fc32a020a8c176b5021
2018-07-16 08:53:23 -07:00
Andreea Pavel
1e8d2e6f7d Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE
Backed out changeset 5a46a221b6e8 (bug 1420514)
Backed out changeset 48ed6dfe8772 (bug 1420514)
Backed out changeset 01bf643c77e5 (bug 1420514)
Backed out changeset 5791b17ccb82 (bug 1420514)
Backed out changeset 416e398d942f (bug 1420514)
Backed out changeset de4a4592dbd9 (bug 1420514)
Backed out changeset d3399edf0197 (bug 1420514)
2018-07-12 21:22:32 +03:00
Kirk Steuber
d906cf0adb Bug 1420514 - Remove pref app.update.enabled from the update mechanism r=rstrong
Getting rid of this pref allowed some other code to be removed:
 - Changed nsIUpdateService::stopChecking(duration) to nsIUpdateService::stopCurrentCheck() and got rid of the constants representing durations. The available durations were CURRENT_CHECK, CURRENT_SESSION, and ANY_CHECKS, but only CURRENT_CHECK was ever used.
 - nsIUpdateChecker::stopChecking(CURRENT_SESSION) and nsIUpdateChecker::stopChecking(ANY_CHECKS) were the only mechanisms for setting Checker::_enabled to false, so Checker::_enabled and Checker::enabled were removed. References to Checker::enabled were replaced with checks for nsUpdateService::canCheckForUpdates.
 - In browser/base/content/aboutDialog-appUpdater.js, the updateDisabledAndLocked() function was renamed to updateDisabledByPolicy, since the old name is no longer accurate and the new function name is a better description of the function's actual use.

MozReview-Commit-ID: 4wwqo4ROr1V

--HG--
extra : rebase_source : 036099b7cd1f5fc74284ae8800ec30b3037f0d4a
extra : source : 83c69c5f289572aee6ff5a8c85237bbeaac3cb8b
2018-05-21 14:58:34 -07:00
Mathieu Leplatre
4300c52ada Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : f6932e5c3014ce0bb8e29e08468e4e533130273e
2018-06-14 20:54:19 +02:00
Noemi Erli
d218f98059 Backed out changeset 101f97abc1d4 (bug 1458917) for Talos failures on a CLOSED TREE 2018-07-11 05:11:11 +03:00
Mathieu Leplatre
068afbc416 Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : 171ed0ff11e2b60a17055412c64584dfe5ab90d5
2018-06-14 20:54:19 +02:00
Axel Hecht
5bdc727943 Bug 721211: consolidate home page retrieval code, make it support non-localized prefs, r=jaws
Also changes the tooltip on the home button to be independent of the URLs
it opens, per dolske.

Some tests explicitly set browser.startup.homepage, but only through
SpecialPowers.putPrefEnv. That's a good compromise, given the extra
functionality there.

MozReview-Commit-ID: FPLxzi3jQAP

--HG--
extra : rebase_source : c2b014f2fb1c78ce04859344bd1803ef48d5d68d
2018-05-28 12:38:01 +02:00
Tim Nguyen
e6c156f9ed Bug 1347204 - Implement the colors.ntp_background and colors.ntp_text properties. r=mconley
MozReview-Commit-ID: En8HajryiJS

--HG--
extra : rebase_source : 97b007626fc9c9ed6f49b3153b02a883b293ca08
2018-04-12 16:48:23 -04:00
Cosmin Sabou
4d56fa5458 Backed out 2 changesets (bug 1347204) for ESlint failure on browser_ext_themes_ntp_colors. CLOSED TREE
Backed out changeset 29caa8009784 (bug 1347204)
Backed out changeset 46922541d170 (bug 1347204)
2018-07-06 01:13:43 +03:00
Michael Kaply
ebfd1754d0 Bug 947838 - Don't reload distro prefs, just load at the same time as customizations. r=florian
MozReview-Commit-ID: DPaE92V2xKg

--HG--
extra : rebase_source : 44779cb8a8f9cfd2f18f8dec715e4bfe7c8bd5d3
2018-07-05 16:02:00 -05:00
Tim Nguyen
7620721be3 Bug 1347204 - Implement the colors.ntp_background and colors.ntp_text properties. r=mconley
MozReview-Commit-ID: En8HajryiJS

--HG--
extra : rebase_source : b0b321418a68c134772616cc47ab883f8ffb9078
2018-04-12 16:48:23 -04:00
Edouard Oger
6ebb7fced3 Bug 1466933 - Implement FxA commands. r=markh,rfkelly
MozReview-Commit-ID: EXLO3vnu9vB

--HG--
extra : rebase_source : 75660e909647ef0dd4f56326d38fbe4c1e5f7716
2018-05-30 17:23:56 -04:00
Mark Banner
acb2be40d6 Bug 1446325 - Stop inserting the default smart bookmarks into new profiles. r=mak,lina
MozReview-Commit-ID: AGQaw1rgukO

Differential Revision: https://phabricator.services.mozilla.com/D1831

--HG--
extra : moz-landing-system : lando
2018-07-02 16:25:09 +00:00
Stephen A Pohl
f203ce21fe Bug 1472272: Allow apps like Thunderbird to switch to the dark theme as well when macOS 10.14+ switches to dark mode. r=dao 2018-07-01 19:40:16 -04:00
Gijs Kruitbosch
006aa20e16 Bug 1438499 - show 'close multiple tabs' warning dialog when quitting, r=jaws,whimboo
MozReview-Commit-ID: J2gi9do8HK9

--HG--
extra : rebase_source : b22103b5a4d43fc6da535ef00f75ed6bc80d92fb
2018-06-13 09:34:52 -07:00
Andreea Pavel
2cf94d771e Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-06-23 00:51:56 +03:00
Florian Quèze
353625c9bc Bug 1469582 - Never skip the window opening animation for the early blank window, r=mconley. 2018-06-22 12:37:03 +02:00
Michael Kelly
102c99a2d0 Bug 1461439: Enable browser error telemetry on non-Nightly channels. r=Gijs
MozReview-Commit-ID: GAwbFC49b8H

--HG--
rename : browser/modules/test/browser/browser_BrowserErrorReporter.js => browser/modules/test/browser/browser_BrowserErrorReporter_nightly.js
extra : rebase_source : 34673db22aa83be183cff403b719f97884400cac
extra : source : 679189574ff3e79298ead44b35484c549356b086
2018-06-05 11:15:54 -07:00
Dale Harvey
4696947f19 Bug 1461656 - Ask permission when site wants to autoplay media. r=flod,johannh
MozReview-Commit-ID: Fc2IUZK90eu

--HG--
extra : rebase_source : 197ea2f48d6ad07cf1cf3c0b572121bbb3d69252
2018-05-18 12:54:33 +01:00
Mark Banner
cb46607905 Bug 1453667 - Remove BrowserUITelemetry. r=gfritzsche
MozReview-Commit-ID: Co31OPRrdpi

--HG--
extra : rebase_source : 85eb06471105e4142e7c235da65c68c1a81603d7
2018-06-06 20:29:09 +01:00