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

Unified Diff: test/inspector/console/destroy-context-during-log.js

Issue 2891213002: [inspector] Refactor protocol-test.js (Closed)
Patch Set: Created 3 years, 7 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
Index: test/inspector/console/destroy-context-during-log.js
diff --git a/test/inspector/console/destroy-context-during-log.js b/test/inspector/console/destroy-context-during-log.js
index 0d3d13b69777692d17e6d9636dcdbdabbe2af35c..0fa7c16d7c6be7c7813db5b73a28a5446c59ae0a 100644
--- a/test/inspector/console/destroy-context-during-log.js
+++ b/test/inspector/console/destroy-context-during-log.js
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+let {session, contextGroup, Protocol} = InspectorTest.start('Tests that destroying context from inside of console.log does not crash');
kozy 2017/05/18 23:44:54 If you already have a script, could you change it
dgozman 2017/05/19 00:02:45 Acknowledged.
+
const expression = `
Object.defineProperty(Object.prototype, 'RemoteObject', {
configurable: true,

Powered by Google App Engine
This is Rietveld 408576698