Commit Graph

56 Commits

Author SHA1 Message Date
Ed Lee
b0170e3890 Bug 1479836 - Add recommendation actions, title-cased headers and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: 5NchCD9TNNS
2018-07-31 10:31:47 -07:00
Gijs Kruitbosch
b9e656a15d 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
2018-07-31 17:39:25 +00:00
Ed Lee
deae77cabb Bug 1478870 - Add component-ified tooling, ordered onboarding and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: K14RSdAbVH7
2018-07-27 13:01:36 -07:00
ahillier
baf2bc4783 Bug 1471243 - Do not prerender ActivityStream for about:welcome r=k88hudson
MozReview-Commit-ID: IDyWGnuMndy
2018-07-09 15:11:03 -07:00
imjching
5646c01b25 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
2018-06-22 17:38:34 -04:00
imjching
7560652db7 Bug 1416066 - Add preference observer for browser.tabs.remote.separatePrivilegedContentProcess in aboutNewTabService.js. r=k88hudson
MozReview-Commit-ID: Ken4VffnNyE
2018-06-28 17:05:29 -04:00
Ed Lee
e2be417c9d Bug 1473744 - Add welcome skipping, email focusing and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: LK1x1a01LKm
2018-07-05 15:56:16 -07:00
Ed Lee
f3320743c1 Bug 1472302 - Add router previews, prerender noscripts and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: 19dFAQNpGLD
2018-06-29 11:59:55 -07:00
Ed Lee
255913e61d Bug 1466971 - Add Blob images, Jexl targets and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: NRTSgzuIzW
2018-06-05 14:04:52 -07:00
Felipe Gomes
d624e158f9 Bug 1409054 - Remove code from the old about:home. r=Mardak
MozReview-Commit-ID: JrgIFr2kAvI
2018-05-22 00:45:44 -03:00
Ed Lee
259c14f92e Bug 1462427 - Add managing extensions, identifying webextensions and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: AUYXbWpZU9
2018-05-17 13:13:11 -07:00
Ed Lee
fbf2dd50fb Bug 1457543 - Fix missing Highlights, download position and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: 3aT0MJ2CJNM
2018-05-02 15:23:03 -07:00
Kris Maglione
fd7e9e6a69 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
2018-04-22 20:55:06 -07:00
Ed Lee
ec05cc1618 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
2018-03-15 10:38:18 -07:00
Sebastian Hengst
01045baeea 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
fb96c98681 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
2018-03-15 10:38:18 -07:00
Ed Lee
4c62b211f7 Bug 1429964 - Re-enable browser_packaged_as_locales.js with dynamically testing app locales. r=gandalf
MozReview-Commit-ID: FDyzUg0sq3W
2018-03-08 11:12:50 -08:00
Ed Lee
a6ecf32101 Bug 1383599 - browser.newtabpage.enabled = false is not working. r=ursula
MozReview-Commit-ID: HUBr10vb9qJ
2018-03-06 23:49:05 -08:00
Ed Lee
99f6bceb95 Bug 1440772 - Add Section menu, Pocket highlights and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: CYzpltysMbd
2018-02-23 12:36:37 -08:00
Ed Lee
5831a1f0c8 Bug 1438651 - Expose the locale that activity stream uses for content pages. r=ursula
MozReview-Commit-ID: 7tOlqFOgpfQ
2018-02-01 17:30:08 -08:00
Ed Lee
750f3fa273 Bug 1433324 - Part 3. Assume true for browser.newtabpage.activity-stream.enabled. r=ursula
MozReview-Commit-ID: KMgNw5QsMIX
2018-02-13 16:53:50 -08:00
Andrew McCreight
272cee1e65 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
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 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
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d 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
fd67f090b2 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
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb 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
683a97d172 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
2018-01-29 15:20:18 -08:00
Ed Lee
c7ee03b1ba Bug 1430272 - Add preloaded updating, whitelisted regions and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: 6wWmVoXCQO5
2018-01-12 14:12:57 -08:00
Ed Lee
b2f1c09f7d Bug 1426203 - Add ES modules, pinned counts and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: K1Jyn2qFDPr
2017-12-20 12:10:35 -08:00
Ed Lee
c9c8810ec5 Bug 1421917 - Fix snippets blocklist, search autofocus and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: G7JwAzRDzUU
2017-12-01 16:38:17 -08:00
Mark Striemer
491bc2ad0f Bug 1390158 - Notify user of extension controlling New Tab on first access r=aswan,jaws
MozReview-Commit-ID: 1g9d4UTuOgr
2017-11-22 19:00:58 -06:00
Ed Lee
b2302e42c5 Bug 1415812 - Fix broken Pocket disclaimer, missing rich icons and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: CAHA3b13jCE
2017-11-15 12:27:46 -08:00
Ed Lee
26757837ab Bug 1413550 - Add per-platform styles, per-locale html and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: I7Y4nfrAvLL
2017-11-03 12:08:30 -07:00
Sebastian Hengst
3df89fe400 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
4f9e6159cf Bug 1413550 - Add per-platform styles, per-locale html and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: I7Y4nfrAvLL
2017-11-03 12:08:30 -07:00
Ed Lee
8d735386ac Bug 1412930 - Package localized prerendered files. r=k88hudson
MozReview-Commit-ID: JUPAkCBhvPc
2017-10-30 13:13:35 -07:00
k88hudson
55243b2a65 Bug 1405693 - Use dev build of React for Activity Stream if browser.newtabpage.activity-stream.debug is true r=Mardak
MozReview-Commit-ID: 13aqAEVUMNs
2017-10-04 10:59:45 -04:00
k88hudson
93e53801d0 Bug 1399696 - aboutNewTabService should initialize with the correct _activityStreamPrerender value r=Mardak
MozReview-Commit-ID: BrLNwO74S5q
2017-09-15 10:33:15 -04:00
k88hudson
610db1288b Bug 1398819 - Turn on prerendered version of activity stream in aboutNewTabService r=Mardak
MozReview-Commit-ID: 3v9UR0A9K1z
2017-09-11 13:22:44 -04:00
Ed Lee
c8a637b8a6 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
2017-08-01 12:30:33 -07:00
Marco Castelluccio
91823bf6b0 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/components/* files. r=Gijs 2017-07-31 13:25:41 +02:00
Mark Banner
9fc03b12e9 Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM
2017-05-16 22:22:42 +01:00
Ursula Sarracini
ee008033fb Bug 1360316 - Replace NewTabPrefsProvider in aboutNewTabService r=Mardak
MozReview-Commit-ID: 83viGxE2ezT
2017-05-01 11:42:44 -04:00
Ursula Sarracini
36dac5da7b Bug 1340181 - Hide Activity Stream URL in URLbar r=fkiefer,mconley
MozReview-Commit-ID: F0P5tn2wyG
2017-02-22 13:18:09 -05:00
Florian Quèze
f412bc04ab Bug 1330464 - script-generated removal of additional parameters that don't exist in the interface, r=jaws. 2017-01-13 20:21:53 +01:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
0c024fa9ca Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Olivier Yiptong
227bab9ee8 Bug 1258728 - keep remote newtab version in a pref r=ursula
MozReview-Commit-ID: GNk74kkxHcV
2016-03-24 16:28:16 -04:00
Olivier Yiptong
da79a94655 Bug 1258728 - remote newtab path starts with /newtab/ r=ursula
MozReview-Commit-ID: LTBLT5p0iM5
2016-03-24 16:28:10 -04:00
Olivier Yiptong
7a3fb00651 Bug 1239118 - Export an object named after module in NewTabRemoteResource r=ursula
MozReview-Commit-ID: EB7Or6jhoN7
2016-03-03 15:51:38 -05:00