Closed Bug 639190 Opened 14 years ago Closed 14 years ago

bankofamerica.com - Site navigation dropdown menus don't work with Firefox 4

Categories

(Tech Evangelism Graveyard :: English US, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: damons, Unassigned)

References

()

Details

(Whiteboard: [caused by 'use strict'] )

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b13pre) Gecko/20110303 Firefox/4.0b13pre STR: 1) Visit http://bankofamerica.com 2) Hover over the main buttons/tabs next to the red login box, any of the Bank, Borrow, Invest, Protect, or Plan items. Expected results: Hover should produce links under each item. For example, hovering over Bank should show Checking, Savings, etc. Actual results: Hover has no effect, making all links inaccessible. Works fine in Chrome and Safari. If it's not an client/agent sniffing site bug, this would block. Nominating.
blocking2.0: --- → ?
Regression range: 2009-12-01-03 -- 2009-12-02-03 http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b7f3c1c9fb57&tochange=a5e1b195ecf7 I'm guessing the tracemonkey merge is the culprit.
Assignee: nobody → general
Component: General → JavaScript Engine
OS: Mac OS X → All
QA Contact: general → general
Hardware: x86 → All
Keywords: regression
Using tracemonkey... Last good nightly: 2009-11-19 First bad nightly: 2009-11-20 Pushlog: http://hg.mozilla.org/tracemonkey/pushloghtml?fromchange=c84622414ed3&tochange=2ca2a236da89 Errors in console... Error: Image corrupt or truncated: <unknown> Source File: <unknown> Line: 0 Error: assignment to undeclared variable boa Source File: https://www.bankofamerica.com/pa/gzip_362775863/global-assets/1.0/bundles/script/homepagebottomjawr-1.1.js Line: 1 Given the error console message, the Tracemonkey range and the fact that this file: https://www.bankofamerica.com/pa/gzip_362775863/global-assets/1.0/bundles/script/homepagebottomjawr-1.1.js ...starts with 'use strict'; believe this is Tech Evang, due to this changeset: Bug 514560: Forbid assignments to undeclared variables in strict mode code. r=jorendorff tl;dr The site is incorrectly using 'use strict' at the start of the .js file mentioned above; Firefox is working correctly, per the ES5 Strict Mode spec.
Version: unspecified → Trunk
I agree with that analysis. I removed the "use strict"; at the start of that file and that made the menus work, so it's likely the only fix that needs to be done on their side. BTW, the file I got when saving the site was named "homepagebottomjawr-1.js" not "1.1".
As a by the by, the menus don't work in Chrome 11.0.686.3 dev either (presume it supports ES5 Strict Mode too).
Assignee: general → english-us
blocking2.0: ? → ---
Component: JavaScript Engine → English US
Keywords: regression
Product: Core → Tech Evangelism
QA Contact: general → english-us
Summary: bankofamerica.com links not working → bankofamerica.com - Site navigation dropdown menus don't work with Firefox 4
Whiteboard: [caused by 'use strict']
Version: Trunk → unspecified
I have emailed Domain.Administrator@ , hostmaster@ & webmaster@ a short message informing them of the fault and provided a link back to here. (Trying to use the contact form on the website wasn't proving very successful, so just had a peak at the emails listed on their whois entry).
Thanks for the analysis here guys. Solid work! :)
This had it's blocking nomination cleared and was moved to TE, but do we really think we'd ship a browser if it didn't work on BoA?
Online banking appears to work, it's 'just' the dropdown menus for the rest of site navigation. See also bug 625724.
(In reply to comment #7) > This had it's blocking nomination cleared and was moved to TE, but do we really > think we'd ship a browser if it didn't work on BoA? BofA needs to fix its content. We're not going to ignore "use strict" or add a "strict quirks" mode. Maybe Kev can help. /be
Blocks: 514560
No replies yet to the emails sent in comment 5; site still broken. Any other points of contact?
Blocks: 575893
This is WFM/Fixed now.
-> WORKSFORME based on comment 14
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.