Closed Bug 803306 Opened 12 years ago Closed 12 years ago

Named setters/creators incorrectly set an expando in addition to calling the setter

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

Because there's a missing return, so we not only call the creator but also end up falling through to mozilla::dom::DOMProxyHandler::defineProperty which sets the expando. This causes some test failures with the patch for bug 803129.
Whiteboard: [need review]
Attachment #672977 - Flags: review?(peterv) → review+
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla19
Assignee: nobody → bzbarsky
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: