Commit Graph

1019 Commits

Author SHA1 Message Date
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
Perry Jiang
302b3cd445 Bug 1393582 - Remove CastingApps support for Firefox desktop. r=felipe
MozReview-Commit-ID: B2bqiNXibPP
2017-08-25 14:03:47 -07: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
Jeongkyu Kim
baa900e080 Bug 1371676 - Improve Sync Notification Titles r=eoger
MozReview-Commit-ID: 5SZJpicDuXC
2017-06-13 21:26:58 +09:00
Alessio Placitelli
fb1215c209 Bug 1312182 - Consolidate the uses of MOZ_TELEMETRY_REPORTING in the code. r=flod,gfritzsche,jaws
The MOZ_TELEMETRY_REPORTING define does not control whether or not Telemetry is enabled
but rather if it will send the gathered data to Mozilla servers. We still want to
display the about:preferences options and let developers know about this behaviour.
Please note that this patch is not changing any behaviour: it's only making it explicit
by showing the options as disabled rather than hiding them.

MozReview-Commit-ID: 7A0y0E0hm0Q
2017-05-30 10:42:42 +02:00
Sebastian Hengst
ef0c39fb4c Backed out changeset 7f1e5af6138b (bug 1312182) for failing e.g. browser-chrome's browser_storagePressure_notification.js because of entity parsing error for healthReportingDisabled.label. r=backout 2017-06-14 18:46:10 +02:00
Alessio Placitelli
db8dffaf60 Bug 1312182 - Consolidate the uses of MOZ_TELEMETRY_REPORTING in the code. r=flod,gfritzsche,jaws
The MOZ_TELEMETRY_REPORTING define does not control whether or not Telemetry is enabled
but rather if it will send the gathered data to Mozilla servers. We still want to
display the about:preferences options and let developers know about this behaviour.
Please note that this patch is not changing any behaviour: it's only making it explicit
by showing the options as disabled rather than hiding them.

MozReview-Commit-ID: 7A0y0E0hm0Q
2017-05-30 10:42:42 +02:00
Andrea Marchesini
69e7e93d4f Bug 1369761 - ContextualIdentityService should not be initialized before first paint, r=florian 2017-06-13 13:04:49 +02:00
Florian Quèze
9190fd04da Bug 1371710 - Places should not be initialized before first paint, r=mconley. 2017-06-13 08:39:38 +02:00
Aaron Klotz
148f365604 Bug 1371051 - Restore Windows check to "a11y disables e10s" prompt for Beta and Release; r=mconley
MozReview-Commit-ID: 8U0qE68TWx7
2017-03-08 11:30:02 -07:00
DimiL
0ebedc7594 Bug 1357146 - Remove BROWSER_SET_DEFAULT_TIME_TO_COMPLETION_SECONDS telemetry. r=jaws
MozReview-Commit-ID: JMmYqA0TAIb
2017-06-06 09:35:00 +08:00
gasolin
159f88a860 Bug 1361286 - add in-page messages support for Automigration module; r=Gijs
MozReview-Commit-ID: I4xK2PkuHp3
2017-05-24 16:56:00 +08:00
Marco Bonardo
2e8879fb7d Bug 1368477 - Disable search suggestions if in doubt regarding user choice from the previous version. r=past
MozReview-Commit-ID: 2vADDUIblXE
2017-05-30 16:10:09 +02:00
Sebastian Hengst
7b7ea06c4f Backed out changeset 2612892f2785 (bug 1361286) for typos in its strings. r=backout 2017-05-27 10:27:02 +02:00
Edouard Oger
06720a016e Bug 1364444 - Open sent tabs new windows using WindowWatcher. r=eoger
MozReview-Commit-ID: 6WyU1atGDKf
2017-05-24 13:48:20 -04:00
gasolin
35b39a589e Bug 1361286 - add in-page messages support for Automigration module; r=Gijs
MozReview-Commit-ID: I4xK2PkuHp3
2017-05-24 16:56:00 +08:00
Doug Thayer
2401417b3c Bug 1359733 - (pt. 4) Pull out browser-sync.js badges r=eoger
See also commit message for pt. 4. We're moving app menu
notification state into a jsm.

MozReview-Commit-ID: 3RehYcHyfLu
2017-05-18 13:17:38 -07:00