Commit Graph
531 Commits
Author SHA1 Message Date
Wes Kocher 4253ce7dce Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Ryan VanderMeulen 252c89b8d4 Backed out changesets d0d30a90efa1 and fd1d81b93380 (bug 1305237) for causing bug 1403932. 2017-09-28 17:55:43 -04:00
Shane Caraveo d7ebe7ee66 Bug 1305237 Expose frameAncestors to webextensions, r=bz,kmag
MozReview-Commit-ID: HpneTIKPoS1
2017-09-27 07:58:17 -07:00
Kris Maglione 813dfdec77 Bug 1402944: Part 5 - Move request filtering and permission matching into ChannelWrapper. r=mixedpuppy,ehsan
This allows us to reuse the same URLInfo objects for each permission or
extension that we match, and also avoids a lot of XPConnect overhead we wind
up incurring when we access URI objects from the JS side.

MozReview-Commit-ID: GqgVRjQ3wYQ
2017-09-27 18:15:12 -07:00
Robert Strong bf95f344c1 Bug 1402376 - test code - Add whether the client has an incompatible version of JAWS to the update url. r=jimm 2017-09-22 12:45:39 -07:00
Ed Lee 9b169c841f Bug 1401316 - Use favicon from either https or http version of the page. r=ursula
MozReview-Commit-ID: 3W3OUu0gffH
2017-09-19 12:51:47 -07:00
Sebastian Hengst bf96774406 Backed out changeset 26f9c5c3f434 (bug 1401316) for failing xpcshell's toolkit/modules/tests/xpcshell/test_NewTabUtils.js. r=backout 2017-09-19 23:42:24 +02:00
Ed Lee 6528d1e4d9 Bug 1401316 - Use favicon from either https or http version of the page. r=ursula
MozReview-Commit-ID: 3W3OUu0gffH
2017-09-19 12:51:47 -07:00
Mike de Boer 16f74e0a53 Bug 1354536 - Part 2 - Add an option to ActivityStreamLinks.getHighlights() to allow results to be returned including favicons. r=Mardak
MozReview-Commit-ID: 5NCTCtooScy
2017-09-19 16:17:09 +02:00
Sebastian Hengst 3da80f316b merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Ed Lee 051c3bd94b Bug 1398955 - Include url with RemotePage messages. r=mossop
MozReview-Commit-ID: CkwHOpTAvUw
2017-09-11 15:17:38 -07:00
Kris Maglione 0ea46b172b Bug 1391707: Follow-up: Update DeferredTask tests not to use generator functions. r=me
MozReview-Commit-ID: 8ertwxW0rRv
2017-09-11 17:05:11 -07:00
Ursula Sarracini 5aba9ba9ec Bug 1396104 - Use rich icons when getting top sites r=Mardak
MozReview-Commit-ID: IMv0osslTS3
2017-09-08 15:28:39 -04:00
Ed Lee 06a97dd34a Bug 1396282 - Add query for getting Highlights (recent bookmarks and recent history with metadata). r=mak
Adds index to moz_bookmarks.dateAdded for use by Highlights query for recent bookmarks.
MozReview-Commit-ID: 7Gs8H0kUij2
2017-09-02 13:15:04 -07:00
Ed Lee dfd1fd6710 Bug 1389125 - Refactor ActivityStreamProvider in preparation for Highlights. r=ursula
Add helpers for shared adjusting limit, bookmarkGuid sub-SELECT, WHERE and params. More efficiently select https and correctly select bookmarks. Remove _addETLD, getHistorySize and getBookmarksSize. Allow for activity stream caller to customize more options.

MozReview-Commit-ID: Lj9AhoFJar
2017-09-02 13:13:52 -07:00
Sebastian Hengst cf54ea8e6c Backed out changeset 5d320d8864e9 (bug 1353013) for failing e.g. test_accessiblecaret_cursor_mode.py of Marionette headless on OS X. r=backout 2017-09-05 22:44:20 +02:00
Mike Conley c3c4077496 Bug 1353013 - Be less aggressive about preloading about:newtab. r=florian
Based on a patch that Dão Gottwald <[email protected]> wrote.

We used to preload about:newtab as soon as a tab had finished being opened,
which meant that the first opened tab was _never_ preloaded, and that we
risked janking the browser immediately after the user opened a new tab
(which is, arguably, the worst time to do it, since the user is probably
about to navigate that tab somewhere).

This patch makes it so that about:newtab is preloaded after:

1) 1 second of user inactivity, and
2) When we have at least 40ms of idle time to spend in an idle callback.

The 1s and 40ms thresholds were chosen arbitrarily, and we might tune them
over time.

