blob: 947ea895b422eafc394f9701e0ba6092ef4121ec [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
(async function() {
TestRunner.addResult(`Tests that simple evaluations may be performed in the console.\n`);
await TestRunner.loadModule('console_test_runner');
await TestRunner.showPanel('console');
ConsoleTestRunner.evaluateInConsole('1+2', step2);
async function step2() {
await ConsoleTestRunner.dumpConsoleMessages();
TestRunner.completeTest();
}
})();