Commit Graph

618 Commits

Author SHA1 Message Date
J. Ryan Stinnett
0e3cb15f75 Bug 1393743 - Use reason stack when present for promise rejection in tests. r=Paolo
In some cases, the rejection stack from `PromiseDebugging` may be null.  If the
rejection reason was an Error object, use its `stack` to recover a meaningful
value.  This greatly improves diagnosing test failures due to promise rejection.

MozReview-Commit-ID: IpE2kGoFcpx

--HG--
extra : rebase_source : f3b0ca4a27d0fa8df11b41ae93954478c199fef4
2018-03-08 17:10:12 -06:00
Paolo Amadini
992ad9c294 Bug 851471 - Decommission nsIDownloadManager. r=mak
MozReview-Commit-ID: HfqdrdJcLrh

--HG--
extra : rebase_source : 0b48ae94d9786c2bea1a3f1af6b5ffe4412f1f13
extra : source : c69bd311217f4e5e119cdcdaf9d77baefe72f0be
2018-03-06 13:16:07 +00:00
Felipe Gomes
77637dd978 Bug 1426362 - Display status of policy engine in about:support. r=bytesized
This also changes the const values of nsIEnterprisePolicies to a more common numbering pattern.

MozReview-Commit-ID: CKs1TWGMqJN

--HG--
extra : rebase_source : 117a6587e56ffbe9a10818b93ed42bb8583a4826
2018-03-02 15:28:14 -03:00
Ursula Sarracini
12bbfa710e Bug 1441931 - Use open_url provided by Pocket for 'saved to pocket' items in highlights r=Mardak
MozReview-Commit-ID: 5St8NablevZ

--HG--
extra : rebase_source : d58ee8389060632616818c012a4d6b61eae9c1e1
2018-02-28 14:16:46 -05:00
k88hudson
39dfbe5bf6 Bug 1431470 - Add getTotalBookmarksCount to NewTabUtils.jsm r=ursula
MozReview-Commit-ID: BlcBcMap2Xw

--HG--
extra : rebase_source : d1e523f4a290528868646d52302b219dbe9c781e
2018-02-27 17:50:16 -05:00
Florian Quèze
f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Ursula Sarracini
bc4e25c04f Bug 1440768 - Improve saved to pocket stories caching and updating r=Mardak
MozReview-Commit-ID: 3pHJSBVekWE

--HG--
extra : rebase_source : 38224f399fdbfff50a2d045d4d65242e3ead2a48
2018-02-26 14:17:09 -05:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Ursula Sarracini
3ed65bb2b9 Bug 1439684 - Add caching to NewTabUtils for saved to Pocket items r=Mardak
MozReview-Commit-ID: LLHD9TKnKA8

--HG--
extra : rebase_source : d7901275e39beadf8bbf3e19ee633fc99151f226
2018-02-21 11:42:53 -05:00
Thomas Wisniewski
2dacf095ab Bug 792808 - Change toolkit/ to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=aswan
MozReview-Commit-ID: CUrMOocHBNu

--HG--
extra : rebase_source : 9a3f993cfa9cf1e89c746b4b6507ad3002bd07db
2018-02-08 20:09:57 -05:00
Ursula Sarracini
099e0fe989 Bug 1436449 - Rename item_id to pocket_id for clearer way to identify saved Pocket items in NewTabUtils r=Mardak
MozReview-Commit-ID: 5DifxvQ6qF5

--HG--
extra : rebase_source : f2c5b79341a9467fb6bef6baa441e44f1a02ce19
2018-02-09 15:24:31 -05:00
Nathan Watson
1605552221 Bug 1434262 - Remove PlacesTestUtils.clearHistory() r=mak
MozReview-Commit-ID: In2RaM0LBsc

--HG--
extra : rebase_source : 0cb5dc65a53bfa384b93fb2a8c2af67ad9d3fe1c
2018-01-31 22:03:05 -08:00
Jeremy Lempereur
6a893d8284 Bug 1249596 - Part 2: Remove FHR client id migration code. r=Dexter
Removed a fallback import from a legacy FHR file when there is no valid ID in the DRS file.
This commit is related to bug 1431544
MozReview-Commit-ID: AACq7InWJpy

