mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
Bug 1252750 - Part 4: Convert dom/media/webspeech to use SpecialPowers.spinEventLoop. r=mrbkap
--HG-- extra : rebase_source : 67d3067907c44ce38907dbfd8ffc429adc106836
This commit is contained in:
parent
640b683958
commit
bf44c44934
@ -7,7 +7,6 @@ support-files =
|
||||
hello.ogg^headers^
|
||||
silence.ogg
|
||||
silence.ogg^headers^
|
||||
|
||||
[test_abort.html]
|
||||
skip-if = toolkit == 'android' # bug 1037287
|
||||
[test_audio_capture_error.html]
|
||||
@ -15,7 +14,7 @@ skip-if = toolkit == 'android' # bug 1037287
|
||||
tags=capturestream
|
||||
skip-if = (android_version == '18' && debug) # bug 967606
|
||||
[test_nested_eventloop.html]
|
||||
skip-if = buildapp == 'mulet' || toolkit == 'android' || e10s # b2g(showmodaldialog)
|
||||
skip-if = buildapp == 'mulet' || toolkit == 'android'
|
||||
[test_preference_enable.html]
|
||||
[test_recognition_service_error.html]
|
||||
[test_success_without_recognition_service.html]
|
||||
|
@ -27,12 +27,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=650295
|
||||
* When this is done from inside DOM event handlers, it is possible to
|
||||
* cause reentrancy in our C++ code, which we should be able to withstand.
|
||||
*/
|
||||
|
||||
function abortAndSpinEventLoop(evt, sr) {
|
||||
sr.abort();
|
||||
window.showModalDialog("javascript:window.close()");
|
||||
SpecialPowers.spinEventLoop(window);
|
||||
}
|
||||
|
||||
function doneFunc() {
|
||||
// Trigger gc now and wait some time to make sure this test gets the blame
|
||||
// for any assertions caused by showModalDialog
|
||||
|
Loading…
Reference in New Issue
Block a user