mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
7bfebb737a
Return PL_DHASH_STOP if JS_SetProperty fails, and check the return code of the enumerator to propagate the failure back to javascript through the return value of mozGetMetadata. In addition, use JS_DefineProperty in mozGetMetadata so web content can't intercept and alter our creation calls. JS_SetProperty() will define a new property if it doesn't exist, but it will also call any existing setters, in particular those on Object.prototype. This is confusing for an object that created by a platform object method from internal data. |
||
---|---|---|
.. | ||
base | ||
canvas | ||
events | ||
html | ||
mathml/content | ||
media | ||
smil | ||
svg | ||
test | ||
xbl | ||
xml | ||
xslt | ||
xtf | ||
xul | ||
Makefile.in |