Commit Graph

1000 Commits

Author SHA1 Message Date
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
Doug Thayer
89a15e6773 Bug 1359733 - (pt. 2) Refactor gMenuButtonUpdateBadge r=rstrong
Since we now have a store of notifications that is global across
all windows, it no longer makes sense to consume the API from
within browser.js. This patch moves the browser.js logic out into
a jsm file that is wired up through nsBrowserGlue, such that it
will be lazily instantiated on the first update event it would
receive[1].

We decided to move this into toolkit, as this piece of the
system is fairly generic and shouldn't differ between
applications.

[1]: There is a change to nsBrowserGlue to use "global[module]"
instead of this[module]. This mirrors the code for all the other
types of notifications, and I suspect it was just a latent bug,
since the original diff that includes this line makes no use of
it.

MozReview-Commit-ID: 8EQdM9BOpgl
2017-05-19 08:56:22 -07:00
Marco Bonardo
52946e66bb Bug 1344928 - Enable search suggestions by default in the Location Bar. r=past
Flip the default search suggestions in location bar prefs to true.
Users who didn't previously make a choice regarding the feature will see a hint explaining how to recognize suggestsions and
a link to change search settings.
Users who previously made an explicit choice won't see any hint and their choice will be respected on upgrade.
This doesn't make any guarantee regarding a downgrade/upgrade path and previous choices.

MozReview-Commit-ID: 7pGxwXDmKZO
2017-05-23 13:01:46 +02:00
Shih-Chiang Chien
6876b766f5 Bug 1363421 - Part 2, delay the initialization of UserAgentOverrides.jsm until first nsHttpChannel is created. r=mcmanus
UAOverridesBootstrapper.js is introduced to delay the initialization of
UserAgentOverrides.jsm until the creation of the first nsHttpChannel.
Uninit will be triggered at profile-change-net-teardown because no network
traffice after this point.


MozReview-Commit-ID: F8Lpn6RyZEm
2017-05-16 12:11:12 +08:00
Mike Cooper
a184fc4c9b Bug 1361578 - Remove SelfSupport, since it is obsoleted by shield-recipe-client. r=Gijs
MozReview-Commit-ID: 1FCqNa5wxZk
2017-05-19 10:02:11 -07:00
Fischer.json
b2508dd4e6 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI
2017-05-09 10:43:48 -04:00
Edouard Oger
9a8fd0bf29 Bug 1364571 - Delay Weave startup. r=kitcambridge
MozReview-Commit-ID: 4bm1LXLD7lV
2017-05-12 17:01:25 -04:00
Florian Quèze
50b8c6608d Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Chris Pearce
f3ac8026a6 Bug 1362212 - Call HTMLMediaElement.reportCanPlayTelemetry on idle once after browser startup. r=mconley
This causes Gecko to collect telemetry as to whether we can create H.264/AAC
decoders off main thread in the parent process. This means we won't do the I/O
required to load decoding libraries on the main thread any more, and we'll only
do this at a time that doesn't affect the user.

MozReview-Commit-ID: Ih5D5wOZ9ii
2017-05-10 11:31:45 +12:00
Marco Bonardo
a4b8871fe7 Bug 1364002 - Store the user-made search suggestion choice along with userMadeSearchSuggestionChoice. r=past
MozReview-Commit-ID: 46vXbafZvq9
2017-05-11 11:15:47 +02:00
Wes Kocher
01722415ae Backed out changeset 75a14f02f6f7 (bug 1330315) for build failures in TelemetryHistogramData.inc a=backout
MozReview-Commit-ID: KKnLXDjgmqC
2017-05-10 10:45:18 -07:00
Fischer.json
fb54da55cf Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI
2017-05-09 10:43:48 -04:00
Dão Gottwald
baad21ae47 Bug 1363118 - Rename browser.shell.skipDefaultBrowserCheck pref for clarity. r=Gijs
MozReview-Commit-ID: G7a825GWul
2017-05-09 19:11:45 +02:00
Sebastian Hengst
cb1e269eca Backed out changeset 38346bf36faa (bug 1363118) for failing xpcshell's test_browserGlue_urlbar_defaultbehavior_migration.js and test_browserGlue_migration_loop_cleanup.js. r=backout 2017-05-09 18:51:20 +02:00
Dão Gottwald
280573c0d9 Bug 1363118 - Rename browser.shell.skipDefaultBrowserCheck pref for clarity. r=Gijs
MozReview-Commit-ID: 6LHaRAGfLol
2017-05-09 16:21:12 +02:00
Sebastian Hengst
4f8ca12ad5 Backed out changeset 553198d4b70f (bug 1363118) for lint failure at nsBrowserGlue.js:1669. r=backout 2017-05-09 16:18:48 +02:00
Dão Gottwald
203005dd17 Bug 1363118 - Rename browser.shell.skipDefaultBrowserCheck pref for clarity. r=Gijs
MozReview-Commit-ID: EIfXl15GQqJ
2017-05-09 15:56:20 +02:00
Wes Kocher
714b05616e Merge inbound to m-c a=merge
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00
Kris Maglione
5fee2a02a8 Bug 1358921: Lazily load SelfSupportBackend.jsm when first needed. r=florian
MozReview-Commit-ID: 8tG8VcWXRYm
2017-05-02 19:51:17 -07:00