Commit graph

137 commits

Author SHA1 Message Date
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
f6e34aca2d Bug 1419601 - Indonesian Bahasa Indonesia "id" builds have broken new tab pages. r=k88hudson
MozReview-Commit-ID: Clu62Xs8wnK

--HG--
extra : rebase_source : 72004f2e2074194715094d774f4fda0e7bce8286
2017-11-21 15:37:58 -08: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
Ursula Sarracini
f9759f2737 Bug 1399854 - Intermittent browser/components/newtab/tests/browser/browser_newtab_overrides.js leaked 2 windows until shutdown r=Mardak
MozReview-Commit-ID: e4fs23Rdmn

--HG--
extra : rebase_source : b98e9142c73afbfe79f8102a0601a3fb4a71faf7
2017-11-01 10:11:18 -04:00
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
k88hudson
53838baa80 Bug 1407844 - Don't run aboutNewTabService debug tests on release or beta r=Mardak
MozReview-Commit-ID: Jbxp1bsitKW

--HG--
extra : rebase_source : 7a581fb6cc55823dfd1de5352b3b46b9f73b7dee
2017-10-20 14:07:33 -04: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
Geoff Brown
37c7a69f60 Bug 1399854 - Skip test browser_newtab_overrides.js for 200+ failures; r=me,test-only 2017-10-02 16:31:45 -06: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
Mark Banner
a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01: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
Ricky Chien
9352eae160 Bug 1384402 - Fix broken about:preferences link after reorg v2 r=jaws
MozReview-Commit-ID: LnQsKHhrDWI

--HG--
extra : rebase_source : 627f9dd1c5b02954c2a14ae3fe107de90218083f
2017-07-27 11:30:05 +08:00
Dan Mosedale ext:(%3E)
20769f61be Bug 1384977 - Remove unused PreviewProvider.jsm and refs, r=ursula?
MozReview-Commit-ID: Ee4uIdPJ0Cy

--HG--
extra : rebase_source : e1badbbbee1c2af1ac92e641599e8d540fd21891
2017-07-27 09:26:39 -07:00
Evan Tseng
c4ed872484 Bug 1380205 - Check preferences version for some openPreferences calls need to direct to different pane in different version. r=mconley
MozReview-Commit-ID: DFltTFRkPrA

--HG--
extra : rebase_source : b2e125dc9afb5c5f345512aca27e2b7a594b644c
2017-07-12 09:01:25 +08:00
Geoff Brown
abafca2c00 Bug 1343150 - Disable test_PreviewProvider.js on windows too; r=jmaher 2017-06-19 15:32:41 -06:00
k88hudson
9722cb4fed Bug 1369875 - Turn off activity-stream.enabled for new tab related tests r=Mardak
MozReview-Commit-ID: Gx3itUrHICL

--HG--
extra : rebase_source : 24e0c4e9d083aca104ba15dcc2654ad3a4f764b6
2017-06-02 16:33:18 -04: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
Carsten "Tomcat" Book
e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Geoff Brown
dd4ae649bb Bug 1343150 - Fix non-standard manifest annotation; r=me,test-only 2017-05-15 16:17:03 -06:00
Geoff Brown
ff95d89ced Bug 1343150 - Skip browser_PreviewProvider.js on linux, for frequent time outs; r=me,test-only 2017-05-15 16:02:03 -06: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
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
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
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
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
Alexandre Poirot
c90bccb53a Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
MozReview-Commit-ID: 49JI7NtLwKK

--HG--
extra : rebase_source : 7fb015f56be94c4bbe2d56506653f069c9ad8dd3
2017-04-27 17:58:09 +02:00
Joel Maher
6af97db02d Bug 1355088 - add BUG_COMPONENT to browser/* files. r=mossop
MozReview-Commit-ID: 88mDTdI0oN7
2017-04-19 08:11:47 -04:00
Marco Bonardo
12dcd10d01 Bug 1356567 - root icons should still create a page association if the domain differs. r=adw,kitcambridge
Root domain icons are no more associated with their pages, BUT if the page uses
a root domain icon from another domain, it should still get an association with it
or we couldn't relate the two.

This also fixes an overlooked problem in PlacesTestUtils where Date objects
cross a boundary and fail instanceof checks. This causes failures in the same
test that this patch is modifying.
To protect from future similar issues some protection has been added to updatedPlaces
so that it will crash in debug builds.

MozReview-Commit-ID: 3MTKhGj3ehj

--HG--
extra : rebase_source : 55120252e7ea8abb91f21ca2486deddc43795142
2017-04-14 20:34:27 +02:00
Carsten "Tomcat" Book
16969b40e2 Backed out changeset eb94759f0fcf (bug 1356567) for test failures in own test 2017-04-18 12:58:09 +02:00
Marco Bonardo
5238755b71 Bug 1356567 - root icons should still create a page association if the domain differs. r=adw,kitcambridge
Root domain icons are no more associated with their pages, BUT if the page uses
a root domain icon from another domain, it should still get an association with it
or we couldn't relate the two.

This also fixes an overlooked problem in PlacesTestUtils where Date objects
cross a boundary and fail instanceof checks. This causes failures in the same
test that this patch is modifying.
To protect from future similar issues some protection has been added to updatedPlaces
so that it will crash in debug builds.

MozReview-Commit-ID: 3MTKhGj3ehj

--HG--
extra : rebase_source : e36ba1ab41649927f92fee053c10bf43474a0bcf
2017-04-14 20:34:27 +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
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +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
Ganesh Chaitanya Kale
8d1b6e2ac3 Bug 1343182 - Add updatePlaces' ignoreErrors, ignoreResults and aGroupNotifications to insertMany API in History.jsm. r=mak
MozReview-Commit-ID: 45VbtBu25cP

--HG--
extra : rebase_source : dbae98bcf296ce119980e48a3e303aa279c62dba
2017-04-01 13:10:04 +05:30
Zack Herrick
84361e7e85 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 0266027fb3023d4cb155533193d6809d799de1e4
2017-03-29 11:52:08 -04:00
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Mark Banner
561b6cfb0c Bug 1344027 - Fix most of the remaining ESLint no-undef issues in browser/components. r=jaws
MozReview-Commit-ID: DUnxVITvZgh

--HG--
extra : rebase_source : abe5adf3b024a45c2804d048f078c6a59a936242
2017-03-03 09:29:14 +00: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
Gijs Kruitbosch
88b23dd9a5 Bug 1343850 - fix PlacesProvider.jsm undefined variable (aLastKnownTitle vs. aTitle), r=mak
MozReview-Commit-ID: D86SQTcMLvM

--HG--
extra : rebase_source : f70e2c352a6e22e49ebe48fff0799f0351cf4c16
2017-03-02 13:51:05 +00:00
Gijs Kruitbosch
b0f2da2a20 Bug 1341097 - part 3: don't dispatch oodles of titlechanged notifications for new history entries, r=mak
MozReview-Commit-ID: 7jHOcCQ5ZBb

--HG--
extra : rebase_source : 6dff335e78857e7c860ebe7ec6ea415fe0f9e3f6
2017-02-27 18:26:21 +00:00
Marco Bonardo
816df39b96 Bug 1336291 - Lots of 'TypeError: this._browsers is null' browser_remotenewtab_pageloads.js. r=Felipe
MozReview-Commit-ID: HrQm0Rh9vCN

--HG--
extra : rebase_source : 6f8d74843ab61ebcfccf2138bd7ebc4a35eb6dbf
2017-02-06 18:54:54 +01:00
Marco Bonardo
a1373abd45 Bug 1320481 - thumbnails cache not cleared with clear history on shutdown. r=Felipe
The "places-shutdown" notification is not a good time to remove observers, since
history notifications (and in particular onClearHistory) may happen at the same
time (The sanitizer runs at "profile-change-teardown" that is basically the same
as "places-shutdown").
We can't ensure proper order of these calls, the safest/simplest thing is just
to keep a weak reference and continue observing.

MozReview-Commit-ID: 9zHkDqozXup

--HG--
extra : rebase_source : 9b079d38457e1005c74f53baad19a7e202c08ddd
2017-01-26 17:54:32 +01:00