Closed
Bug 743171
Opened 12 years ago
Closed 12 years ago
Object.getOwnPropertyNames(this) is missing "Proxy"
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: jruderman, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
3.18 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
In the shell, Object.getOwnPropertyNames(this) seems to be missing Proxy. For comparison, JSON and Math are present.
Reporter | ||
Comment 1•12 years ago
|
||
Also Audio.
Reporter | ||
Comment 2•12 years ago
|
||
A fix for this (or a solid workaround) would help my DOM fuzzer find objects to mess with and functions to call :)
Whiteboard: [fuzzblocker]
Reporter | ||
Comment 3•12 years ago
|
||
* http://mxr.mozilla.org/mozilla-central/source/dom/base/nsDOMClassInfoClasses.h ** USSDReceivedEvent * http://mxr.mozilla.org/mozilla-central/source/dom/bindings/Bindings.conf ** PerformanceTiming * http://mxr.mozilla.org/mozilla-central/source/dom/webidl/WebIDL.mk * http://mxr.mozilla.org/mozilla-central/source/layout/build/nsLayoutModule.cpp#1283 ** Image
Assignee | ||
Comment 5•12 years ago
|
||
I don't understand comment 3. For one thing, none of those are about the JS engine. Patch coming up for Proxy.
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #676880 -
Flags: review?(jorendorff)
Assignee | ||
Updated•12 years ago
|
Assignee: general → bzbarsky
Whiteboard: [fuzzblocker] → [need review][fuzzblocker]
Reporter | ||
Comment 7•12 years ago
|
||
I split off the DOM bits as bug 807222.
Whiteboard: [need review][fuzzblocker] → [need review]
Comment 8•12 years ago
|
||
Comment on attachment 676880 [details] [diff] [review] Fix the global's enumerate hook to correctly enumerate Proxy and WeakMap. Review of attachment 676880 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/tests/ecma_5/extensions/proxy-enumeration.js @@ +3,5 @@ > +for (var i = 0; i < list.length; ++i) { > + if (list[i] == "Proxy") { > + found = true; > + break; > + } You could say var found = list.indexOf("Proxy") != -1;
Attachment #676880 -
Flags: review?(jorendorff) → review+
Assignee | ||
Comment 9•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b74aba46826f with that change.
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla19
Comment 10•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b74aba46826f
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•