Commit graph

62 commits

Author SHA1 Message Date
k88hudson
ddf8f0cb90 Bug 1494427 - [Export] Add locale targeting, ASR onboarding/user pref fixes, test fixes to Activity Stream r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D7196

--HG--
rename : browser/components/newtab/locales/ur/strings.properties => browser/components/newtab/locales/is/strings.properties
extra : moz-landing-system : lando
2018-09-28 20:59:01 +00:00
Zibi Braniecki
83ea94f5ba Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
Depends on D5924

Differential Revision: https://phabricator.services.mozilla.com/D6339

--HG--
extra : moz-landing-system : lando
2018-09-21 15:30:37 +00:00
Ursula Sarracini
9d2d9836e6 Bug 1489962 - Add snippets targeting, Pocket tagging and bug fixes to Activity Stream r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D5914

--HG--
extra : moz-landing-system : lando
2018-09-20 18:36:20 +00:00
Bogdan Tara
b240c5a949 Backed out changeset 8dde92f89a24 (bug 1489962) for browser_asrouter_cfr.js failures. a=backout 2018-09-20 02:42:00 +03:00
Ed Lee
713233eeb6 Bug 1489962 - Add snippets targeting, Pocket tagging and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D5914

--HG--
extra : moz-landing-system : lando
2018-09-19 13:53:10 +00:00
Jay Lim
7d50ddd963 Bug 1482422 - Use UTF-8 character set instead of ASCII when reading Activity Stream scripts with mozJSSubScriptLoader. r=mconley
The default character set that is used to read sub-scripts using
`mozJSSubScriptLoader` is ASCII. Scripts for Activity Stream contains strings
which are encoded in UTF-8, and therefore, reading them in ASCII will display
the strings incorrectly.

Differential Revision: https://phabricator.services.mozilla.com/D3160

--HG--
extra : moz-landing-system : lando
2018-08-13 14:08:16 +00:00
Ed Lee
3ac667b89e Bug 1479836 - Add recommendation actions, title-cased headers and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: 5NchCD9TNNS

--HG--
extra : rebase_source : e00981b7891b298d277a829d7bc041921cd1b83c
2018-07-31 10:31:47 -07:00
Gijs Kruitbosch
dcbec7c8b6 Bug 1478404 - remove _xpcom_categories annotations as they're dead code, r=florian
Support for the _xpcom_categories property was removed in Bug 568691,
but we left a bunch of consumers behind, and it's been cargo-culted a bit more.
We should remove the remaining remnants.

Differential Revision: https://phabricator.services.mozilla.com/D2429

--HG--
extra : moz-landing-system : lando
2018-07-31 17:39:25 +00:00
Ed Lee
8716065e9c Bug 1478870 - Add component-ified tooling, ordered onboarding and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: K14RSdAbVH7

--HG--
extra : rebase_source : f84c082385d46e401bae2ff17a71bb5f54a932cf
2018-07-27 13:01:36 -07:00
ahillier
ee9dbcb8e0 Bug 1471243 - Do not prerender ActivityStream for about:welcome r=k88hudson
MozReview-Commit-ID: IDyWGnuMndy

--HG--
extra : rebase_source : bd20b556d7680624113696f2caeecf8a6e8bd51e
2018-07-09 15:11:03 -07:00
imjching
8930e3d6fa Bug 1416066 - Use mozJSSubScriptLoader to inject Activity Stream scripts when DOMContentLoaded is fired. r=k88hudson
We will add a DOMContentLoaded event listener to the Activity Stream document when the
content-document-interactive event is fired. When DOMContentLoaded event is
fired, we will use mozJSSubScriptLoader to inject scripts into the page.

MozReview-Commit-ID: 7l4JBVfpul0

--HG--
extra : rebase_source : 33a6095b91c4ce29d2e184cfce71cc4824784bce
2018-06-22 17:38:34 -04:00
imjching
b5a599ad76 Bug 1416066 - Add preference observer for browser.tabs.remote.separatePrivilegedContentProcess in aboutNewTabService.js. r=k88hudson
MozReview-Commit-ID: Ken4VffnNyE

--HG--
extra : rebase_source : f500c7d19292e4414fa6fac30cf0bf799857f992
2018-06-28 17:05:29 -04:00
Ed Lee
7e85fbddc9 Bug 1473744 - Add welcome skipping, email focusing and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: LK1x1a01LKm

