Closed Bug 896999 Opened 11 years ago Closed 7 years ago

Adding array find method causes 'uncaught exception: There is already a registered component named "find"' error on f-i.com

Categories

(Web Compatibility :: Site Reports, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: clochix, Unassigned)

References

()

Details

(Keywords: regression, Whiteboard: [country-us] [js] [contactready])

The page at http://www.f-i.com/fi/airlines/ doesn't work in nightly because of a JavaScript exception : 
uncaught exception: There is already a registered component named find

(the drag and drop of destination target doesn't work, neither the lazy loading of images).

Tested with 
 - Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20130719 Firefox/25.0
 - Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20130722 Firefox/25.0

The page works fine without error message in Firefox 24a2 and older versions
Keywords: regression
Probably by Bug 885553 (see the other TE Regression it "caused").
Assignee: nobody → english-us
Blocks: 885553
Component: General → English US
Product: Firefox → Tech Evangelism
Version: 25 Branch → unspecified
e.prototype.register = function (t, e) {
if (null != this.availableComponents[t]) throw 'There is already a registered component named ' + t;
this.availableComponents.push({
name: t,
func: e
})

fwiw, I get the same result in Safari.
Aaaah… it is working in Opera Blink. So I suspect this is a Web site which has been made with Chrome only in mind.
Assignee: english-us → nobody
Component: English US → Desktop
Whiteboard: [country-us] [js]
I suppose it will start failing if/when Chrome implements Array.prototype.find()
Summary: uncaught exception: There is already a registered component named (...) → Adding array find method causes 'uncaught exception: There is already a registered component named "find"' error on f-i.com
Whiteboard: [country-us] [js] → [country-us] [js] [contactready]
Site appears to no longer exist, redirects to http://fantasy.co/.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.