Index: src/inspector/injected-script-source.js |
diff --git a/src/inspector/injected-script-source.js b/src/inspector/injected-script-source.js |
index 0e305826c02bd2a1b5b03d8e00d7e3b78270cedd..d86b1101d17acf405672878a658da8abbe2a283a 100644 |
--- a/src/inspector/injected-script-source.js |
+++ b/src/inspector/injected-script-source.js |
@@ -157,11 +157,11 @@ function isSymbol(obj) |
* @type {!Object<string, !Object<string, boolean>>} |
* @const |
*/ |
-var domAttributesWithObservableSideEffectOnGet = nullifyObjectProto({}); |
-domAttributesWithObservableSideEffectOnGet["Request"] = nullifyObjectProto({}); |
-domAttributesWithObservableSideEffectOnGet["Request"]["body"] = true; |
-domAttributesWithObservableSideEffectOnGet["Response"] = nullifyObjectProto({}); |
-domAttributesWithObservableSideEffectOnGet["Response"]["body"] = true; |
+var domAttributesWithObservableSideEffectOnGet = { |
+ Request: { body: true, __proto__: null }, |
+ Response: { body: true, __proto__: null }, |
+ __proto__: null |
+} |
/** |
* @param {!Object} object |
@@ -186,6 +186,7 @@ function doesAttributeHaveObservableSideEffectOnGet(object, attribute) |
var InjectedScript = function() |
{ |
} |
+InjectedScriptHost.nullifyPrototype(InjectedScript); |
/** |
* @type {!Object.<string, boolean>} |