--HG--
extra : rebase_source : 3d623d86ffa3c7069e30e4c4ca793af200027314
2018-07-05 15:56:16 -07:00
Ed Lee
7f2da678f7 Bug 1472302 - Add router previews, prerender noscripts and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: 19dFAQNpGLD

--HG--
extra : rebase_source : 85f6c72416dd3c38823048a039a7777d8fa0f877
2018-06-29 11:59:55 -07:00
Ed Lee
1d122eac32 Bug 1466971 - Add Blob images, Jexl targets and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: NRTSgzuIzW

--HG--
extra : rebase_source : 4103ffba7c6f6b0c2004245855c1fc67a0dd1843
2018-06-05 14:04:52 -07:00
Felipe Gomes
683f921f8c Bug 1409054 - Remove code from the old about:home. r=Mardak
MozReview-Commit-ID: JrgIFr2kAvI

--HG--
extra : rebase_source : 2636bfb0aa6b3fd81a3380c844776c3e0c048c8e
2018-05-22 00:45:44 -03:00
Ed Lee
2a55825f16 Bug 1462427 - Add managing extensions, identifying webextensions and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: AUYXbWpZU9

--HG--
extra : rebase_source : 5a2621525bf1f56792d4204ff8428faa86e039db
2018-05-17 13:13:11 -07:00
Ed Lee
d949ef8c85 Bug 1457543 - Fix missing Highlights, download position and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: 3aT0MJ2CJNM

--HG--
extra : rebase_source : e9aa6ffb9ba8d195c15d2a30898f48c26b7c84a0
2018-05-02 15:23:03 -07:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Ed Lee
28bf7b2e86 Bug 1446053 - Add about:preferences section, sidebar removal and bug fixes to Activity Stream. r=ursula
Also adds new crh locale and in-content prefs test fix.

MozReview-Commit-ID: DFs0s710wZ4

--HG--
extra : rebase_source : 7edf0d5401cdb8da9559d98fe7837d6f23889c85
2018-03-15 10:38:18 -07:00
Sebastian Hengst
cc3e04044c Backed out changeset b0af4c10b8bb (bug 1446053) for frequently causing forbidden connections e.g. during browser-chrome's browser_privacypane_3.js. a=backout 2018-03-16 19:40:00 +02:00
Ed Lee
a7b9df596f Bug 1446053 - Add about:preferences section, sidebar removal and bug fixes to Activity Stream. r=ursula
Also adds new crh locale and in-content prefs test fix.

MozReview-Commit-ID: DFs0s710wZ4

--HG--
extra : rebase_source : fc74ec586b85c3b8a34d61027b98c0a2ff7a1291
2018-03-15 10:38:18 -07:00
Ed Lee
a9cc21a58e Bug 1429964 - Re-enable browser_packaged_as_locales.js with dynamically testing app locales. r=gandalf
MozReview-Commit-ID: FDyzUg0sq3W

--HG--
extra : rebase_source : 3c818c276a136821a750b2c79d51a094b983a9d1
2018-03-08 11:12:50 -08:00
Ed Lee
2b013a5250 Bug 1383599 - browser.newtabpage.enabled = false is not working. r=ursula
MozReview-Commit-ID: HUBr10vb9qJ

--HG--
extra : rebase_source : 222994b1f0f808985a5963dcb6cf1e1ea1bba097
2018-03-06 23:49:05 -08:00
Ed Lee
ce409598e9 Bug 1440772 - Add Section menu, Pocket highlights and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: CYzpltysMbd

--HG--
extra : rebase_source : 9cf3c0aa63763c70a40ca30852a637d66318f4fc
2018-02-23 12:36:37 -08:00
Ed Lee
54aa7c731b Bug 1438651 - Expose the locale that activity stream uses for content pages. r=ursula
MozReview-Commit-ID: 7tOlqFOgpfQ

--HG--
extra : rebase_source : 283698efae5b51df71b67d4378d2ded24faa5b69
2018-02-01 17:30:08 -08:00
Ed Lee
6497dc1292 Bug 1433324 - Part 3. Assume true for browser.newtabpage.activity-stream.enabled. r=ursula
MozReview-Commit-ID: KMgNw5QsMIX

--HG--
extra : rebase_source : b3f3e2dbd568e88c0e8461fb4bfadbbdd9baaa99
2018-02-13 16:53:50 -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
Ed Lee
9712b719c4 Bug 1430272 - Add preloaded updating, whitelisted regions and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: 6wWmVoXCQO5

