Get rid of __proto__ usage in getControlElement methods

RESOLVED WONTFIX

Status

Core Graveyard
XForms
RESOLVED WONTFIX
8 years ago
2 years ago

People

(Reporter: Sergey Reymerov, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5
Build Identifier: 

1. foo = new Image();
2. bar = {__proto__: foo};
3. for(i in bar) ; 
With third line bar == foo is true without bar == foo is false. Problem of __proto__ parsing. 

Bugs with this didn't catch but for regularity of code and future bugs needs to be fixed.

Additional info in bug 537881.

Reproducible: Always

Updated

8 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
RIP xforms
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
(Assignee)

Updated

2 years ago
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.