Open Bug 1137899 Opened 10 years ago Updated 2 years ago

DOMProxyHandler::defineProperty(..., &defined) out-param contract is tricky and unenforced

Categories

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

x86_64
Linux
defect

Tracking

()

People

(Reporter: jorendorff, Unassigned)

References

(Blocks 1 open bug)

Details

The contract is, caller has to initialize the defined boolean to false before calling the proxy handler's defineProperty() method. I'm OK with that, but every callee should assert that it's false on entry to keep callers honest.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.