--HG--
extra : rebase_source : 8229ec0f7934a2d36dae2a8c1f986b1b408e1786
2018-01-12 14:12:57 -08:00
Ed Lee
36b8b0ba57 Bug 1426203 - Add ES modules, pinned counts and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: K1Jyn2qFDPr

--HG--
extra : rebase_source : d0497c84616433ba8b61d4ada10810db11bed89e
2017-12-20 12:10:35 -08:00
Ed Lee
485a12330a Bug 1421917 - Fix snippets blocklist, search autofocus and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: G7JwAzRDzUU

--HG--
extra : rebase_source : 7650ae5dc23bfd8f5cd53cbddcd1812b34a898ce
2017-12-01 16:38:17 -08:00
Mark Striemer
8a1f9ea7ae Bug 1390158 - Notify user of extension controlling New Tab on first access r=aswan,jaws
MozReview-Commit-ID: 1g9d4UTuOgr

--HG--
extra : rebase_source : 29e07cff103e7751bf4ca414a88f89136d3ac237
2017-11-22 19:00:58 -06:00
Ed Lee
cf71bbf47e Bug 1415812 - Fix broken Pocket disclaimer, missing rich icons and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: CAHA3b13jCE

--HG--
extra : rebase_source : a147b717fe2915c20d6e4e1e8f752769295331e7
2017-11-15 12:27:46 -08:00
Ed Lee
8cc937f0de Bug 1413550 - Add per-platform styles, per-locale html and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: I7Y4nfrAvLL

--HG--
extra : rebase_source : 82a7c81ba58e294761c0cb25a3b1a2253a22d541
2017-11-03 12:08:30 -07:00
Sebastian Hengst
8c8a36efd9 Backed out changeset def95432b0a1 (bug 1413550) on request from Mardak for test failure. r=backout on a CLOSED TREE 2017-11-04 01:34:19 +01:00
Ed Lee
dad9d3748b Bug 1413550 - Add per-platform styles, per-locale html and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: I7Y4nfrAvLL

--HG--
extra : rebase_source : b0b410b95a991b8c57b9f79f2a906137e6882c45
2017-11-03 12:08:30 -07:00
Ed Lee
792cf16a1f Bug 1412930 - Package localized prerendered files. r=k88hudson
MozReview-Commit-ID: JUPAkCBhvPc

--HG--
extra : rebase_source : a8b3aa042009ae26d0e82b3d512f4c4458f46cb9
2017-10-30 13:13:35 -07:00
k88hudson
9b32fa2895 Bug 1405693 - Use dev build of React for Activity Stream if browser.newtabpage.activity-stream.debug is true r=Mardak
MozReview-Commit-ID: 13aqAEVUMNs

--HG--
extra : rebase_source : 9efb24c131b66e91b11e5f20473c1dfe0f606f0e
2017-10-04 10:59:45 -04:00
k88hudson
897a0c2c24 Bug 1399696 - aboutNewTabService should initialize with the correct _activityStreamPrerender value r=Mardak
MozReview-Commit-ID: BrLNwO74S5q

--HG--
extra : rebase_source : 64838e834bf3e7b1d92d8994111882c490e8d342
2017-09-15 10:33:15 -04:00
k88hudson
22553dbad7 Bug 1398819 - Turn on prerendered version of activity stream in aboutNewTabService r=Mardak
MozReview-Commit-ID: 3v9UR0A9K1z

--HG--
extra : rebase_source : f7d9894ef0a2e168964ff7f0d7284e4165874a47
2017-09-11 13:22:44 -04: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
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
Mark Banner
4fb45e5b8c Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM

--HG--
extra : rebase_source : e9215288195f1fe683832db53d87dbe77c697b4c
2017-05-16 22:22:42 +01:00
Ursula Sarracini
1fb51e5e8f Bug 1360316 - Replace NewTabPrefsProvider in aboutNewTabService r=Mardak
MozReview-Commit-ID: 83viGxE2ezT

--HG--
extra : rebase_source : 69f1ea69dc68561b16ad9c057d7c1f297c5beb38
2017-05-01 11:42:44 -04:00
Ursula Sarracini
6b1858e254 Bug 1340181 - Hide Activity Stream URL in URLbar r=fkiefer,mconley
MozReview-Commit-ID: F0P5tn2wyG

--HG--
extra : rebase_source : a9f766913b8340e12a4f526dc741e8ed752e6acf
2017-02-22 13:18:09 -05:00