Geoff Brown
03ec89d132
Bug 1375678 - Enable lint on testing/modules - mechanical changes; r=standard8
2017-06-23 15:08:02 -06:00
Paolo Amadini
10ee6a5c4e
Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
...
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.
MozReview-Commit-ID: 1buqgX1EP4P
--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Sebastian Hengst
0c8fb370d2
Backed out changeset cc96b54811f6 (bug 1357625) for failing xpcshell's test_PromiseUtils.js. r=backout
2017-04-19 16:29:47 +02:00
Mark Hammond
d7dce47bd7
Bug 1357625 - Have Assert.rejects resolve with the expected exception. r=mikedeboer
...
MozReview-Commit-ID: FJ31cd5pgul
--HG--
extra : rebase_source : e55b4e670f29cb104c0e70e37d70bcff12e8dfb0
2017-04-19 12:51:43 +10:00
Paolo Amadini
bfb4e9151f
Bug 1237961 - Assert.throws raises a TypeError exception when the "expected" parameter is an arrow function. r=mikedeboer
...
MozReview-Commit-ID: CyhD00Uwbwj
--HG--
extra : rebase_source : 24a80ca12bfdded82f4bc3487ee491defa60da7b
2017-01-20 15:38:56 +01:00
Kris Maglione
e38ef17b75
Bug 1245671: Fix Assert.rejects on release builds with DOM promises. r=markh
...
--HG--
extra : commitid : ApnwqfMotvd
extra : rebase_source : 371cc2eed07fc7ae801a1efb50b0187bf367776a
2016-02-04 13:54:38 -08:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
André Reinald
1ce9a95087
Bug 1075157 - Change notDeepEqual to use ObjectUtils, like deepEqual does already. r=gfritzsche
...
Needed to fix test of this bug's patch.
2015-05-02 00:59:09 +02:00
ziyunfei
e1db0f779e
Bug 1102219 - Part 4: Replace `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till
2015-04-30 00:32:05 +09:00
Hiroyuki Ikezoe
1cd583862c
Bug 1147751 - Implement Assert.greater, Assert.greaterOrEqual, Assert.less and Assert.lessOrEqual. r=mikedeboer
2015-04-24 01:12:00 -04:00
Georg Fritzsche
c354dca7e5
Bug 1140558 - Part 2 - Make the testing deepEqual implementation shared properly in ObjectUtils.jsm. r=yoric
2015-04-02 21:33:46 +02:00
Wes Kocher
9b168d2c01
Backed out 14 changesets (bug 1143714, bug 1143796, bug 1139751, bug 1139460, bug 1140558) for Win PGO xpcshell failures
...
Backed out changeset d2567d89cda3 (bug 1139751)
Backed out changeset a8edee74d07f (bug 1139751)
Backed out changeset 613fd260f646 (bug 1143796)
Backed out changeset 7a6f6bdd6edf (bug 1143796)
Backed out changeset fdf9d0174142 (bug 1143714)
Backed out changeset 18989d1ebd43 (bug 1140558)
Backed out changeset a4f545b715ae (bug 1140558)
Backed out changeset b2e92f548736 (bug 1140558)
Backed out changeset a082c774db0a (bug 1140558)
Backed out changeset f9f66f6aaa86 (bug 1139460)
Backed out changeset d8b62b11c43e (bug 1139460)
Backed out changeset 77090798e88c (bug 1139460)
Backed out changeset ea6da072eb0c (bug 1139460)
Backed out changeset 58c2eb92a959 (bug 1139460)
--HG--
extra : amend_source : 850bad063645f0d6c632ca1d93a716d9c444f383
2015-04-01 20:52:33 -07:00
Georg Fritzsche
dfdf0bf84b
Bug 1140558 - Part 2 - Make the testing deepEqual implementation shared properly in ObjectUtils.jsm. r=yoric
2015-04-01 21:06:19 +02:00
Paolo Amadini
e5306bdeb5
Bug 1140472 - Set an async stack when invoking promise handlers. r=bz
2015-03-09 12:36:29 +00:00
Mark Hammond
ec078e1cd2
Bug 984172 (part 1) - add Assert.rejects. r=mikedeboer
2014-10-17 13:06:38 +11:00
Joshua Cranmer
4f0b9a388f
Bug 1067047 - Assert.deepEqual does not work correctly with invalid Dates, r=mikedeboer
2014-09-16 17:24:21 -05:00
Mike de Boer
c33a84f89e
Bug 1014482: make Assert.jsm methods globally available and deprecate XPCShell-test's custom assert methods. This changes `do_check_matches()` semantics significantly. r=gps
2014-05-30 16:26:42 +02:00
Mike de Boer
243850a843
Bug 967564: report operand, even when a custom message is specified. r=gps
2014-02-10 13:12:40 +01:00
Mike de Boer
453d6a09c2
Bug 966681: improve robustness of error reporting. r=Unfocused
2014-02-04 00:09:28 +01:00
Mike de Boer
8df0f8d1aa
Bug 873126: introduce a common JS Assert library. r=gps,Unfocused
2013-11-19 13:53:18 +01:00