Граф коммитов

122 Коммитов

Автор SHA1 Сообщение Дата
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
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Mark Banner 16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Florian Quèze 1e42cad36c 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
Florian Quèze a03918c148 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Wes Kocher 269e3163e5 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6wWFiDQ0QJ8
2017-01-10 18:35:54 -08:00
Gijs Kruitbosch a8ec647c33 Bug 1329457, r=bz,dao
MozReview-Commit-ID: 9WNuDkQnyM0

--HG--
extra : rebase_source : 2e82c422eee1b70e6833be41b41378a3a71e70db
extra : amend_source : c8557f4955ea7a5548842cb9bd31935159f7106e
2017-01-09 16:07:57 +00:00
Mark Banner 582fcb8090 Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6

--HG--
extra : rebase_source : 4551e56f56065349fb9ddc8d90e67f9dc84c1701
2017-01-09 10:12:26 +00:00
Florian Quèze 028a82f682 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein f64146d9d7 Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: BwK94W2mHXS

--HG--
extra : rebase_source : a905658829084d3a4018df81f51bb210ef1e645b
2017-01-05 16:43:29 -05:00
Jared Wein 9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein 2bd8ec9d21 Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
MozReview-Commit-ID: 6NqMryvKH9S

--HG--
extra : rebase_source : 264815538de1d0698cbd82e1b995be1b1b07f373
2016-12-28 12:22:09 -05:00
Jared Wein ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher 0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein e916e6e896 Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
MozReview-Commit-ID: 6NqMryvKH9S

--HG--
extra : rebase_source : 4085737de26adb421eb9b3c9e9841d44a1c89fa4
2016-12-28 12:22:09 -05:00
Jared Wein 7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00