1120 Commits

Author SHA1 Message Date
Doug Thayer
df2779bb50 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

--HG--
extra : rebase_source : 56d364ce6fd3afe54fc1be797c3efb3dda7623aa
2017-05-18 13:17:38 -07:00
Doug Thayer
82301632cc 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

--HG--
rename : browser/base/content/test/appUpdate/.eslintrc.js => toolkit/mozapps/update/tests/browser/.eslintrc.js
rename : browser/base/content/test/appUpdate/browser.ini => toolkit/mozapps/update/tests/browser/browser.ini
rename : browser/base/content/test/appUpdate/browser_updatesBackgroundWindow.js => toolkit/mozapps/update/tests/browser/browser_updatesBackgroundWindow.js
rename : browser/base/content/test/appUpdate/browser_updatesBackgroundWindowFailures.js => toolkit/mozapps/update/tests/browser/browser_updatesBackgroundWindowFailures.js
rename : browser/base/content/test/appUpdate/browser_updatesBasicPrompt.js => toolkit/mozapps/update/tests/browser/browser_updatesBasicPrompt.js
rename : browser/base/content/test/appUpdate/browser_updatesBasicPromptNoStaging.js => toolkit/mozapps/update/tests/browser/browser_updatesBasicPromptNoStaging.js
rename : browser/base/content/test/appUpdate/browser_updatesCantApply.js => toolkit/mozapps/update/tests/browser/browser_updatesCantApply.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadCompleteSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadCompleteSize.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadPartialSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadPartialSize.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadSizes.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadSizes.js
rename : browser/base/content/test/appUpdate/browser_updatesCompletePatchApplyFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesCompletePatchApplyFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesCompletePatchWithBadCompleteSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompletePatchWithBadCompleteSize.js
rename : browser/base/content/test/appUpdate/browser_updatesDownloadFailures.js => toolkit/mozapps/update/tests/browser/browser_updatesDownloadFailures.js
rename : browser/base/content/test/appUpdate/browser_updatesMalformedXml.js => toolkit/mozapps/update/tests/browser/browser_updatesMalformedXml.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailureWithCompleteAvailable.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailureWithCompleteAvailable.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailureWithCompleteValidationFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailureWithCompleteValidationFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchWithBadPartialSize.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchWithBadPartialSize.js
extra : rebase_source : 24048650b23eff0a1da9679d1e9b5e1db1900287
2017-05-19 08:56:22 -07:00
Marco Bonardo
24fd6748c2 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

--HG--
extra : rebase_source : d96ee8098e145c325c7a754f2b2017015884a70f
2017-05-23 13:01:46 +02:00
Shih-Chiang Chien
0131b8b831 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

--HG--
extra : rebase_source : 7c3649b50ad8594dc0968961fbbd2766d0d98b0a
2017-05-16 12:11:12 +08:00
Mike Cooper
94879bdf84 Bug 1361578 - Remove SelfSupport, since it is obsoleted by shield-recipe-client. r=Gijs
MozReview-Commit-ID: 1FCqNa5wxZk

--HG--
extra : rebase_source : a7a20b4376ecaf2d4e91da27a7b7b32091f03dbd
2017-05-19 10:02:11 -07:00
Fischer.json
c0472057e4 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : e8b4399bd1e3fc5e5b220e80d6694c00a4b7e482
2017-05-09 10:43:48 -04:00
Edouard Oger
3d2e65ee7e Bug 1364571 - Delay Weave startup. r=kitcambridge
MozReview-Commit-ID: 4bm1LXLD7lV

--HG--
extra : rebase_source : c1b14b70e4d952870800387f16c7fecab9667b49
2017-05-12 17:01:25 -04:00
Florian Quèze
1d0e28a791 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
5e3539e504 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
bf01ad5128 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

--HG--
extra : rebase_source : acc63a3f0f4f1e165d23323ad754e83df1009945
2017-05-10 11:31:45 +12:00
Marco Bonardo
aa72e95657 Bug 1364002 - Store the user-made search suggestion choice along with userMadeSearchSuggestionChoice. r=past
MozReview-Commit-ID: 46vXbafZvq9

--HG--
extra : rebase_source : a681cebc2ff2354502950a45828642f05f06f8b1
2017-05-11 11:15:47 +02:00
Wes Kocher
ea3b6b9f1e Backed out changeset 75a14f02f6f7 (bug 1330315) for build failures in TelemetryHistogramData.inc a=backout
MozReview-Commit-ID: KKnLXDjgmqC

