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

Side by Side Diff: test/inspector/console/console-assert.js

Issue 2505493002: [inspector] make console.assert much faster (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 print("Checks for console.assert");
dgozman 2016/11/15 17:57:17 Checks that console.assert produces api call with
6
7 Protocol.Runtime.enable();
8 Protocol.Runtime.onConsoleAPICalled(message => InspectorTest.logMessage(message) );
9 Protocol.Runtime.evaluate({ expression: "console.assert(false)"})
10 .then(() => Protocol.Runtime.evaluate({ expression: "console.assert(true)"}))
11 .then(() => Protocol.Runtime.evaluate({ expression: "console.assert(false, \"e rror\")"}))
12 .then(InspectorTest.completeTest);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698