gecko-dev/testing/specialpowers
Kris Maglione a7bea0cda2 Bug 1574296: Support assertions in nested SpecialPowers.span calls. r=mccr8
Prior to this patch, assertions in SpecialPowers.spawn callbacks only work
when the caller was in a window with a SimpleTest harness.

This patch fixes that by registering a default assertion handler at the start
of a test, and sending assertions from any task without its own harness to
said default handler.

MANUAL PUSH: Contains complex rename operations that I don't trust Lando to
handle correctly.

Differential Revision: https://phabricator.services.mozilla.com/D42210

--HG--
extra : rebase_source : b0b72ce166647621a50aad0af8f130c0d89e3829
extra : source : 41b6d03a870caa7c4be2146ce8c8d84efdb20e79
2019-08-15 14:21:37 -07:00
..
content Bug 1574296: Support assertions in nested SpecialPowers.span calls. r=mccr8 2019-08-15 14:21:37 -07:00
api.js Bug 1561705: Part 2 - Use regular SpecialPowers actor for browser chrome tests. r=mccr8 2019-08-14 16:14:02 -07:00
Makefile.in Bug 1497339 - Fix reftests in the Tup backend. r=ted,firefox-build-system-reviewers 2018-10-10 23:12:32 +00:00
manifest.json Bug 1451519 Convert specialpowers to a webextension r=kmag 2018-06-27 13:10:51 -07:00
moz.build Bug 1561705: Part 5b - Merge SpecialPowersAPIParent.jsm and SpecialPowersParent.jsm. r=mccr8 2019-08-14 16:41:41 -07:00
schema.json Bug 1451519 Convert specialpowers to a webextension r=kmag 2018-06-27 13:10:51 -07:00