--HG--
extra : rebase_source : 29e2b567cd0bc75cc4e0b22af20c7efaeb73a259
2017-05-10 10:45:18 -07:00
Fischer.json
7102edfb97 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : 68ed5ae4ff04c79aab70e288276ca527a807a435
2017-05-09 10:43:48 -04:00
Dão Gottwald
c15d6d3391 Bug 1363118 - Rename browser.shell.skipDefaultBrowserCheck pref for clarity. r=Gijs
MozReview-Commit-ID: G7a825GWul

--HG--
extra : rebase_source : b0fc372b702ef35ca900e12d5dd67e07bfcbede0
2017-05-09 19:11:45 +02:00
Sebastian Hengst
0130891783 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
6415c9ce31 Bug 1363118 - Rename browser.shell.skipDefaultBrowserCheck pref for clarity. r=Gijs
MozReview-Commit-ID: 6LHaRAGfLol

--HG--
extra : rebase_source : 334cfbcd023900ce8ed8ea9654ebfaebd27bddc1
2017-05-09 16:21:12 +02:00
Sebastian Hengst
032ca795f0 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
24e81f8901 Bug 1363118 - Rename browser.shell.skipDefaultBrowserCheck pref for clarity. r=Gijs
MozReview-Commit-ID: EIfXl15GQqJ

--HG--
extra : rebase_source : df140a6973fd5ac076d23eb41d54a4a476e3c597
2017-05-09 15:56:20 +02:00
Wes Kocher
21203b47b5 Merge inbound to m-c a=merge
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00
Kris Maglione
d6151328ad Bug 1358921: Lazily load SelfSupportBackend.jsm when first needed. r=florian
MozReview-Commit-ID: 8tG8VcWXRYm

--HG--
extra : rebase_source : dfc43aa4a77b5dbcbeb998e1b481daf5019aa80a
2017-05-02 19:51:17 -07:00
Kris Maglione
aeb060de85 Bug 1358921: Lazily load ReaderParent.jsm when first needed. r=florian
MozReview-Commit-ID: 5UkSnU5sJsm

--HG--
extra : rebase_source : 08d1a24ca158cd91bd1691f1c230e4bfbacf149b
2017-04-23 13:27:35 -07:00
Kris Maglione
22688fc220 Bug 1358921: Lazily load LoginManagerParent.jsm when first needed. r=florian
MozReview-Commit-ID: 4Aq0mBGXBX3

--HG--
extra : rebase_source : eb8bdb8efb65d758e1ddf5d6ffd6d07736763139
2017-05-02 22:42:28 -07:00
Kris Maglione
df4bfbccad Bug 1358921: Lazily load ContentPrefServiceParent.jsm when first needed. r=florian
MozReview-Commit-ID: 4JSdg1eJFbP

--HG--
extra : rebase_source : acc8b3ffd7a3399526a53f1af8d8643437ad1b2c
2017-04-29 13:38:52 -07:00
Kris Maglione
1c6c698ee0 Bug 1358921: Lazily load Feeds.jsm when first needed. r=florian
MozReview-Commit-ID: JLTn01mmDO5

--HG--
extra : rebase_source : d76b554b611ac63955052bca09dff68f53bce99c
2017-04-23 13:02:49 -07:00
Kris Maglione
9c4e5dce20 Bug 1358921: Lazily load RemotePrompt.jsm when first needed. r=florian
MozReview-Commit-ID: 95u2FozBiqk

--HG--
extra : rebase_source : 940bcb1eb94b3ccc3481e3a8bcbaf8d0b8bad0a2
2017-04-23 13:00:46 -07:00
Kris Maglione
2e8e2cf455 Bug 1358921: Lazily load ContentClick.jsm when first needed. r=florian
MozReview-Commit-ID: 3Ogl4SaZ5t

--HG--
extra : rebase_source : 23a5f45cffbc8ca34590382326fbb55a5f7f362b
2017-04-23 12:58:18 -07:00
Kris Maglione
2204b8f326 Bug 1358921: Lazily load FormValidationHandler.jsm when first needed. r=florian
MozReview-Commit-ID: GI33wkhutgP

--HG--
extra : rebase_source : a4d50b23148e1625da93da45998fa3466725973a
2017-05-02 20:08:30 -07:00
Kris Maglione
1daaeec14c Bug 1358921: Lazily load ContentSearch.jsm when first needed. r=florian
MozReview-Commit-ID: 2iN85WYKtkS

