Commit graph

970 commits

Author SHA1 Message Date
Felipe Gomes
ad0d65f131 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

--HG--
extra : rebase_source : 08ee589ee7b88fc78dbd106c6f3f191c5fe2e928
2017-08-09 15:06:30 -03:00
Felipe Gomes
781d21edb8 Bug 1388145 - Create global and per-window entry points for scheduling initialization-related idle callbacks. r=florian
MozReview-Commit-ID: LDgTz21gDTL

--HG--
extra : rebase_source : 0dddf6768dea0fd0d044f0433f1fa869a92aa19b
2017-08-09 15:06:08 -03:00
Ed Lee
64170b63af 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

--HG--
extra : rebase_source : 2b53c4e58f4cb8cbd4ea10741f3f609693989010
2017-08-01 12:30:33 -07:00
Michael Kohler
8117229d66 Bug 1366363 - Rename Compact Dark and Compact Light themes to just 'Dark' and 'Light' r=dao
MozReview-Commit-ID: 3n1i0CXsvC8

--HG--
extra : rebase_source : 85c0d147a46fae033aa6f69557f831dd19b91519
2017-08-03 21:39:21 +02:00
Wes Kocher
bb9cb9182f 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
1b7c8fa92b Bug 1366363 - Rename Compact Dark and Compact Light themes to just 'Dark' and 'Light' r=dao
MozReview-Commit-ID: 3n1i0CXsvC8

--HG--
extra : rebase_source : 85c0d147a46fae033aa6f69557f831dd19b91519
2017-08-03 21:39:21 +02:00
Johann Hofmann
f2d83992cd Bug 1384541 - Add a UI migration from compact themes to compact mode. r=dao
MozReview-Commit-ID: A6kr1QM5Nxu

--HG--
extra : rebase_source : c7065dc43723a3e086238ebaaa5b2413f75f9b53
2017-08-03 10:31:26 +02:00
Sebastian Hengst
ff033af28d 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
--HG--
extra : amend_source : 9823cea5eb19212509106d51f24f5ce9c2297ca7
2017-08-03 12:28:21 +02:00
Johann Hofmann
fc0a05dbdd Bug 1384541 - Add a UI migration from compact themes to compact mode. r=dao
MozReview-Commit-ID: A6kr1QM5Nxu

