Closed Bug 1089127 Opened 10 years ago Closed 10 years ago

Preferences.jsm uses __proto__ and gives warning

Categories

(Firefox :: Untriaged, defect)

36 Branch
x86
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 982856

People

(Reporter: micha.postbox, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20141023030203

Steps to reproduce:

Start Firefox without extensions.


Actual results:

mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create Preferences.jsm:378


Expected results:

No warning.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.