--HG--
extra : rebase_source : c48bf48addc515b9d86f22dd4e8ad5a066ebc76a
2018-01-18 23:51:24 +01:00
Andrew McCreight
5dec0e0beb 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

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Ursula Sarracini
eda0730782 Bug 1425496 - Add Recently Pocketed Items to Highlights r=Mardak
MozReview-Commit-ID: LyXKkQkPXte

--HG--
extra : rebase_source : 7cb303772463efd7179fcd672d022dc0a0e37015
2018-02-02 17:06:06 -05:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Edouard Oger
825e2fa2b1 Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
MozReview-Commit-ID: IDGWJevEHLK

--HG--
extra : rebase_source : 0db05e713e55d680a85a1280d6540eec8c39f96c
2017-12-08 14:41:02 -05:00
Noemi Erli
9df7ea51ac Backed out 8 changesets (bug 633062) as requested by eoger on a CLOSED TREE
Backed out changeset 590656f7b5c5 (bug 633062)
Backed out changeset 0888aa122056 (bug 633062)
Backed out changeset 0780cf391c52 (bug 633062)
Backed out changeset 9798cbd03027 (bug 633062)
Backed out changeset 4b31c73a585f (bug 633062)
Backed out changeset 0a8866062136 (bug 633062)
Backed out changeset 20ff83289564 (bug 633062)
Backed out changeset 5e52125316e1 (bug 633062)
2018-01-31 22:09:30 +02:00
Edouard Oger
7f72c53748 Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
MozReview-Commit-ID: IDGWJevEHLK

--HG--
extra : rebase_source : 0db05e713e55d680a85a1280d6540eec8c39f96c
2017-12-08 14:41:02 -05:00
Alexander J. Vincent
065a649090 Bug 1426886 - Timer.jsm should validate callback argument is a function. r=mconley
--HG--
extra : rebase_source : 9a8c31677a79e11c6798e6399b7c03cfcea33fd5
2018-01-26 17:13:34 -08:00
Dorel Luca
9f8b519dae Backed out 8 changesets (bug 633062) for xpcshell failures on browser/extensions/formautofill/test/unit/test_sync.js on a CLOSED TREE
Backed out changeset d60ca66f2b62 (bug 633062)
Backed out changeset d80494d5bc36 (bug 633062)
Backed out changeset 33f832b59e86 (bug 633062)
Backed out changeset 968db19986aa (bug 633062)
Backed out changeset a55a3647ea49 (bug 633062)
Backed out changeset bb1030bdab48 (bug 633062)
Backed out changeset 9c4cd2a6965c (bug 633062)
Backed out changeset 669c76bd2618 (bug 633062)

--HG--
extra : amend_source : cf95d15507de46de393cdef797a5808c4e0407ff
2018-01-31 07:28:06 +02:00
Edouard Oger
3e4633d6e3 Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
MozReview-Commit-ID: IDGWJevEHLK

--HG--
extra : rebase_source : 8471048a68b9b6204402f3ea9039a21af8c3740c
2017-12-08 14:41:02 -05:00
arthur.iakab
c4dd80eca3 Merge mozilla-central to autoland 2018-01-31 00:41:58 +02:00
Christian Holler
b66df5e67e Bug 1428357 - Fix UpdateUtils test to reflect ASan ABI change. r=rstrong
MozReview-Commit-ID: 6XsNNCNLb7

--HG--
extra : rebase_source : d0544154ba5f564defa7fa37974c3824d5bc4fbc
2018-01-26 02:12:53 +01:00
Kris Maglione
918ed6c474 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

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 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
6476f95b13 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

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb 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
c276bb9375 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

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Gijs Kruitbosch
d9872d9e13 Bug 1345081 - update use of spellchecker 'editable' flags, r=zombie
MozReview-Commit-ID: Hxgc0UuIOPj

--HG--
extra : rebase_source : 3d10e802f50ba3e342591dbe86a37fa10b74ee1f
2018-01-12 18:51:41 +00:00
Andreea Pavel
1e5f9a6650 Backed out changeset 5421387a997d (bug 1345081)for failing browser chrome browser/components/extensions/test/browser/browser_ext_menus_events.js on a CLOSED TREE 2018-01-26 17:23:27 +02:00
Gijs Kruitbosch
625c300198 Bug 1345081 - update use of spellchecker 'editable' flags, r=zombie
MozReview-Commit-ID: Hxgc0UuIOPj

