Closed
Bug 1105518
Opened 10 years ago
Closed 7 years ago
Stop redefining non-configurable properties in sandbox code
Categories
(Core :: XPConnect, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: anba)
Details
Attachments
(1 file, 1 obsolete file)
8.64 KB,
patch
|
anba
:
review+
|
Details | Diff | Splinter Review |
See bug 1101123 comment 3.
The most plausible solution for this is probably to make the sandbox global involved a proxy, fixing whatever issues block proxies as globals...
Or is there a different long-term plan for this stuff? Bill?
Flags: needinfo?(wmccloskey)
![]() |
Reporter | |
Comment 1•10 years ago
|
||
Once this is fixed, JSPROP_REDEFINE_NONCONFIGURABLE needs to go away.
I guess allowing proxy globals is the long term plan, yes.
Flags: needinfo?(wmccloskey)
Assignee | ||
Comment 3•7 years ago
|
||
bug 1445551 removed the sandbox code which used JSPROP_REDEFINE_NONCONFIGURABLE, so the skip-redefine-check hack in js::NativeDefineProperty can now be removed, too. \o/
https://searchfox.org/mozilla-central/search?q=JSPROP_REDEFINE_NONCONFIGURABLE&case=true&path=
Priority: -- → P3
Assignee | ||
Comment 4•7 years ago
|
||
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED
Attachment #8975456 -
Flags: review?(jorendorff)
Updated•7 years ago
|
Attachment #8975456 -
Flags: review?(jorendorff) → review+
Assignee | ||
Comment 5•7 years ago
|
||
Rebased to apply cleanly on inbound, carrying r+.
Attachment #8975456 -
Attachment is obsolete: true
Attachment #8985792 -
Flags: review+
Assignee | ||
Comment 6•7 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=75c55845c8e80993c58cc38106a720a57bbcf3b6
Keywords: checkin-needed
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1d498636e0d5
Remove JSPROP_REDEFINE_NONCONFIGURABLE from jsapi. r=jorendorff
Keywords: checkin-needed
Comment 8•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•