diff --git a/toolkit/content/tests/reftests/audio-with-bogus-url-ref.html b/toolkit/content/tests/reftests/audio-with-bogus-url-ref.html new file mode 100644 index 000000000000..c34d7dd44783 --- /dev/null +++ b/toolkit/content/tests/reftests/audio-with-bogus-url-ref.html @@ -0,0 +1,15 @@ + + +
+ + + + + + + diff --git a/toolkit/content/tests/reftests/audio-with-bogus-url.html b/toolkit/content/tests/reftests/audio-with-bogus-url.html new file mode 100644 index 000000000000..4aed1cce7467 --- /dev/null +++ b/toolkit/content/tests/reftests/audio-with-bogus-url.html @@ -0,0 +1,15 @@ + + + + + + + + + + diff --git a/toolkit/content/tests/reftests/reftest.list b/toolkit/content/tests/reftests/reftest.list index 85d6d8126b99..e155c740c571 100644 --- a/toolkit/content/tests/reftests/reftest.list +++ b/toolkit/content/tests/reftests/reftest.list @@ -1,3 +1,4 @@ random-if(cocoaWidget||(/^Windows\x20NT\x206\.2/.test(http.oscpu)&&isDebugBuild)) == bug-442419-progressmeter-max.xul bug-442419-progressmeter-max-ref.xul # fails most of the time on Mac because progress meter animates != textbox-multiline-default-value.xul textbox-multiline-empty.xul fails-if(styloVsGecko) == videocontrols-dynamically-add-cc.html videocontrols-dynamically-add-cc-ref.html +fails-if(styloVsGecko) == audio-with-bogus-url.html audio-with-bogus-url-ref.html diff --git a/toolkit/content/widgets/videocontrols.xml b/toolkit/content/widgets/videocontrols.xml index d22dca1c1eac..2df486f37f64 100644 --- a/toolkit/content/widgets/videocontrols.xml +++ b/toolkit/content/widgets/videocontrols.xml @@ -677,7 +677,7 @@ this.updateErrorText(); this.setupStatusFader(true); // If video hasn't shown anything yet, disable the controls. - if (!this.firstFrameShown) { + if (!this.firstFrameShown && !this.isAudioOnly) { this.startFadeOut(this.controlBar); } this.controlsSpacer.removeAttribute("hideCursor");