Support for nightly build as well
authorPhilippe Le Hégaret <plh@w3.org>
Fri, 12 Dec 2008 02:26:44 +0000
changeset 54 bdfad091a55e
parent 53 60363aaefa36
child 55 beb5255f06ff
Support for nightly build as well
testsuite/web-framework/HTML5_player.js
--- a/testsuite/web-framework/HTML5_player.js	Fri Dec 12 02:10:58 2008 +0000
+++ b/testsuite/web-framework/HTML5_player.js	Fri Dec 12 02:26:44 2008 +0000
@@ -442,7 +442,8 @@
 }
 
 HTML5Caption.prototype.startPlayer = function() {
-    if (-1 == navigator.userAgent.indexOf("Firefox/3.1")) {
+    if (-1 == navigator.userAgent.indexOf("Firefox/3.1") &&
+        -1 == navigator.userAgent.indexOf("Shiretoko/3.1")) {
 	alert("This player only works in Firefox 3.1.");
     }
 }