--HG--
extra : rebase_source : 03940de3084f1f245cd2895c2a75684f132aa575
2017-08-03 10:31:26 +02:00
Rajesh Kathiriya
48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Wes Kocher
179a07b6ba Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Marco Castelluccio
0abc80eebf Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/components/* files. r=Gijs
--HG--
extra : rebase_source : 8ae926bfde827b9a5323d6fb96dc231d429ab9b0
2017-07-31 13:25:41 +02:00
Sebastian Hengst
804a36e668 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
22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Drew Willcoxon
73afb41a36 Bug 1374477 - Add PageActions.jsm for Photon page actions. r=Gijs
MozReview-Commit-ID: ASMQlPX5t1i

--HG--
extra : rebase_source : 8b8914d192b2e16f8d809fccb384507db22fe1c1
2017-07-29 20:24:51 -07:00
Marco Castelluccio
20abff2d5a Bug 1383926 - Stop defining lazy module getter for Task.jsm in browser.js and nsBrowserGlue.js. r=mconley
--HG--
extra : rebase_source : 6ca9002259b3088150e2a2175e87f0cc63404683
2017-07-24 23:24:13 +02:00
Thomas Nguyen
196e1a74c9 Bug 1376591 - Move SafeBrowsing.init() after startup and put it into IdleDispatch Callback r=florian
MozReview-Commit-ID: E834rSHikYb

--HG--
extra : rebase_source : 4caf9d213009e7e86626d6f54f1096856990709a
2017-07-10 15:30:17 +08:00
Jan Odvarko
c77cb5a112 Bug 1375778 - Convert old console filter preferences to new ones; r=bgrins
MozReview-Commit-ID: 39wIi93JrOM

--HG--
extra : rebase_source : 7fbc15450dc8e36eaa4137c855a7cceb9f47794a
2017-07-17 13:37:44 +02:00
Evan Tseng
c4ed872484 Bug 1380205 - Check preferences version for some openPreferences calls need to direct to different pane in different version. r=mconley
MozReview-Commit-ID: DFltTFRkPrA

--HG--
extra : rebase_source : b2e125dc9afb5c5f345512aca27e2b7a594b644c
2017-07-12 09:01:25 +08:00
Florian Quèze
fc2fb801f0 Bug 1355492 - initialize ContentCrashHandlers.jsm after first paint, r=mconley. 2017-07-15 00:16:31 +02:00
Florian Quèze
47098f6c0e 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
94d67824bc 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
ad0d502c44 Bug 1355492 - rename nsBrowserGlue.js' _finalIUStartup method to _beforeUIStartup, r=mconley. 2017-07-15 00:16:30 +02:00
Marco Bonardo
bfc44708bc 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

--HG--
extra : rebase_source : 07376076eb42c84caaedeffd75f133d83a6c3d70
2017-06-09 18:51:09 +02:00
Princi Vershwal
75404533d2 Bug 1369834 - Add Firefox Accounts Verify Login Push Notification. r=eoger 2017-06-23 02:34:07 +05:30
gasolin
5c929621d2 Bug 1367696 - PART I determine the tour type;r=mossop,timdream
MozReview-Commit-ID: KUXPftqZdl1

--HG--
extra : rebase_source : 9ba1981c238e19e8c9561fe5fb037f5cc32865cc
2017-06-22 16:10:46 +08:00
Sebastian Hengst
8de63d1fbe 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
865c357751 Bug 1367696 - PART I determine the tour type;r=mossop,timdream
MozReview-Commit-ID: KUXPftqZdl1

--HG--
extra : rebase_source : d036612260387cf2be6a37f0c2743ba21146eaa9
2017-06-22 16:10:46 +08:00
Andreas Farre
b6ba1ab672 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
08e2f5187b 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
36c8d2c7f7 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
44f60566a9 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
c0e1236f1a Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Andreas Farre
e3486bd5b8 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
10ee6a5c4e 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

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Brian Grinstead
2d93723913 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

--HG--
extra : rebase_source : 2d145a02d1cfe3bf31f1bf0c6ad8739f01a37f4e
2017-06-19 13:45:03 -07:00
Edouard Oger
b599411285 Bug 1369119 - Refresh known stale devices list on FxA device disconnect. r=markh
MozReview-Commit-ID: A2iqas0kP20

--HG--
extra : rebase_source : 15db886e4751885e173a55c561df7ea1a3b2871b
2017-06-06 14:28:00 -04:00
Jeongkyu Kim
65d67622d4 Bug 1371676 - Improve Sync Notification Titles r=eoger
MozReview-Commit-ID: 5SZJpicDuXC

--HG--
extra : rebase_source : 6fa58119de3814026dd92615fce2c3e28e096a6a
2017-06-13 21:26:58 +09:00
Alessio Placitelli
0d02dac163 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

--HG--
extra : rebase_source : 36d1a7f5ec5c05b43731daf9507d3068fe7674ee
2017-05-30 10:42:42 +02:00
Sebastian Hengst
cda8e7363c 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
6ee0a86931 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

--HG--
extra : rebase_source : f5a1d894e8c7dcaeea8270a13b1a6fb54deea059
2017-05-30 10:42:42 +02:00
Andrea Marchesini
3750b8cf84 Bug 1369761 - ContextualIdentityService should not be initialized before first paint, r=florian 2017-06-13 13:04:49 +02:00
Florian Quèze
bfe09ec4ed Bug 1371710 - Places should not be initialized before first paint, r=mconley. 2017-06-13 08:39:38 +02:00
Aaron Klotz
35bfdae669 Bug 1371051 - Restore Windows check to "a11y disables e10s" prompt for Beta and Release; r=mconley
MozReview-Commit-ID: 8U0qE68TWx7

--HG--
extra : source : de1f4aa0d12edc3450fad7308d7164608c2eaea4
extra : histedit_source : 6d7246bf5373ca87e5938f8b670e4bfe42a719fd
2017-03-08 11:30:02 -07:00
DimiL
3b2de9fd64 Bug 1357146 - Remove BROWSER_SET_DEFAULT_TIME_TO_COMPLETION_SECONDS telemetry. r=jaws
MozReview-Commit-ID: JMmYqA0TAIb

--HG--
extra : rebase_source : 800fa773da41e90d33c75e432e56d16593b5e2cd
2017-06-06 09:35:00 +08:00
gasolin
40422612bd Bug 1361286 - add in-page messages support for Automigration module; r=Gijs
MozReview-Commit-ID: I4xK2PkuHp3

--HG--
extra : rebase_source : 4e307d616ebe237c225ea131f9993c4df34d13ac
2017-05-24 16:56:00 +08:00
Marco Bonardo
ae32ee7c0d Bug 1368477 - Disable search suggestions if in doubt regarding user choice from the previous version. r=past
MozReview-Commit-ID: 2vADDUIblXE

--HG--
extra : rebase_source : 32b5b7443609c056c28680a0502d333733286aa5
2017-05-30 16:10:09 +02:00
Sebastian Hengst
b01db289d2 Backed out changeset 2612892f2785 (bug 1361286) for typos in its strings. r=backout 2017-05-27 10:27:02 +02:00
Edouard Oger
ad7af6fe2e Bug 1364444 - Open sent tabs new windows using WindowWatcher. r=eoger
MozReview-Commit-ID: 6WyU1atGDKf

--HG--
extra : rebase_source : b3db3bfb3bc13997a7e0f1fc2a11017e1dc85307
2017-05-24 13:48:20 -04:00
gasolin
9dbb25e1ad Bug 1361286 - add in-page messages support for Automigration module; r=Gijs
MozReview-Commit-ID: I4xK2PkuHp3

--HG--
extra : rebase_source : e29603a260163534dfcc83bf2886994688aa97e1
2017-05-24 16:56:00 +08:00