--HG--
extra : rebase_source : 1abc83b3860429e6439513f0aa6ca26358639681
2017-04-23 13:05:39 -07:00
Kris Maglione
19a2312fe8 Bug 1358921: Lazily load AboutHome.jsm when first needed. r=florian
MozReview-Commit-ID: 6pzUBmzoFDp

--HG--
extra : rebase_source : 07debf9e9e31065605306362bd57245199ed8c24
2017-04-23 12:48:38 -07:00
Kris Maglione
f62862f632 Bug 1358921: Lazily load webrtcUI.jsm when first needed. r=florian
MozReview-Commit-ID: LRtpyBaRCMA

--HG--
extra : rebase_source : 698e702af3893bbbcf544eeb2ef1622072a0b67c
2017-05-02 19:50:20 -07:00
Andrew Swan
d326378bfe Bug 1352204 Update non-MPC extension notification r=andym
MozReview-Commit-ID: E9hqJqySA3v

--HG--
extra : rebase_source : bf916d46ec21cb6594cd48308057291e214b97a6
2017-05-01 12:04:36 -07:00
Ursula Sarracini
d02542fcae Bug 1345122 - Update NewTabUtils.jsm for Activity Stream's needs r=mak
MozReview-Commit-ID: 3SpJucjKNby

--HG--
extra : rebase_source : 4613cc7c8ab832cbf605d50e385513b6b84a75ee
2017-04-28 10:00:30 -04:00
Sebastian Hengst
e023230ecb Backed out changeset a6ae98895393 (bug 1352204) 2017-05-02 20:18:32 +02:00
Andrew Swan
72994a8047 Bug 1352204 Update non-MPC extension notification r=andym
MozReview-Commit-ID: E9hqJqySA3v

--HG--
extra : rebase_source : 331c781932bdde152cc1a4cf2f36487bdd9b329a
2017-05-01 12:04:36 -07:00
Gijs Kruitbosch
c4d69b8e6d Bug 1329712 - stop importing AutoMigrate.jsm early on startup now that we no longer observe places changes, r=mak
MozReview-Commit-ID: FbXkqLLSyZg

--HG--
extra : rebase_source : 2d258eb16f95f5b1e496a118c502ac8232d979c3
2017-04-25 23:04:21 +01:00
flyingrub
2c46cd7788 Bug 1121966 - Change DISPLAY_SCALING_<OS> histograms to a single r=chutten
DISPLAY_SCALING

Replaced the os specific histograms by a single one.

MozReview-Commit-ID: FTwJmxh9sGu

--HG--
extra : rebase_source : 333719632ae2b658685249c51e7a8fbda20cfcde
2017-03-17 11:31:10 +01:00
Andrew Swan
e817ea40d7 Bug 1356462 Show a notification when non-MPC extensions are disabled r=mossop
MozReview-Commit-ID: 8KUhRe91AFt

--HG--
extra : rebase_source : f5e66c416587387f42a1c29099770e962e8cdee8
2017-04-19 11:30:24 -07:00
Jim Porter
3e94962f82 Bug 1358197 - Fix the animation pref migration r=jaws
This is just a small fix to the previous commit for bug 1352069 because one
line in the pref migration code was mispasted.

MozReview-Commit-ID: LnpUHKGAoKa

--HG--
extra : rebase_source : b16d6cfc83c2560025ff4fed626a8c59ce42f3fb
2017-04-20 12:16:20 -05:00
Jim Porter
3517459260 Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws
This rolls browser.tabs.animate, browser.fullscreen.animate, and
alerts.disableSlidingEffect into a single pref; if any of these are disabled,
we'll disable the new pref too (toolkit.cosmeticAnimations.enabled). Most
future animations will also be subject to this pref.

MozReview-Commit-ID: 77pLMtERDna

--HG--
extra : rebase_source : 8939e453c2277caa4a90123ae09bb542aaa421ed
2017-04-11 13:47:31 -05:00
Dão Gottwald
21dfebdfc4 Bug 1357812 - Remove "Upgraded notifications" notification from UI migration. r=kitcambridge
MozReview-Commit-ID: 4hrPTyqQ9ge

--HG--
extra : rebase_source : 44b75ff45c463490adbf609c1f5a55002a03d533
2017-04-19 18:43:00 +02:00
Florian Queze
4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
a363fb8c8b Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Dão Gottwald
07838f62ff Bug 1356129 - Remove another batch of old UI migration steps. r=mak
MozReview-Commit-ID: 189gkQvVVTf

--HG--
extra : rebase_source : 24f6b8071f5de13271d80a1e4f2a49bd68850c68
2017-04-13 11:59:33 +02:00