Commit graph

50 commits

Author SHA1 Message Date
Kris Maglione
f99ee35b82 Bug 1480244: Part 5 - Run most framescripts in shared scope. r=mconley
Creating non-shared scopes for frame scripts is fairly expensive. After these
changes it's even more expensive. However, many frame scripts have no use for
the shared scopes at all. Run-once scripts which execute in closures, for
instance, make no use of them. And after bug 1472491, neither do most of our
default frame scripts.

MozReview-Commit-ID: 9PK7bYdQ0yh

--HG--
extra : rebase_source : db2516d2f00a75e233e1957649f2b62a9299b7cd
2018-08-10 13:58:18 -07:00
Kris Maglione
5edc701bb6 Bug 1446585: Remove support for resource entries in bootstrapped chrome.manifest files. r=aswan,MattN,k88hudson
MozReview-Commit-ID: EjymzU6koYX

--HG--
extra : rebase_source : 7b4fc250b5be0f2c16f3797eafb61e7c3955309d
2018-03-16 20:18:46 -07:00
Edouard Oger
25db2f7ed6 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 706d6a9a1187e9b666074d0dd68d03eda3fb448b
2018-02-15 11:24:44 +08:00
Csoregi Natalia
c8a2d994c8 Backed out changeset 22901b9f9199 (bug 1434706) for browser-chrome failures browser_contextmenu_sendtab.js. CLOSED TREE 2018-02-26 21:16:01 +02:00
Edouard Oger
7c03ced862 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 7a19b04f9df52ff58f9837d9d45be54fd3190ec9
2018-02-15 11:24:44 +08:00
Cosmin Sabou
bfd2fc78a3 Backed out changeset a2147499c437 (bug 1434706) for frequent mochitest browser chrome failures on browser_contextmenu_sendpage.js 2018-02-23 22:15:08 +02:00
Edouard Oger
6e2641372c Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : d5f7b31627424b652147674a520ae75571203994
2018-02-15 11:24:44 +08:00
shindli
f2126298f5 Backed out changeset 6e3058771f18 (bug 1434706) for bc6 and X failures in browser/base/content/test/general/browser_contextmenu_input.js and services/fxaccounts/tests/xpcshell/test_accounts.js respectively on a CLOSED TREE 2018-02-23 10:25:56 +02:00
Edouard Oger
1baec66b3d Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 328093c9985c29effb1380e012c35f6da6ee667a
2018-02-15 11:24:44 +08:00
Edouard Oger
837528baa3 Bug 1438451 - Query UIState.jsm instead of FxAccounts in sync onboarding code. r=markh
MozReview-Commit-ID: 4pXFTqDiIbS

--HG--
extra : rebase_source : 3501ccf91946c4ea4ef9fc4b63864c88e77097c0
2018-02-21 16:15:05 +08:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Fred Lin
aeed887beb Bug 1412761 - copy editing;r=Fischer
MozReview-Commit-ID: LDZFo94cMNZ

--HG--
extra : rebase_source : 08092941d743679ed54a5e849af575e699310d67
2017-11-01 09:55:09 +08:00
gasolin
9d7a739181 Bug 1389424 - enable onboarding telemetry via ping-centre;r=emtwo,Fischer,liuche
MozReview-Commit-ID: KWRCnD4lFh9

--HG--
extra : rebase_source : e26de84ffd2e52698c8c23d1c548852b8ebdf549
2017-08-31 10:19:04 +08:00
Sebastian Hengst
e307798bb3 Backed out changeset c94d9d435a0d (bug 1389424) for eslint failure at browser/extensions/onboarding/bootstrap.js:159: Expected space(s) after "catch". r=backout
--HG--
extra : amend_source : 5cba8dde4cce24efa2517ae752f0026f80ca52bb
2017-10-17 18:16:14 +02:00
gasolin
ad15db58af Bug 1389424 - enable onboarding telemetry via ping-centre;r=emtwo,Fischer,liuche
MozReview-Commit-ID: KWRCnD4lFh9

--HG--
extra : rebase_source : 9c04b3c21c469372b041095ade5bf87a03b7da0a
2017-08-31 10:19:04 +08:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Rex Lee
4a265bd8d1 Bug 1392475 - [Onboarding] Turn fox logo to watermark if all tours or notifications are finished. r=Fischer,gasolin
MozReview-Commit-ID: CLbiHqCmxr0

--HG--
extra : rebase_source : d04e9ec333b02e7c0c3f4b48d1b7712272228a80
2017-08-30 15:24:47 +08:00
Ricky Chien
e3a75f22f7 Bug 1392474 - [Onboarding] replace the check box with a “Skip Tour” button r=Fischer
MozReview-Commit-ID: IECHQf03n0z

