blob: 3b0ed4e6f692ba1f5dc1388c2a9e89c47ee31ff4 [file] [log] [blame]
/*
* Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @description
*/
import "dart:html";
import "../../../../Utils/expect.dart";
import "../../../../Utils/async_utils.dart";
import "../../../testcommon.dart";
import "pwd.dart";
main() {
var depth = window.screen.pixelDepth;
if (!(depth == 16 || depth == 24 || depth == 32)) {
testFailed("window.screen.pixelDepth is $depth, expected 16, 24, or 32");
}
depth = window.screen.colorDepth;
if (!(depth == 16 || depth == 24 || depth == 32)) {
testFailed("window.screen.colorDepth is $depth, expected 16, 24, or 32");
}
}