blob: bc772f99fab04438f3586e4d9d7e4432e2f415f1 [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// META: --screen-info={1600x1200}
// META: --start-fullscreen
//
(async function(testRunner) {
const {session} =
await testRunner.startBlank('Tests --start-fullscreen switch.');
const expression = `
let lines = [];
lines.push('Screen: ' + screen.width + 'x' + screen.height);
lines.push('Outer: ' + outerWidth + 'x' + outerHeight);
lines.join(', ');
`;
const result = await session.evaluate(expression);
testRunner.log(result);
testRunner.completeTest();
})