MozReview-Commit-ID: J5xkPQvCdW6
2017-08-24 15:23:18 -07:00
Steve Armand b03be0d87e Bug 1368967 - Enable the ESLint generator-star-spacing rule across mozilla-central. r=standard8
MozReview-Commit-ID: 5do3eoCEAMR
2017-09-04 00:49:32 -04:00
Ursula Sarracini 16adc35147 Bug 1395203 - Unable to delete from history if a top site is pinned r=Mardak
MozReview-Commit-ID: 23shFz944kh
2017-08-30 13:12:15 -04:00
Marco Bonardo 18b37ff3ae Bug 1320301 - Add partial support to sqlite3_interrupt. r=asuth
MozReview-Commit-ID: V3ZjLEjqmT
2017-07-31 22:27:23 +02: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
Masatoshi Kimura 76347b3b52 Bug 1392070 - Stop using the StopIteration object in Sqlite.jsm. r=mak
MozReview-Commit-ID: BP3RuM5EweE
2017-08-19 22:10:44 +09:00
Ed Lee ecc50cef5b Bug 1389701 - Newly loaded child RemotePageManager can register pages too late to properly manage created documents. r=mossop
MozReview-Commit-ID: HSxuywFhqmb
2017-08-17 10:08:13 -06:00
ahillier feaf4a5097 Bug 1390282 - Allow RemotePageManager to accept an array of URLs r=mossop
MozReview-Commit-ID: vTQmUDabHI
2017-08-15 16:05:56 -04:00
Masatoshi Kimura 47515b7d3e Bug 886907 - Remove old synchronous contentPrefService from the tree. r=adw
MozReview-Commit-ID: BZsB3FR3jHC
2017-08-11 23:29:55 +09:00
Masatoshi Kimura cbbc2b20e1 Bug 1390106 - Stop using versioned scripts in tests. r=jmaher
MozReview-Commit-ID: ErqU4M1f7Oj
2017-08-14 20:46:55 +09:00
Sebastian Hengst d10ff2ca49 Backed out changeset f92c249cae8b (bug 886907) for failing editor/libeditor/tests/test_bug1368544.html on Android 4.3 debug. r=backout 2017-08-15 16:35:07 +02:00
Masatoshi Kimura 5be5b7220f Bug 886907 - Remove old synchronous contentPrefService from the tree. r=adw
MozReview-Commit-ID: BZsB3FR3jHC
2017-08-11 23:29:55 +09:00
Carsten "Tomcat" Book 2fed701ed0 merge mozilla-inbound to mozilla-central a=merge 2017-08-15 11:42:11 +02:00
Mason Chang 4b6b4137c2 Bug 1389338 - Show Off Main Thread Status in about:support. r=rhunt 2017-08-14 21:08:18 -07:00
Ursula Sarracini 9d24d45965 Bug 1388863 - Bookmarking a link via Activity Stream context menu should give feedback r=adw
MozReview-Commit-ID: Bd2eed1rX91
2017-08-14 16:27:39 -04:00
Wes Kocher 399a13fd39 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Andrew Halberstadt 1ecb0adc26 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Phil Ringnalda 5e91797776 Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Andrew Halberstadt 6c60ffa524 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Ed Lee ceda7896ed Bug 1387694 - Top frecent sites query should dedupe to the more frecent rev_nowww. r=ursula
Refactor the SQL to be extremely fast and push complex logic to JS.
MozReview-Commit-ID: E6707hC9K5D
2017-08-05 01:55:06 -07:00
dagasatvik 91d42b2553 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg
2017-08-07 23:57:51 +05:30
Masatoshi Kimura 0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09: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
Bevis Tseng d46d0e9e86 Bug 1384041 - Label the use of setTimeout of Timer.jsm in content-sessionStore.js. r=billm
MozReview-Commit-ID: i8Rn1eke4s
2017-07-28 16:03:51 +08:00
Eitan Isaacson 81f97435c9 Bug 1384672 - Add accessibility instantiator to about:support. r=jimm 2017-08-10 15:32:07 -07:00
Marco Castelluccio 7501412ad3 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/base/content/* files. r=Gijs 2017-07-31 12:51:35 +02:00
Marco Castelluccio f48db43fd0 Bug 1357517 - Remove Preferences.jsm usage from some toolkit modules. r=MattN 2017-07-29 00:55:58 +02:00
Carsten "Tomcat" Book 031a6f535a Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Junior Hsu 83dc74f0cf Bug 1385166 - disable rcwn in those web request tests causing bustage, r=mixedpuppy 2017-07-27 20:46:00 +02:00
Ursula Sarracini c19ce26262 Bug 1383720 - Only show http and https sites in Top Sites r=Mardak
MozReview-Commit-ID: 2NNoKO9BJvo
2017-07-27 15:41:56 -04:00
Chun-Min Chang 7a5e2bf1dd Bug 1197045 - part4: Test case; r=Felipe
MozReview-Commit-ID: DnoqPxYbbqn
2017-07-21 18:00:21 +08:00
Andrew Halberstadt 86f21296a2 Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM
2017-07-26 09:08:07 -04:00
Ben Hearsum 3b8e406394 bug 1373367: prefix values in SYSTEM_CAPABILITIES field. r=rstrong 2017-07-24 09:05:47 -04:00
Felipe Gomes 168776d93f Bug 1381175 - Display count of web content processes in about:support. r=mrbkap
MozReview-Commit-ID: 55j6uusx3RL
2017-07-14 20:33:07 -03:00