gecko-dev/testing/mochitest/tests/SimpleTest
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
..
AsyncUtilsContent.js Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
ChromeTask.js Bug 1500257 part 9 - Add basic tests for out-of-process iframes. r=qdot 2019-01-23 11:08:40 -06:00
EventUtils.js Bug 1550092 part 1. Stop using [array] in sendTouchEvent/sendTouchEventToWindow. r=farre 2019-05-10 09:03:39 +00:00
ExtensionTestUtils.js Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8 2018-11-01 13:48:48 +00:00
LogController.js
MemoryStats.js
MockObjects.js Bug 1524687 - Part 0: Fix more dodgy component mocking code. r=froydnj 2019-01-31 12:27:15 -08:00
MozillaLogger.js Bug 1563997: Handle webcompat Components stub in MozillaFileLogger.js. r=nika 2019-07-12 14:32:57 -07:00
NativeKeyCodes.js
SimpleTest.js Bug 1574296: Support assertions in nested SpecialPowers.span calls. r=mccr8 2019-08-15 14:21:37 -07:00
TestRunner.js Bug 1556637 - Replace all mozDumpDebugInfo calls r=jya,jib 2019-08-14 20:32:31 +00:00
WindowSnapshot.js
iframe-between-tests.html
moz.build Bug 1558298: Part 10 - Stop loading MozillaLogger.js from SpecialPowers. r=nika 2019-06-11 11:37:52 -07:00
paint_listener.js Bug 1564209 - Add more paint/flushing logging for APZ mochitests. r=botond 2019-07-10 15:46:39 +00:00
setup.js Bug 1558298: Part 10 - Stop loading MozillaLogger.js from SpecialPowers. r=nika 2019-06-11 11:37:52 -07:00
test.css Bug 1492967 - Merge together remote-browser and browser bindings;r=ochameau,mconley 2018-09-24 16:24:04 +00:00