Commit Graph

171 Commits

Author SHA1 Message Date
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
Andrei Oprea
0a37e27c64 Bug 1442067 - Revert 1428108 set browser.newtabpage.activity-stream.debug by default in local builds. r=Mardak
This reverts commit e997d3b39179176d04e9745e697712204655c507.

MozReview-Commit-ID: HS40TQryCjg
2018-04-20 12:08:46 +02: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
Tooru Fujisawa
f415c74b57 Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09: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
Adam Kasztenny
01b62940da Bug 1355166 - Remove remote newtab's dead code. r=ursula 2018-02-28 16:44:00 +02:00
Sebastian Hengst
9db53dc3da Bug 1440956 - Don't use AppConstants destructuring in test_AboutNewTabService.js because property name and variable name don't match. r=Mardak
MozReview-Commit-ID: 2pVv08lLfGi
2018-02-25 02:05:43 +01:00
Sebastian Hengst
4e51639fe3 merge mozilla-central to autoland on a CLOSED TREE 2018-02-24 03:07:44 +02:00
Florian Quèze
f1a55f73f8 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Andrei Oprea
7434a4297a Bug 1428108 - Set browser.newtabpage.activity-stream.debug by default in local builds. r=Mardak
MozReview-Commit-ID: Gwd2fA6xfoX
2018-02-15 14:23:53 +01: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
Florian Quèze
1838aa9e08 Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
082ca8b2a3 Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Nihanth Subramanya
8e92ec6834 Bug 1426438 - Remove NewTabURL.jsm. r=florian
MozReview-Commit-ID: JDiEzEju3zP
2017-12-21 00:03:12 +05:30
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
Zibi Braniecki
9e6f08de8a Bug 1414390 - Add intl.locale.requested locale list to replace general.useragent.locale. r=jfkthame,mossop
This patch moves us from using an old pref `general.useragent.locale`combined
with `intl.locale.matchOS` for retrieving user requested locale, to use a new
preference `intl.locale.requested` which stores a list of well-formed BCP47
language tags. If set to empty, the OS locales are used. If not set at all,
default locale is used.

We are also adding a piece of code to migrate from old to new system.


MozReview-Commit-ID: 854yQ1kC6Ee
2017-11-01 20:16:21 -07: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
6f1da15a2b Bug 1419601 - Indonesian Bahasa Indonesia "id" builds have broken new tab pages. r=k88hudson
MozReview-Commit-ID: Clu62Xs8wnK
2017-11-21 15:37:58 -08: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
Ursula Sarracini
655296659d Bug 1399854 - Intermittent browser/components/newtab/tests/browser/browser_newtab_overrides.js leaked 2 windows until shutdown r=Mardak
MozReview-Commit-ID: e4fs23Rdmn
2017-11-01 10:11:18 -04:00
Mark Banner
e47ccbfec3 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo
2017-10-26 11:47:01 +01:00
k88hudson
85925c718c Bug 1407844 - Don't run aboutNewTabService debug tests on release or beta r=Mardak
MozReview-Commit-ID: Jbxp1bsitKW
2017-10-20 14:07:33 -04: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
Geoff Brown
7816c75ba3 Bug 1399854 - Skip test browser_newtab_overrides.js for 200+ failures; r=me,test-only 2017-10-02 16:31:45 -06: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
Mark Banner
44963145a5 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk
2017-08-20 18:52:05 +01: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