mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
dcad0d8960
- call the JSRuntime's checkObjectAccess callback, if configured, for each get or set that invokes a user-defined function (a user-defined function is a scripted or native function object, not a native JSPropertyOp C function). The value passed as an in-out parameter in *vp is the function object, so the callback could, e.g., clone function objects and configure them with different parent objects, if that helped import them into a trust domain. - Fix a long-standing bug that broke the deprecated, old-style, and rarely- used top-level getter/setter function declaration form: getter function f() { return ++x; } setter function f(y) { return x = y; } We want js_CheckRedeclaration to complain only if a permanent getter is being redefined by another getter, likewise for a setter -- but not when (as above) a setter is being added to a top-level object for the same id as a pre-existing getter (or vice versa). |
||
---|---|---|
.. | ||
benchmarks | ||
docs | ||
jsd | ||
jsdj | ||
jsj | ||
macbuild | ||
ref | ||
rhino | ||
src | ||
tests | ||
.cvsignore | ||
landbranch.pl | ||
Makefile.in | ||
makefile.win |