Closed
Bug 913420
Opened 11 years ago
Closed 11 years ago
Changing prototype of DOM proxy (e.g. select element) throws exception
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 889198
People
(Reporter: medikoo+mozilla.org, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release) Build ID: 20130814063812 Steps to reproduce: Try: document.createElement('select').__proto__ = {}; Actual results: It results with: TypeError: anonymous method called on incompatible Proxy Expected results: It should just assign plain object as prototype of select. It crashes only on <select> elements. It worked in older versions of Firefox, now it crashes in both stable and nightly channel
Updated•11 years ago
|
Assignee: nobody → general
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Component: DOM: Core & HTML → JavaScript Engine
Resolution: --- → DUPLICATE
Summary: Changing prototype of select element throws exception → Changing prototype of DOM proxy (e.g. select element) throws exception
You need to log in
before you can comment on or make changes to this bug.
Description
•