blob: 0c1c3b05c83b510badc8231f87532880a8a5014c [file] [log] [blame]
// Copyright 2018 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 stability of performance metrics list.\n`);
const model = SDK.targetManager.mainTarget().model(SDK.PerformanceMetricsModel);
await model.enable();
let metrics = (await model.requestMetrics()).metrics;
TestRunner.addResult('\nMetrics reported:');
TestRunner.addResults([...metrics.keys()].sort());
TestRunner.completeTest();
})();