Commit Graph

983 Commits

Author SHA1 Message Date
Wes Kocher
b6c157e8cd Merge inbound to m-c a=merge
MozReview-Commit-ID: KRQeIGmhAPA
2017-08-10 18:14:34 -07:00
Sebastian Hengst
c7240206e3 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Dão Gottwald
8e9d7061d2 Bug 956731 - Remove legacy add-on bar and statusbar shims. r=Gijs
MozReview-Commit-ID: 2deeujcHYUM
2017-08-10 09:17:48 +02:00
Felipe Gomes
39923feba0 Bug 1388145 - Move startup crashes tracking to nsBrowserGlue as it should only run once, and not per-window. r=florian
MozReview-Commit-ID: KR1bv1TJGVf
2017-08-09 15:45:24 -03:00
Felipe Gomes
288ec9bc36 Bug 1388145 - Move _createExtraDefaultProfile to an idle callback. r=florian
MozReview-Commit-ID: 2sBcd2hz8TX
2017-08-09 15:44:32 -03:00
Felipe Gomes
5d0c9c69f1 Bug 1388145 - Initialize the Windows Jump Lists from an idle callback. r=florian
MozReview-Commit-ID: FvDPNHGL3Ou
2017-08-09 15:44:28 -03:00
Felipe Gomes
47c839dca9 Bug 1388145 - Move Services.logins initialization to nsBrowserGlue. r=MattN
This will move this code to a place that will run it once per session (as needed) and not once per window. It also better defines it to run after all sessionstore-windows-restored, instead of arbitrarly after 3 seconds.

MozReview-Commit-ID: 2ekVeZfRYC4
2017-08-09 15:43:25 -03:00
Felipe Gomes
f6c1487360 Bug 1388145 - Make GMPInstallManager telemetry only run once per session (and not per window), and run it after an idle period. r=florian
MozReview-Commit-ID: GB07ftXNvXd
2017-08-09 15:43:14 -03:00
Felipe Gomes
1e26097f9b Bug 1388145 - Make Master Password telemetry only run once per session (and not per window), and run it after an idle period. r=MattN
MozReview-Commit-ID: 1Ecy94TGGar
2017-08-09 15:43:10 -03:00
Felipe Gomes
3ea6f87913 Bug 1388145 - Move the media telemetry to an idle task. r=florian
MozReview-Commit-ID: Lwv1wx22QG1
2017-08-09 15:43:07 -03:00
Felipe Gomes
69df8cd3c9 Bug 1388145 - Move the UnsubmittedCrashReporter initialization to an idle callback. r=mconley
MozReview-Commit-ID: IZCLlhCbNQN
2017-08-09 15:43:04 -03:00
Felipe Gomes
925af2c13a Bug 1388145 - Move the default browser check to an idle callback. r=florian
Note that the DefaultBrowserCheck.prompt() was scheduled with an idle callback before and it was removed here, because it's no longer necessary (as the entire function is now running from an idle callback)

MozReview-Commit-ID: GQQbAlBn2UI
2017-08-09 15:06:30 -03:00
Felipe Gomes
9bacfcf012 Bug 1388145 - Move ContextualIdentityService and SafeBrowsing initialization to _scheduleStartupIdleTasks. r=florian
This has no change in behavior since they are already scheduled with idleDispatchToMainThread, but this puts them in the proper code location

MozReview-Commit-ID: IS5ZQjJy77q
2017-08-09 15:06:30 -03:00
Felipe Gomes
c6d889d18b Bug 1388145 - Create global and per-window entry points for scheduling initialization-related idle callbacks. r=florian
MozReview-Commit-ID: LDgTz21gDTL
2017-08-09 15:06:08 -03:00
Kris Maglione
0fb6b2e73c Bug 1388215: Part 3 - Use JIT-friendly defineLazy*Getters methods when defining many lazy imports. r=florian
MozReview-Commit-ID: APoFwUhDFdj
2017-08-09 13:03:36 -07:00
Ed Lee
c8a637b8a6 Bug 1386445 - Early about:newtab pages are missing message APIs because RemotePages registers too late. r=mossop
This moves AboutNewTab.init from nsBrowserGlue.js handling of "browser-delayed-startup-finished" into aboutNewTabService.js so that when the service is loaded once from the main thread probably by browser.js towards the beginning of _delayedStartup just before potentially calling gBrowser.loadTabs, the service triggers the attaching of RemotePages(about:newtab) before any about:newtab pages load.

