diff --git a/dom/media/test/test_empty_resource.html b/dom/media/test/test_empty_resource.html index 987fa2f75d25..e8d9beeea9e9 100644 --- a/dom/media/test/test_empty_resource.html +++ b/dom/media/test/test_empty_resource.html @@ -29,8 +29,8 @@ function finish(v) { function onload() { info("iframe loaded"); - var v = document.body.getElementsByTagName("iframe")[0] - .contentDocument.body.getElementsByTagName("video")[0]; + var v = SpecialPowers.wrap(document.body.getElementsByTagName("iframe")[0]) + .contentDocument.body.getElementsByTagName("video")[0]; // Got 'error' as expected, finish the test. if (v.error) { diff --git a/dom/media/webaudio/test/file_nodeCreationDocumentGone.html b/dom/media/webaudio/test/file_nodeCreationDocumentGone.html new file mode 100644 index 000000000000..aedf16702f16 --- /dev/null +++ b/dom/media/webaudio/test/file_nodeCreationDocumentGone.html @@ -0,0 +1,4 @@ + + diff --git a/dom/media/webaudio/test/mochitest.ini b/dom/media/webaudio/test/mochitest.ini index 56a07ed0801a..2344362a7ef0 100644 --- a/dom/media/webaudio/test/mochitest.ini +++ b/dom/media/webaudio/test/mochitest.ini @@ -11,6 +11,7 @@ support-files = audiovideo.mp4 audioBufferSourceNodeDetached_worker.js corsServer.sjs + file_nodeCreationDocumentGone.html invalid.txt layouttest-glue.js noaudio.webm diff --git a/dom/media/webaudio/test/test_nodeCreationDocumentGone.html b/dom/media/webaudio/test/test_nodeCreationDocumentGone.html index ae1d1f3b2acb..2252d57a78a2 100644 --- a/dom/media/webaudio/test/test_nodeCreationDocumentGone.html +++ b/dom/media/webaudio/test/test_nodeCreationDocumentGone.html @@ -12,11 +12,7 @@ SimpleTest.requestCompleteLog(); SimpleTest.waitForExplicitFinish(); -var sub = encodeURI("data:text/html,\n"+ - " + + + diff --git a/dom/media/webspeech/synth/test/mochitest.ini b/dom/media/webspeech/synth/test/mochitest.ini index f27cd4e1b22b..63ffb90ef4c1 100644 --- a/dom/media/webspeech/synth/test/mochitest.ini +++ b/dom/media/webspeech/synth/test/mochitest.ini @@ -4,6 +4,7 @@ subsuite = media support-files = common.js file_bfcache_frame.html + file_bfcache_frame2.html file_setup.html file_speech_queue.html file_speech_simple.html