mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
4a99a95341
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. |
||
---|---|---|
.. | ||
content | ||
document | ||
Makefile.in |