Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Unified Diff: test/inspector/protocol-test.js

Issue 2772093002: [inspector] exposed builtins for injected script source (Closed)
Patch Set: removed unused variable Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/inspector/v8-injected-script-host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/protocol-test.js
diff --git a/test/inspector/protocol-test.js b/test/inspector/protocol-test.js
index 00dbba64f1c3ce8fc484eb39afd36d13feeafb00..6dbfdb2cea3227b286895a150ba9461b790d929f 100644
--- a/test/inspector/protocol-test.js
+++ b/test/inspector/protocol-test.js
@@ -329,8 +329,6 @@ InspectorTest.setupInjectedScriptEnvironment = function(debug) {
while (match = getterRegex.exec(injectedScriptSource)) {
getters.add(match[0].substr(1));
}
- // TODO(kozyatinskiy): pass builtins to injected script source.
- getters.delete('constructor');
scriptSource += `(function installSettersAndGetters() {
let defineProperty = Object.defineProperty;
let ObjectPrototype = Object.prototype;\n`;
« no previous file with comments | « src/inspector/v8-injected-script-host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698