Commit Graph
330 Commits
Author SHA1 Message Date
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
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
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
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
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
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
Marco Castelluccio f48db43fd0 Bug 1357517 - Remove Preferences.jsm usage from some toolkit modules. r=MattN 2017-07-29 00:55:58 +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
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
Zibi Braniecki b8b8d5d6a8 Bug 1380278 - UpdateUtils.getLocale to Fetch API for async I/O. r=florian,whimboo
The NetUtils sync I/O shows up in the profile logs, so we want to switch the
function that loads `update.locale` file to be async.

MozReview-Commit-ID: AEYKiivsNl0
2017-07-12 10:34:23 -07:00
Dale Harvey 0bde531fa4 Bug 1360261 - Remove Preferences.jsm usage in GMPUtils. r=florian
MozReview-Commit-ID: WxerrrFZVi
2017-07-05 14:06:29 +01:00
Andrew McCreight 2268934405 Bug 1371844 - Add explicit API to set Debugging.failTestsOnAutoClose in Sqlite.jsm. r=mak
With JSM global sharing, the Debugging object is no longer a property
directly on the global of the Sqllite object. Instead of going through
this back door, add a setter method to Sqllite and use that.

MozReview-Commit-ID: HVCZ4Zb42q7
2017-05-25 15:40:55 -07:00
Florian Quèze c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze c30094cdf7 Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop. 2017-06-22 12:51:43 +02:00
Nathan Froyd 8335babfc9 Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Paolo Amadini 898af55cd4 Bug 1371895 - Support legacy Task.jsm generators in DeferredTask.jsm. r=florian
This ensures legacy add-on compatibility by loading Task.jsm lazily when required. Once Task.jsm is removed, this code can be changed back to support only async functions.

MozReview-Commit-ID: 15nY8yArNlZ
2017-06-12 16:42:47 +01:00
Dan Banner 4055021839 Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
MozReview-Commit-ID: EXJNufdKKhJ
2017-05-27 15:17:29 +01:00
Robert Strong 967c4abdf2 Bug 1366917 - Include the system's RAM in the %SYSTEM_CAPABILITIES% value of the update URL. r=mhowell 2017-05-23 21:45:50 -07:00
Robert Strong 4d8fa53022 Bug 1366918 - Remove redundant tests from urlConstruction.js and add tests that can be added to test_UpdateUtils_url.js from urlConstruction.js. r=mhowell 2017-05-23 10:07:35 -07:00
Florian Quèze 15feaa278a Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze e5a39cc4f8 Bug 1353542 - Add an eslint rule deprecating usage of Task.jsm in browser/ and toolkit/, r=Mossop. 2017-05-12 14:54:42 +02:00
Florian Quèze 38c24463e4 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze b2499a4c57 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze ff53eb9a63 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
Frederik Braun fda653356c Bug 1359350: Add no-eval rule to eslint config (and whitelist failures in tests) r=standard8
MozReview-Commit-ID: 4nYlX4sSdbF
2017-05-08 14:50:50 +02:00
Dan Banner 5e1c5ff399 Bug 1351658 - Package PropertyListUtils.jsm only on Mac r=florian
MozReview-Commit-ID: wnhR1G5v0y
2017-05-04 16:49:42 +01:00
Ursula Sarracini a19255ba7e Bug 1345122 - Update NewTabUtils.jsm for Activity Stream's needs r=mak
MozReview-Commit-ID: 3SpJucjKNby
2017-04-28 10:00:30 -04:00
Alessio Placitelli 85afcfb3ff Bug 1346223 - Remove SessionRecorder.jsm. r=gfritzsche
This patch also moves the activeTicks logic to TelemetrySession.jsm
along with the related test coverage.

MozReview-Commit-ID: 8vXffqo2V85
2017-04-24 16:32:14 +02:00
Alexandre Poirot db5f614737 Bug 1356231 - Import DevTools event-emitter module to toolkit as a JSM. r=mossop
MozReview-Commit-ID: 7sgCLkQczet
2017-04-25 18:54:35 +02:00
Florian Queze 6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00