Closed
Bug 842259
Opened 12 years ago
Closed 12 years ago
Invalid 'named access on the Window object' when an element is removed
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 425233
People
(Reporter: m.gotink, Unassigned)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
User Agent: Opera/9.80 (Windows NT 5.1) Presto/2.12.388 Version/12.14
Steps to reproduce:
In javascript dynamically create an element with an id.
Remove the element.
Add an element with the same id again.
Actual results:
Named access by the id of the element always returns the first created element.
Expected results:
The named element should be undefined when it is removed from the DOM and point to the newly created element if it is created again.
As described in http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#named-access-on-the-window-object
Updated•12 years ago
|
Attachment #715077 -
Attachment mime type: text/plain → text/html
Updated•12 years ago
|
Component: Untriaged → DOM
Product: Firefox → Core
Updated•12 years ago
|
Updated•12 years ago
|
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•