--HG--
rename : browser/extensions/onboarding/test/browser/browser_onboarding_hide_all.js => browser/extensions/onboarding/test/browser/browser_onboarding_skip_tour.js
extra : rebase_source : d558fa3d3a2777526a76f2683c249984595e8ca6
2017-09-01 23:47:40 +08:00
Fischer.json
f645278af1 Bug 1371538 - Should add the Screenshots tour in the onBoarding overlay, r=flod,rexboy
MozReview-Commit-ID: D7YKZyV2Bm2

--HG--
extra : rebase_source : 85ca8034039364fa3573666e2cc007b6205f90af
2017-08-25 12:11:26 +08:00
gasolin
64c7e01a30 Bug 1366056 - showing v57 tourset for new user tour and update user tour;r=Fischer,mossop,rexboy
MozReview-Commit-ID: JUmPyJiNKFx

--HG--
extra : rebase_source : 0a7a603a780102ba13ebce4c49d43b9145ce13df
2017-08-14 14:30:46 +08:00
Sebastian Hengst
05d6db29ff Backed out changeset f25c91cca4c3 (bug 1366056) for failing browser_all_files_referenced.js. r=backout 2017-08-16 15:28:53 +02:00
gasolin
46a7a96b45 Bug 1366056 - showing v57 tourset for new user tour and update user tour;r=Fischer,mossop,rexboy
MozReview-Commit-ID: JUmPyJiNKFx

--HG--
extra : rebase_source : 05f1ab0f12f018a942a103c20167ec63d02140ac
2017-08-14 14:30:46 +08:00
Dave Townsend
36cf4c603a Bug 1387249: If the add-on is installed at runtime don't wait for browser startup notifications. r=rexboy
MozReview-Commit-ID: 1O1YD30gJbj

--HG--
extra : rebase_source : 299a5fd582b727af801e341e397e8d5ef9882193
2017-08-03 14:45:39 -07:00
Wes Kocher
3c2dc39278 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BgPWEtPV0sy
2017-07-31 17:49:47 -07:00
Marco Castelluccio
d5bbddcc3e Bug 1357517 - Remove Preferences.jsm usage from some browser/extensions/ modules. r=Gijs
--HG--
extra : rebase_source : 88c4cec30759e18d77e7e492747a58364ad82474
2017-07-31 20:18:57 +02:00
Rex Lee
60823446ea Bug 1384045 - Show different contents in sync tour of onboarding for signed-in user.r=flod,mossop
MozReview-Commit-ID: BH2f4ujdHbG

--HG--
extra : rebase_source : 45eee8f6284432275db4c106879fdfc398816c13
2017-07-28 16:54:55 +08:00
Rex Lee
4cbb3e83f9 Bug 1357027 - Should mark the Firefox Sync tour as completed if user sign-in a Firefox Account. r=florian,mossop
MozReview-Commit-ID: 3giuXdqjJc3

--HG--
extra : rebase_source : 27ac2427291d05b56abcd0cce03345943aef3846
2017-07-10 14:10:03 +08:00
Rex Lee
f4762d7c5e Bug 1381407 - Add Fast&Mordern tour in onboarding overlay. r=flod,gasolin,mossop
MozReview-Commit-ID: 7P4BT3xDheV

--HG--
extra : rebase_source : 16d3d27129bfc664fe3c2d75486414454fc13b1e
2017-07-17 18:25:39 +08:00
Rex Lee
cfc0003109 Bug 1371531 - Add single search tour and notification to onboarding. r=flod,mossop
MozReview-Commit-ID: CQJPpYAmOZd

--HG--
extra : rebase_source : 2e8b28898880d6fc74fa068a985f402d2ad32e72
2017-07-11 16:04:49 +08:00
gasolin
3752705ad3 Bug 1371540 - Should add the Library tour in the onBoarding overlay;r=flod,mossop,rexboy
MozReview-Commit-ID: xPtSZfrzS4

--HG--
extra : rebase_source : 4aadfa9744e28b2e96d48d6c5f65429c2e99e5fa
2017-07-18 14:35:51 +08:00
Fischer.json
b370360534 Bug 1372067 - Part 1: Implement the prompt timing policy of the tour notification bar, r=mossop
This commit
- mutes tour notification for the 1st 5 mins on the 1st session
- moves on to next tour notification when
  a. previous tour has been prompted 8 times(8 impressions) or
  b. the last time of changing previous tour is 5 days ago
- removes tour from the notification queue forever after user clicked the close or the action button on notification bar to interact with that tour notification.
- makes each tour only has 2 chances to prompt with notification. Each chance includes 8 impressions and 5-days life time. After these 2 chances, no notification would be prompted for tour.

MozReview-Commit-ID: 8fFxohgEkWm

