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)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla65
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file, 1 obsolete file)
|
3.93 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
Because it can go away on navigation.
Updated•8 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 1•7 years ago
|
||
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 | ||
Updated•7 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•7 years ago
|
||
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-
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
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)
| Assignee | ||
Updated•7 years ago
|
Attachment #9025405 -
Attachment is obsolete: true
Updated•7 years ago
|
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
Comment 6•7 years ago
|
||
Backed out 2 changesets (bug 1329324, bug 1178639) for failing wpt tests on window-properties.https.htm
Backout revision https://hg.mozilla.org/integration/mozilla-inbound/rev/db5251bae3d4e09b0cadab5378005fa402841f39
Failed push https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&selectedJob=214196389&revision=8c8ad4d5dbe94b90b340acd449fac1516b563a07
Failure logs:
https://treeherder.mozilla.org/logviewer.html#?job_id=214196389&repo=mozilla-inbound
https://treeherder.mozilla.org/logviewer.html#?job_id=214198472&repo=mozilla-inbound
https://treeherder.mozilla.org/logviewer.html#?job_id=214198905&repo=mozilla-inbound
:bzbarsky Could you please take a look at this issue?
Flags: needinfo?(bzbarsky)
| Assignee | ||
Comment 7•7 years ago
|
||
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
| Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(bzbarsky)
Comment 9•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•