Commit graph

1176 commits

Author SHA1 Message Date
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
Felipe Gomes
ce1f2896a7 Bug 1467586 - Part 0. hg cp the DateTimePickerListener object to a new file, and rename the DateTimePickerHelper. r=mconley
Since we're naming this new file as DateTimePickerContent, it's also a good opportunity to rename the DateTimePickerHelper to DateTimePickerParent to make it more meaningful

MozReview-Commit-ID: 9xNwUjZb6UF

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/DateTimePickerContent.jsm
rename : toolkit/modules/DateTimePickerHelper.jsm => toolkit/modules/DateTimePickerParent.jsm
extra : rebase_source : 89cbaa19e74a904d39087de2cdfbc2789c40057f
2018-06-09 18:46:35 -03:00
Bianca Danforth
e92b9595ff Bug 1465685 - Add login_form probe for Savant Shield study; r=MattN
This probe will register and record (for the duration of the study only):
* When a login form is loaded
* When a login form is submitted (excluding the case from unresolved bug 1287202)

The login_form probe has an 'extra' field called 'flow_id'. This value associates actions that occur in the same tab.

It should be noted that for several reasons, we should expect a higher than 1:1 ratio between 'load' and 'submit' events:
* Some sites, like Google and Amazon, have a two-step login process, and each step fires its own 'load' event. Only the second step fires a 'submit' event.
* Some sites, like Facebook and Twitter, fire multiple 'load' events on the same page.
* A common pattern for unsuccessful logins is for the site to redirect to a page with a login form. This would be a 'load' --> 'submit' --> 'load' series.
* Unlike 'load', the 'submit' event fires only when the Password Manager is enabled and the user is in a non-private window. 'Load' events will have a 'canRecordSubmit' key in the 'extra' field which will be true if a submit event for that form can be recorded.

MozReview-Commit-ID: LOMDSN6tgRV

--HG--
extra : rebase_source : d88dbf2ad97892e14c6a9378cae2559af9c40b92
2018-06-07 03:24:09 -07:00
Bianca Danforth
920ce3f006 Bug 1465685 - Add Password Manager probes for Savant Shield study; r=MattN
These probes will register and record (for the duration of the study only):
* When the user is prompted by the Password Manager
* When the user saves their login information through the Password Manager prompt
* When the user updates their login information through the Password Manager prompt
* When the user uses login information stored by the Password Manager

Both the 'pwmgr' and 'pwmgr_use' probe have an 'extra' field called 'flow_id'. This is a tab identifier. For a given session, flow_id remains constant, even if the tab is moved to a different index within the same window. Tabs at the same index in different windows will have different flow_ids.

MozReview-Commit-ID: CoBNl6lUQmH

--HG--
extra : rebase_source : 3708e443de487766ff8bf38237a462519a9db82b
2018-06-07 03:23:47 -07:00
Bianca Danforth
f8bef84ffd Bug 1465703 - Add bookmark and follow_bookmark probes for Savant Shield study; r=adw
These probes will register and record (for the duration of the study only):
* When a bookmark is added.
* When a bookmark is removed.
* When a bookmark is visited.

Also moved init of study module to later in startup as an idle task to mitigate performance impact. Previously, this patch was failing the browser/base/content/test/performance/browser_startup.js test.

Note for bookmark added/removed: Using the source argument, we can filter out bulk events like from Sync, import, restore, etc.

Note for bookmark visited: This will also fire for the case when the user visits a page directly that happens to be bookmarked. The user doesn't have to "click" on a bookmark.

MozReview-Commit-ID: EYVlTLfVLkd

--HG--
extra : rebase_source : 4363a7725c7fd8a25ab4980b87c68f619437c764
2018-06-06 04:25:36 -07:00
Kris Maglione
7b7264f453 Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
MozReview-Commit-ID: 9APGewiDDYB

--HG--
extra : rebase_source : 2931dd0eec0e4206414b698a9700fc20d922eb3a
2018-05-25 17:02:29 -07:00
Christoph Kerschbaumer
2c105d2ff5 Bug 1459204: Have about:privatebrowsing rely on RemotePageManager instead of AboutCapabilities. r=mossop,baku 2018-06-07 11:32:27 +02:00
Bianca Danforth
30a653a6d1 Bug 1462725 - Uninit study on Firefox shutdown; r=rhelmer
Intended to undo study-related changes that don't need to persist between sessions: clear prefs, remove observers, etc.

MozReview-Commit-ID: GsoDhxf6CVJ

--HG--
extra : rebase_source : 5679a48de8e7e95c2b02619738582948032b2c19
2018-06-04 16:20:54 -07:00
Bianca Danforth
8b9593b0d5 Bug 1462725 - Rename study module; r=rhelmer
Module was renamed in order to be more consistent with references to this study elsewhere, as in the tracking bug 1457226.

Also removed TelemetryEvents.sendEvent method, set log level to 'warn' and added milestone bug to search probe.

MozReview-Commit-ID: KU82dQZLgxB

--HG--
rename : browser/modules/ShieldStudySavant.jsm => browser/modules/SavantShieldStudy.jsm
extra : rebase_source : 175a029e1d0c3c536cc601e6382568832258aad5
2018-06-04 16:20:25 -07:00
Bianca Danforth
28f1080afc Bug 1462725 - Init Savant module at Firefox startup with study pref; r=rhelmer
This module observes the study pref to enable/disable the study.

MozReview-Commit-ID: 1dcHfk5tc3Q

--HG--
extra : rebase_source : 4f5846f1931369f5549c67dcb8cb1584c8888d14
2018-06-04 16:18:13 -07:00
Harry Twyford
c9db70e774 Bug 1453722 - Improvements to Dark Theme search bar. r=dao
MozReview-Commit-ID: AH3QVBRKymc

--HG--
extra : rebase_source : d30c465bb72f11484183932633b44822e7ccddb3
2018-06-01 11:13:27 -04:00
Dão Gottwald
007fc77913 Bug 1462635 - Fix disabled text color in webext theme styled popups. r=ntim
MozReview-Commit-ID: myI1PNipvK

--HG--
extra : rebase_source : 6df227c1bd260dbb296e5b269e6c5c39606db386
2018-05-26 18:45:06 +02:00
Nan Jiang
ea55294f24 Bug 1458617 - Add telemetry to detect if a user has a custom about:newtab/home page. r=Mardak
MozReview-Commit-ID: JrGQmFb2AXH

--HG--
extra : rebase_source : 7259ff36962004632ec64195bb6803b83ebf67c9
2018-05-15 13:47:56 -04:00
Bogdan Tara
75cfee1989 Backed out changeset 2de498d1e77e (bug 1458617) for failing on browser/components/tests/unit/test_browserGlue_pingcentre.js CLOSED TREE 2018-05-25 19:34:06 +03:00
Nan Jiang
032c83cdd5 Bug 1458617 - Add telemetry to detect if a user has a custom about:newtab/home page. r=Mardak
MozReview-Commit-ID: 9aMEEc7yHhQ

--HG--
extra : rebase_source : 4101a22c3633a3621c4373ed1fb2fb5bdfd5a04f
2018-05-15 13:47:56 -04:00
Mark Banner
b321b832fd Bug 824502 - Fix unit tests for the folder=<id> to parent=<guid> transition. r=mak
MozReview-Commit-ID: FCaiJrSAMAV

--HG--
extra : rebase_source : 1edf169c3a24b1c0b8c1be2e8eb0f06e8605df80
2018-05-01 08:14:53 +01:00
Felipe Gomes
683f921f8c Bug 1409054 - Remove code from the old about:home. r=Mardak
MozReview-Commit-ID: JrgIFr2kAvI

--HG--
extra : rebase_source : 2636bfb0aa6b3fd81a3380c844776c3e0c048c8e
2018-05-22 00:45:44 -03:00