--HG--
extra : rebase_source : 30da9e102d7ffecb3b731ac95dea7c5281db799c
2017-07-12 12:33:45 +08:00
gasolin
0b11bf9e92 Bug 1377470 - run onboarding scripts after browser UI is ready;r=mossop
MozReview-Commit-ID: BRxWc962EW2

--HG--
extra : rebase_source : f64af8d463b9475d3871b8e031cb9e37349cf0bc
2017-07-06 11:40:26 +08:00
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
Fischer.json
219d62f6f1 Bug 1357021 - Part 1: Handle tours completed state, r=mossop
This commit
- turns on the `onboarding-complete` css style for completed tours
- sets individual tour as completed when action button of that tour is clicked
- sets all tours as completed if hide-the-tour checkbox is checked after toggling the overlay

MozReview-Commit-ID: mps3BrdhOz

--HG--
extra : rebase_source : 3023997897dc80f18b59b69e79a82c211338f88c
2017-06-18 14:46:09 +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
Fischer.json
c8aecb9619 Bug 1357641 - Part 1: Add onboarding tour notification, r=flod,mossop
This commit
- adds onboarding tour notification
- shows still not completed onboarding tour notifications in order
- opens target tour from tour notification for the target tour

MozReview-Commit-ID: AwLtwjoeARQ

--HG--
extra : rebase_source : 264531cf8aaf3f636faecf790a269d0166188f8a
2017-06-21 13:09:29 +08:00
Phil Ringnalda
291cb6e01b Backed out 2 changesets (bug 1357641) for OS X near-permaorange in browser_permissionsPromptDeny.js
Backed out changeset ad8486907154 (bug 1357641)
Backed out changeset 3eb9c03bd0cd (bug 1357641)

MozReview-Commit-ID: DuESQH4FecO
2017-06-22 20:44:50 -07:00
Fischer.json
085aa9b471 Bug 1357641 - Part 1: Add onboarding tour notification, r=flod,mossop
This commit
- adds onboarding tour notification
- shows still not completed onboarding tour notifications in order
- opens target tour from tour notification for the target tour

MozReview-Commit-ID: AwLtwjoeARQ

--HG--
extra : rebase_source : 264531cf8aaf3f636faecf790a269d0166188f8a
2017-06-21 13:09:29 +08:00
Phil Ringnalda
2b19da6e08 Backed out 2 changesets (bug 1357641) for Windows failures in browser_newtab_focus.js
Backed out changeset eb0d8a0d77e7 (bug 1357641)
Backed out changeset 9c86446d0a75 (bug 1357641)

MozReview-Commit-ID: 9PyFoOakveS
2017-06-21 22:05:23 -07:00
Fischer.json
efb9ebb0bb Bug 1357641 - Part 1: Add onboarding tour notification, r=flod,mossop
This commit
- adds onboarding tour notification
- shows still not completed onboarding tour notifications in order
- opens target tour from tour notification for the target tour

MozReview-Commit-ID: AwLtwjoeARQ

--HG--
extra : rebase_source : 264531cf8aaf3f636faecf790a269d0166188f8a
2017-06-21 13:09:29 +08:00
Fischer.json
a228efff93 Bug 1357020 - Should hide the onboarding tour if user explicitly checked the hide-the-tour checkbox, r=gasolin,mossop,rexboy
This patch
- adds one hide-onboarding-tour checkbox
- after toggling the overlay, hides the onboarding tour if user checked hide-the-tour checkbox
- creates the message channel between the chrome process and the content process to set prefs.
- listens to the pref-updated event and then hide the onboarding tour across pages.
- Add one browser_onboarding_hide_tours.js test

MozReview-Commit-ID: 7ZjbrhfO9dB

--HG--
extra : rebase_source : 5c59527ff7cb16996539a4eec49b47a9decafb3a
2017-06-10 16:14:08 +08:00
Rex Lee
ad093f96aa Bug 1357005 - Create onboarding icon which toggles a first-time use dialog on net newtab. r=mossop
MozReview-Commit-ID: J4IAHyVKXAW

--HG--
extra : rebase_source : e9a5a42b00e5f17c3da1416610948bfb9cecba6a
2017-05-22 17:00:16 +08:00
Carsten "Tomcat" Book
39885c6411 Backed out changeset bab63755b35d (bug 1357005) for eslint failure 2017-05-31 08:34:22 +02:00
Rex Lee
df923a8788 Bug 1357005 - Create onboarding icon which toggles a first-time use dialog on net newtab. r=mossop
MozReview-Commit-ID: J4IAHyVKXAW

--HG--
extra : rebase_source : 704002980be8c5a9e0c1c81959868b763ba07502
2017-05-22 17:00:16 +08:00