--HG--
extra : rebase_source : 5a72fb58f7c610e0906db9a283a8b136c840a07a
2018-01-12 18:51:41 +00:00
Ryan Hunt
0fa2113449 Fixup test expectations for OMTP in about:support (bug 1432516, r=me) 2018-01-24 14:23:33 -06:00
Joshua Mengel, Bailey Hudson
235e231532 Bug 1423732 - Make Sqlite.jsm return an integer for getSchemaVersion. r=mak
MozReview-Commit-ID: KLJ7W3ZnmJU

--HG--
extra : rebase_source : 71e31421ba3f0256bb1996de1bfc9b9d6519f8e8
2018-01-23 23:16:32 -08:00
Zack Noyes, William Loughton
433b354f96 Bug 1407778 - Added status Error property on Sqlite.openConnection. r=mak
--HG--
extra : rebase_source : d352a15f8432583e1819cb2fad5e6efc9ea4cfd3
2018-01-23 23:11:54 -08:00
Brad Werth
f64622d129 Bug 1430187 Part 2: Add a test of find-in-page with overflowed textareas. r=mikedeboer
MozReview-Commit-ID: dKXyp826Y5

--HG--
extra : rebase_source : 56801b078992413ac54208b62230d32fa62ce7a9
2018-01-22 13:16:51 -08:00
Felipe Gomes
fcb1b42e8d Bug 1419102 - Implement the Enterprise Policies feature to provide enterprise users with easier control and setup of deployments of Firefox. r=Mossop
This feature is currently disabled behind a pref, but this pref will be removed when we're green to release it.

MozReview-Commit-ID: 3ZH2UJVdtC0

--HG--
rename : browser/components/newtab/tests/browser/.eslintrc.js => browser/components/enterprisepolicies/tests/browser/.eslintrc.js
2018-01-22 17:01:48 -02:00
Kit Cambridge
fe8e75daab Bug 1431149 - Add an optional schema name argument to OpenedConnection#{get, set}SchemaVersion. r=mak
MozReview-Commit-ID: 8Uk1Vuqc1lc

--HG--
extra : source : 410a941bdce8c11ec1da55d6cc541b93a93dda5c
2018-01-17 09:13:47 -08:00
Dorel Luca
b715af06f1 Backed out changeset 410a941bdce8 (bug 1431149) for devtools failure on toolkit/components/passwordmgr/test/mochitest/test_basic_form_autocomplete.html
--HG--
extra : rebase_source : 379e1e754afcb89248fcf977f2ca9348c3584316
2018-01-18 18:50:04 +02:00
Kit Cambridge
1a46204e20 Bug 1431149 - Add an optional schema name argument to OpenedConnection#{get, set}SchemaVersion. r=mak
MozReview-Commit-ID: 8Uk1Vuqc1lc

--HG--
extra : rebase_source : 986fe36a97cdc375857c2ea8daf82554f37f0cd6
2018-01-17 09:13:47 -08:00
Aaron Klotz
59e7c414be Bug 1418131: Part 2 - Add security software section to about:support; r=jimm
MozReview-Commit-ID: 2hJkpPxFakp

--HG--
extra : rebase_source : 5a0ee268f67ef5d1aac8f4e4e7c7f8069e88196f
2017-11-18 13:59:45 -07:00
Florian Quèze
22c55eb7b7 Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
Florian Quèze
0f55cd45be 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
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Mark Hammond
26f95a81a1 Bug 1425987 - part 1: Add support to Log.jsm for managing log levels via prefs. r=Gijs
MozReview-Commit-ID: 6xLSnb0etnl

--HG--
extra : rebase_source : 7f6878b3296d3a513ae20a28d5ceb8fbbd84ea53
2017-12-18 17:48:41 +11:00
Robert Strong
1115c3d053 Bug 1413727 - Removes JAWS token from the update url and removes JAWS checks from the update url test. r=mhowell 2017-12-15 08:33:44 -08:00
Thom Chiovoloni
133150d6a6 Bug 1423122 - Use the correct selection object in the getSelectionInfo when an input element is selected r=Felipe
MozReview-Commit-ID: L8nANaiYfyc

--HG--
extra : rebase_source : 2cd4a4b5da5117d01a1e5d5c7dca49f1e152d387
2017-12-06 15:27:46 -05:00
Bill McCloskey
9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel
89531e8dc3 Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00