Closed Bug 1178639 Opened 11 years ago Closed 7 years ago

nsOuterWindowProxy::getOwnPropertyDescriptor should always claim the property is configurable

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox42 --- affected
firefox65 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file, 1 obsolete file)

Because it can go away on navigation.
Depends on: 1329323
Depends on: 1329324
Priority: -- → P3
Depends on: 1496510
The only exceptions are the spec properties which are readonly non-configurable and have values that are primitives, so don't observably change on navigation.
Attachment #9025405 - Flags: review?(peterv)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Comment on attachment 9025405 [details] [diff] [review] WindowProxy should claim almost all its properties as configurable Per https://github.com/tc39/ecma262/pull/688#issuecomment-439164998 this is not going to work...
Attachment #9025405 - Flags: review?(peterv) → review-
The one exception are properties that are: 1) Defined in the ES spec. 2) Non-configurable. 3) Readonly. 4) Have values that don't observable change on navigation.
Attachment #9025728 - Flags: review?(peterv)
Attachment #9025405 - Attachment is obsolete: true
Attachment #9025728 - Flags: review?(peterv) → review+
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8c8ad4d5dbe9 WindowProxy should generally claim that properties on it are configurable. r=peterv
Oh, right, the tests are wrong in the new world... I thought I'd included the relevant annotations. :(
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/95651672782a WindowProxy should generally claim that properties on it are configurable. r=peterv
Flags: needinfo?(bzbarsky)
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Depends on: 1511232
Depends on: 1511234
Component: DOM → DOM: Core & HTML
Regressions: 1758164
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: