Chromium Code Reviews| Index: Source/core/inspector/InjectedScriptSource.js |
| diff --git a/Source/core/inspector/InjectedScriptSource.js b/Source/core/inspector/InjectedScriptSource.js |
| index edeb00c72cd8e394acda0c4fd84cf242b7e70921..5d4ee46ae0cf4acec89ec25921fac2cbe02f5e85 100644 |
| --- a/Source/core/inspector/InjectedScriptSource.js |
| +++ b/Source/core/inspector/InjectedScriptSource.js |
| @@ -38,7 +38,7 @@ |
| * Protect against Object overwritten by the user code. |
| * @suppress {duplicate} |
| */ |
| -var Object = /** @type {function(new:Object, *=)} */ ({}.constructor); |
| +self.Object = /** @type {function(new:Object, *=)} */ ({}.constructor); |
|
aandrey
2014/06/16 18:22:07
how is it supposed to work?
apavlov
2014/06/16 19:12:19
See http://www.ecma-international.org/ecma-262/5.1
aandrey
2014/06/16 19:44:47
This is not top level. Setting "Object" property o
apavlov
2014/06/17 11:28:14
Fixed (it used to be top-level when compiling, tha
|
| /** |
| * @param {!Array.<T>} array |