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

RESOLVED INVALID

Status

RESOLVED INVALID
5 years ago
a year ago

People

(Reporter: clochix, Unassigned)

Tracking

({regression})

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

5 years ago
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
(Reporter)

Updated

5 years ago
Keywords: regression

Updated

5 years ago
Keywords: regression → regressionwindow-wanted
Here's the pushlog that I found using mozregression:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3b955f306226&tochange=8e3a124c9c1a
Keywords: regressionwindow-wanted → 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

Comment 3

4 years ago
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
Last Resolved: a year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.