diff --git a/content/base/test/file_mozfiledataurl_inner.html b/content/base/test/file_mozfiledataurl_inner.html index 83df19efb80..56ad08dd28f 100644 --- a/content/base/test/file_mozfiledataurl_inner.html +++ b/content/base/test/file_mozfiledataurl_inner.html @@ -62,7 +62,7 @@ onload = function() { iframe = document.getElementById('iframe'); iframe.onerror = iframe.onload = iframeNotifyParent; audio = document.getElementById('audio'); - audio.onerror = audio.oncanplay = audioNotifyParent; + audio.onerror = audio.onloadedmetadata = audioNotifyParent; } diff --git a/content/base/test/test_mozfiledataurl.html b/content/base/test/test_mozfiledataurl.html index c32cf354715..80df5b4b495 100644 --- a/content/base/test/test_mozfiledataurl.html +++ b/content/base/test/test_mozfiledataurl.html @@ -12,7 +12,7 @@ -