Closed Bug 639946 Opened 14 years ago Closed 14 years ago

ufc.com - Red menu and flash video player does not work in Firefox 4

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: morid_rhosard, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b13pre) Gecko/20110303 Firefox/4.0b13pre Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b13pre) Gecko/20110303 Firefox/4.0b13pre The red menu does not work when moving cursor in, it does not gives options. Flash video player fails to load. It only happens in Firefox 4 even in safe-mode. The site, however, work fine with 3.5.18pre and 3.6.15 versions. Same problem can be see in others languages, example: http://br.ufc.com Reproducible: Always Steps to Reproduce: 1. Open http://www.ufc.com 2. Red menu fails. 3. Video player fails. Expected Results: Should not fail.
Carlos: Does it work in Fx 4 if you spoof your UA string as Fx 3.6.15? Does it work in any other browsers based on Gecko 2 (say, a Seamonkey build)? For that matter, does it work in the latest release of Seamonkey? cl
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.17) Gecko/20110123 SeaMonkey/2.0.12 WORKS Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b13pre) Gecko/20110308 Firefox/4.0b13pre SeaMonkey/2.1b3pre FAILS I tried spoofing Firefox 4 as 3.6 and IE8, but did not work. So is not tech evangelism issue?
(In reply to comment #2) > Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.17) Gecko/20110123 > SeaMonkey/2.0.12 WORKS > Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b13pre) Gecko/20110308 > Firefox/4.0b13pre SeaMonkey/2.1b3pre FAILS > > I tried spoofing Firefox 4 as 3.6 and IE8, but did not work. So is not tech > evangelism issue? It sounds like it could still be a TE issue, but the cause is definitely a Gecko change. I'm going to kick this over to Firefox for further triage and if it turns out to be a TE issue, it may end up back here. Carlos: If you can figure out exactly what nightly Firefox build broke it, that would help a lot.
Assignee: english-us → nobody
Component: English US → General
Product: Tech Evangelism → Firefox
QA Contact: english-us → general
PASS: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091201 Minefield/3.7a1pre FAIL: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091203 Minefield/3.7a1pre Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2009-12-01&enddate=2009-12-03
I dunno about the video bit (since I see no video when I load the page in 3.6), but the menu issue is evangelism. As the error console says: Error: assignment to undeclared variable edge Source File: http://video.ufc.tv/ufc_system_assets_20110307/js/jquery.mainMenu.js Line: 41 And indeed, the script at that url starts with: "use strict"; and then later has: function initializeMainMenu(domObj, opts) { var links = domObj.find("." + opts.menuItemClass) edge = domObj.find("." + opts.menuEdgeClass); where "edge" is not a declared variable. So the menu is never initialized. The regression range in comment 4 includes a TM merge which has this changeset in it: Bug 514560: Forbid assignments to undeclared variables in strict mode code.
Assignee: nobody → english-us
Status: UNCONFIRMED → NEW
Component: General → English US
Ever confirmed: true
Product: Firefox → Tech Evangelism
QA Contact: general → english-us
Blocks: 514560
Working fine in Firefox 4
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
It looks like the problem in comment 5 still exists in the code, though they may not be using that particular code any more. (I don't have time to investigate further at the moment.) However, if everything originally filed in this bug is fixed, that's good enough for me.
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.