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

Unified Diff: test/inspector/cpu-profiler/console-profile-end-parameterless-crash.js

Issue 2891213002: [inspector] Refactor protocol-test.js (Closed)
Patch Set: comments addressed 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/cpu-profiler/console-profile-end-parameterless-crash.js
diff --git a/test/inspector/cpu-profiler/console-profile-end-parameterless-crash.js b/test/inspector/cpu-profiler/console-profile-end-parameterless-crash.js
index 415b703c36ef32f58349b54c998bd8f135199aed..d0d995e37e48129ebb35696fafb47647f01d300d 100644
--- a/test/inspector/cpu-profiler/console-profile-end-parameterless-crash.js
+++ b/test/inspector/cpu-profiler/console-profile-end-parameterless-crash.js
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-InspectorTest.log("Tests that \"console.profileEnd()\" does not cause crash. (webkit:105759)");
+let {session, contextGroup, Protocol} = InspectorTest.start("Tests that \"console.profileEnd()\" does not cause crash. (webkit:105759)");
-InspectorTest.addScript(`
+contextGroup.addScript(`
function collectProfiles()
{
console.profile();

Powered by Google App Engine
This is Rietveld 408576698