diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-21 20:00:48 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-21 21:36:54 -0500 |
commit | 4e5c0bf8cd09f25c70f3f2a2cdcd5402b93f2e7b (patch) | |
tree | 1fa82c7349a85865717c83dedbba38aae87fe8b9 /dom/media/webspeech/recognition/test/test_nested_eventloop.html | |
parent | 68315aec890a9e8a3a5b5613c66561007ff3231e (diff) | |
download | uxp-4e5c0bf8cd09f25c70f3f2a2cdcd5402b93f2e7b.tar.gz |
Issue mcp-graveyard/UXP#1366 - Completely remove showModalDialog
Diffstat (limited to 'dom/media/webspeech/recognition/test/test_nested_eventloop.html')
-rw-r--r-- | dom/media/webspeech/recognition/test/test_nested_eventloop.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/media/webspeech/recognition/test/test_nested_eventloop.html b/dom/media/webspeech/recognition/test/test_nested_eventloop.html index bdbed6524b..8b4cea6d78 100644 --- a/dom/media/webspeech/recognition/test/test_nested_eventloop.html +++ b/dom/media/webspeech/recognition/test/test_nested_eventloop.html @@ -21,7 +21,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=650295 SimpleTest.waitForExplicitFinish(); /* - * window.showModalDialog() can be used to spin the event loop, causing + * SpecialPowers.spinEventLoop can be used to spin the event loop, causing * queued SpeechEvents (such as those created by calls to start(), stop() * or abort()) to be processed immediately. * When this is done from inside DOM event handlers, it is possible to @@ -33,7 +33,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=650295 } function doneFunc() { // Trigger gc now and wait some time to make sure this test gets the blame - // for any assertions caused by showModalDialog + // for any assertions caused by spinning the event loop. // // NB - The assertions should be gone, but this looks too scary to touch // during batch cleanup. |