Closed Bug 1133294 Opened 10 years ago Closed 10 years ago

ScriptedIndirectProxyHandler.[[GetOwnProperty]] can return an incomplete descriptor

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: jorendorff, Assigned: jorendorff)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

This is supposed to be impossible according to ES6 draft rev 32 6.1.7.3: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-invariants-of-the-essential-internal-methods At some point we should enforce that with an assertion.
Assignee: nobody → jorendorff
Status: NEW → ASSIGNED
Comment on attachment 8564679 [details] [diff] [review] Object.getOwnPropertyDescriptor(obj, key) should always return either undefined or a complete property descriptor, even if obj is a proxy Review of attachment 8564679 [details] [diff] [review]: ----------------------------------------------------------------- Yep.
Attachment #8564679 - Flags: review?(efaustbmo) → review+
Blocks: es6
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: