Commit Graph

1182 Commits

Author SHA1 Message Date
Kris Maglione
e769b4cbb0 Bug 1479245: Don't eagerly load any PDF.js scripts in the content process. r=bdahl
MozReview-Commit-ID: GDSmAH9gpnX
2018-07-28 19:05:22 -07:00
Cosmin Sabou
2dfa4a8fed Backed out changeset f0ccbdcaa8a1 (bug 1479245) for causing a spike on timeouts on browser_pdfjs_views.js 2018-08-02 11:16:01 +03:00
Kris Maglione
98f4109cb8 Bug 1479245: Don't eagerly load any PDF.js scripts in the content process. r=bdahl
MozReview-Commit-ID: GDSmAH9gpnX
2018-07-28 19:05:22 -07:00
Panos Astithas
ac2525c96d Bug 1472921 - Fix sampling interval persistence for values <1ms. r=julienw
MozReview-Commit-ID: TxKzT8MCZY
2018-07-26 12:47:30 +03:00
Narcis Beleuzu
0d7551f20b 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
1185915d5a Bug 1472921 - Fix sampling interval persistence for values <1ms. r=julienw
MozReview-Commit-ID: TxKzT8MCZY
2018-07-26 12:47:30 +03:00
Gijs Kruitbosch
c53c9c26c9 Bug 1477670 - remove web feed handling prefs and tidy up user-set prefs if they exist, r=flod,jkt
MozReview-Commit-ID: 46wdeAY3wOi
2018-07-24 17:58:44 +01:00
Gijs Kruitbosch
0ed5658d73 Bug 1477670 - remove content handler code from browser/, r=florian,jkt
MozReview-Commit-ID: 3kS7yPdkjGs
2018-07-24 17:54:40 +01:00
Dão Gottwald
57b4efa3b3 Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
MozReview-Commit-ID: 5lmOj3k4tFf
2018-07-26 11:13:34 +02:00
Narcis Beleuzu
b814f4ff26 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
7c7e7b13ea Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
MozReview-Commit-ID: 5lmOj3k4tFf
2018-07-26 11:13:34 +02:00
Andreea Pavel
c355d6d417 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-07-25 18:10:55 +03:00
Dão Gottwald
6f1352e6fd Bug 1478041 - Remove some old UI migration steps. r=Gijs
MozReview-Commit-ID: KnCUnzZusjf
2018-07-25 14:30:38 +02:00
Andreea Pavel
d2b929bf6c 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
46f4910043 Bug 1478041 - Remove some old UI migration steps. r=Gijs
MozReview-Commit-ID: J4L7gheR2n6
2018-07-24 17:32:59 +02:00
Boris Zbarsky
e98236cf07 Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
Brian Grinstead
3097f96e03 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
2018-07-24 08:12:50 -07:00
Abdoulaye O. Ly
9bd1f9c2b2 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
2018-07-18 19:30:36 +00:00
Brian Grinstead
0ae3afe87d 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
2018-07-18 09:43:38 -07:00
Kirk Steuber
3a1f5f441a 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
2018-05-21 14:58:34 -07:00
Brian Grinstead
a895debe9d 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
2018-07-16 08:53:23 -07:00
Andreea Pavel
044d437861 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
96b559b3de 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
2018-05-21 14:58:34 -07:00
Mathieu Leplatre
a35d37fc51 Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy
2018-06-14 20:54:19 +02:00
Noemi Erli
57371e4d03 Backed out changeset 101f97abc1d4 (bug 1458917) for Talos failures on a CLOSED TREE 2018-07-11 05:11:11 +03:00
Mathieu Leplatre
ade43eef32 Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy
2018-06-14 20:54:19 +02:00
Axel Hecht
28138483f9 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
2018-05-28 12:38:01 +02:00
Tim Nguyen
d127e35493 Bug 1347204 - Implement the colors.ntp_background and colors.ntp_text properties. r=mconley
MozReview-Commit-ID: En8HajryiJS
2018-04-12 16:48:23 -04:00
Cosmin Sabou
0cb919c868 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
a039468dac Bug 947838 - Don't reload distro prefs, just load at the same time as customizations. r=florian
MozReview-Commit-ID: DPaE92V2xKg
2018-07-05 16:02:00 -05:00
Tim Nguyen
a3fa3d59bb Bug 1347204 - Implement the colors.ntp_background and colors.ntp_text properties. r=mconley
MozReview-Commit-ID: En8HajryiJS
2018-04-12 16:48:23 -04:00
Edouard Oger
1c784981d3 Bug 1466933 - Implement FxA commands. r=markh,rfkelly
MozReview-Commit-ID: EXLO3vnu9vB
2018-05-30 17:23:56 -04:00
Mark Banner
4d7f6f4623 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
2018-07-02 16:25:09 +00:00
Stephen A Pohl
e9e839bf7d 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
4fc43fb0a7 Bug 1438499 - show 'close multiple tabs' warning dialog when quitting, r=jaws,whimboo
MozReview-Commit-ID: J2gi9do8HK9
2018-06-13 09:34:52 -07:00
Andreea Pavel
ba57e8f271 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-06-23 00:51:56 +03:00
Florian Quèze
7b4b015e7f 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
1a8ea75eb8 Bug 1461439: Enable browser error telemetry on non-Nightly channels. r=Gijs
MozReview-Commit-ID: GAwbFC49b8H
2018-06-05 11:15:54 -07:00
Dale Harvey
f28e841657 Bug 1461656 - Ask permission when site wants to autoplay media. r=flod,johannh
MozReview-Commit-ID: Fc2IUZK90eu
2018-05-18 12:54:33 +01:00
Mark Banner
706a19ce6d Bug 1453667 - Remove BrowserUITelemetry. r=gfritzsche
MozReview-Commit-ID: Co31OPRrdpi
2018-06-06 20:29:09 +01:00
Felipe Gomes
331081d0a6 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
2018-06-09 18:46:35 -03:00
Bianca Danforth
115c431296 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
2018-06-07 03:24:09 -07:00
Bianca Danforth
90748a458c 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
2018-06-07 03:23:47 -07:00
Bianca Danforth
d71683bac7 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
2018-06-06 04:25:36 -07:00
Kris Maglione
0847e8227e Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
MozReview-Commit-ID: 9APGewiDDYB
2018-05-25 17:02:29 -07:00
Christoph Kerschbaumer
f7a0ac1bfc Bug 1459204: Have about:privatebrowsing rely on RemotePageManager instead of AboutCapabilities. r=mossop,baku 2018-06-07 11:32:27 +02:00
Bianca Danforth
003bf2ac2d 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
2018-06-04 16:20:54 -07:00
Bianca Danforth
48417955a5 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
2018-06-04 16:20:25 -07:00
Bianca Danforth
693e2e0e4d 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
2018-06-04 16:18:13 -07:00
Harry Twyford
77125c7404 Bug 1453722 - Improvements to Dark Theme search bar. r=dao
MozReview-Commit-ID: AH3QVBRKymc
2018-06-01 11:13:27 -04:00