Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444

This commit is contained in:
Josh Matthews 2017-04-17 12:06:02 +10:00 committed by Anthony Ramine
parent 25e8bf69e6
commit 665817d2a6
35333 changed files with 1818077 additions and 16036 deletions

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<title>CSSOM View - 4.2 - screen.height immutability</title>
<link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com">
<link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface">
<meta name="flags" content="dom">
<meta name="assert" content="screen.height is immutable">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="myDiv"></div>
<div id="log"></div>
<script>
var originalVal = window.screen.height;
// try to set window.screen.height
window.screen.height = 0;
// verify window.screen.height didn't change
test(function() {
assert_equals(window.screen.height, originalVal, "window.screen.height should be immutable")
}, "immutability test");
</script>
</body>
</html>