Additionally even when RemotePages starts early enough, Activity Stream might not borrow the RemotePages instance early enough to catch the RemotePage:Load message, so to simulate that, RemotePages now remembers when a port has been loaded for consumers to check. Adds tests to confirm the expected properties on the port and value of loaded at the various RemotePage:* messages.

MozReview-Commit-ID: IXJLvFCgbEH
2017-08-01 12:30:33 -07:00
Michael Kohler
6cae1e809d Bug 1366363 - Rename Compact Dark and Compact Light themes to just 'Dark' and 'Light' r=dao
MozReview-Commit-ID: 3n1i0CXsvC8
2017-08-03 21:39:21 +02:00
Wes Kocher
58d69de12a Backed out changeset 3f96fc2c078c (bug 1366363) for failures in browser_ext_browserAction_contextMenu.js and browser_page_action_menu.js a=backout
MozReview-Commit-ID: D8GuspkNCWN
2017-08-03 16:30:54 -07:00
Michael Kohler
5f7d121b4d Bug 1366363 - Rename Compact Dark and Compact Light themes to just 'Dark' and 'Light' r=dao
MozReview-Commit-ID: 3n1i0CXsvC8
2017-08-03 21:39:21 +02:00
Johann Hofmann
fbd85dd1f7 Bug 1384541 - Add a UI migration from compact themes to compact mode. r=dao
MozReview-Commit-ID: A6kr1QM5Nxu
2017-08-03 10:31:26 +02:00
Sebastian Hengst
3746a5e660 Backed out changeset 5d74faf4943b (bug 1384541) for failing xpcshell's test_browserGlue_urlbar_defaultbehavior_migration.js and test_browserGlue_migration_loop_cleanup.js. r=backout on a CLOSED TREE 2017-08-03 12:28:21 +02:00
Johann Hofmann
840722bd54 Bug 1384541 - Add a UI migration from compact themes to compact mode. r=dao
MozReview-Commit-ID: A6kr1QM5Nxu
2017-08-03 10:31:26 +02:00
Rajesh Kathiriya
fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Wes Kocher
11c90747d8 Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Marco Castelluccio
91823bf6b0 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/components/* files. r=Gijs 2017-07-31 13:25:41 +02:00
Sebastian Hengst
1326418a49 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
0d920ece6a Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Drew Willcoxon
ed01888fb1 Bug 1374477 - Add PageActions.jsm for Photon page actions. r=Gijs
MozReview-Commit-ID: ASMQlPX5t1i
2017-07-29 20:24:51 -07:00
Marco Castelluccio
dfa5b5a84e Bug 1383926 - Stop defining lazy module getter for Task.jsm in browser.js and nsBrowserGlue.js. r=mconley 2017-07-24 23:24:13 +02:00
Thomas Nguyen
28a294d023 Bug 1376591 - Move SafeBrowsing.init() after startup and put it into IdleDispatch Callback r=florian
MozReview-Commit-ID: E834rSHikYb
2017-07-10 15:30:17 +08:00
Jan Odvarko
6bc8f020cc Bug 1375778 - Convert old console filter preferences to new ones; r=bgrins
MozReview-Commit-ID: 39wIi93JrOM
2017-07-17 13:37:44 +02:00
Evan Tseng
3a1ced1fc8 Bug 1380205 - Check preferences version for some openPreferences calls need to direct to different pane in different version. r=mconley
MozReview-Commit-ID: DFltTFRkPrA
2017-07-12 09:01:25 +08:00
Florian Quèze
e1afbb0ab4 Bug 1355492 - initialize ContentCrashHandlers.jsm after first paint, r=mconley. 2017-07-15 00:16:31 +02:00
Florian Quèze
1d00fbfcc5 Bug 1355492 - delay initialization of BrowserUsageTelemetry and BrowserUITelemetry until after we are done restoring the previous session, r=mconley. 2017-07-15 00:16:31 +02:00
Florian Quèze
47d90c10b5 Bug 1369460 - AsyncPrefs.jsm should be imported lazily from nsBrowserGlue.js, r=mconley,snorp. 2017-07-15 00:16:30 +02:00
Florian Quèze
c1835253f3 Bug 1355492 - rename nsBrowserGlue.js' _finalIUStartup method to _beforeUIStartup, r=mconley. 2017-07-15 00:16:30 +02:00
Marco Bonardo
2e63b9b6bb Bug 1371677 - Delay the database connection in the history service as far as possible. r=adw
Makes initing Places services cheaper, by delaying the connection creation to the first time
it's actually needed.
Same way, delays reading the bookmark roots at the first time they are requested.
Deprecates the concept of lazy observers, since they are no more needed, we can just use addObserver.
Simplifies the startup path: always sends "places-init-complete" (both as a category and a topic) when
the connection starts and adds a "locked" database state when we can't get a working connection.
Makes PlacesCategoriesStarter register for the new category, since it's cheaper than being a bookmarks
observer.
Fixes a couple race conditions in keywords and expiration due to new startup timings.
Removes a test in test_keywords.js that is no more easily feasible, since it'd requires a pre-build
places.sqlite that should be kept up-to-date at every version.

MozReview-Commit-ID: 6ccPUZ651m0
2017-06-09 18:51:09 +02:00
Princi Vershwal
a0061051da Bug 1369834 - Add Firefox Accounts Verify Login Push Notification. r=eoger 2017-06-23 02:34:07 +05:30
gasolin
e3fadaaabd Bug 1367696 - PART I determine the tour type;r=mossop,timdream
MozReview-Commit-ID: KUXPftqZdl1
2017-06-22 16:10:46 +08:00
Sebastian Hengst
187bd4a033 Backed out changeset 4cd7f4883692 (bug 1367696) for failing formautofill tests, e.g. browser/extensions/formautofill/test/unit/heuristics/test_basic.js. r=backout on a CLOSED TREE 2017-06-28 03:30:18 +02:00
gasolin
8b7e41108e Bug 1367696 - PART I determine the tour type;r=mossop,timdream
MozReview-Commit-ID: KUXPftqZdl1
2017-06-22 16:10:46 +08:00
Andreas Farre
4a5c8d309d Bug 1368072 - Use idleDispatchToMainThread instead. r=mconley
Adapt to the move of nsIThread.idleDispatch to
nsIThreadManager.idleDispatchToMainThread.
2017-06-22 11:14:10 +02:00
Phil Ringnalda
483d45dcb9 Backed out 3 changesets (bug 1368072) for colliding with a new use of the thing it was renaming
Backed out changeset 1d7e008d7d70 (bug 1368072)
Backed out changeset c4a1ddf9be0d (bug 1368072)
Backed out changeset ba1cdae5a8d6 (bug 1368072)
2017-06-21 23:28:37 -07:00
Andreas Farre
780d9581f6 Bug 1368072 - Use idleDispatchToMainThread instead. r=mconley
Adapt to the move of nsIThread.idleDispatch to
nsIThreadManager.idleDispatchToMainThread.
2017-06-21 12:36:41 +02:00
Phil Ringnalda
bc4a75b212 Backed out 3 changesets (bug 1368072) for timeouts in test_TelemetrySession.js and test_fullscreen-api.html and unhandled "TypeError: Services.tm.mainThread.idleDispatch is not a function" promise rejections
Backed out changeset 357635c84e49 (bug 1368072)
Backed out changeset 1797afe16a2a (bug 1368072)
Backed out changeset 4782401394a9 (bug 1368072)

MozReview-Commit-ID: 6kdcSkERjTD
2017-06-20 21:41:14 -07:00
Wes Kocher
aff551aa1b Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Andreas Farre
acbe361b3d Bug 1368072 - Use idleDispatchToMainThread instead. r=mconley
Adapt to the move of nsIThread.idleDispatch to
nsIThreadManager.idleDispatchToMainThread.
2017-06-14 08:59:00 +02:00
Paolo Amadini
7afba17088 Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +01:00
Brian Grinstead
a55b1911a1 Bug 1372954 - Do not persist sidebar checked state to document;r=Gijs
The the state will be properly set in the show() call anyway, and the xulstore
doesn't track attribute removals which led to improper checked state

MozReview-Commit-ID: rGb6Td55eW
2017-06-19 13:45:03 -07:00
Edouard Oger
6517338258 Bug 1369119 - Refresh known stale devices list on FxA device disconnect. r=markh
MozReview-Commit-ID: A2iqas0kP20
2017-06-06 14:28:00 -04:00