diff options
Diffstat (limited to 'ext/fetch/23_response.js')
-rw-r--r-- | ext/fetch/23_response.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/fetch/23_response.js b/ext/fetch/23_response.js index 7dad8c047..ff4ad5fac 100644 --- a/ext/fetch/23_response.js +++ b/ext/fetch/23_response.js @@ -432,9 +432,9 @@ class Response { webidl.configureInterface(Response); ObjectDefineProperties(Response, { - json: { enumerable: true }, - redirect: { enumerable: true }, - error: { enumerable: true }, + json: { __proto__: null, enumerable: true }, + redirect: { __proto__: null, enumerable: true }, + error: { __proto__: null, enumerable: true }, }); const ResponsePrototype = Response.prototype; mixinBody(ResponsePrototype, _body, _mimeType); |