https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e940b3ad8382b2a2d7f0faeb0385ed53eb15283b authored by Frédéric Wang on 11 September 2018, 08:14:16 UTC
Use document.scrollingElement to access scroll properties of the viewport
Tip revision: e940b3a
URL-createObjectURL-null.html
<!doctype html>
<html>
<head>
  <meta charset='utf-8'>
  <title>URL.createObjectURL(null)</title>
  <script src="/resources/testharness.js"></script>
  <script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<script>
test(function() {
    assert_throws(new TypeError(), function() {
        window.URL.createObjectURL(null);
    });
}, "URL.createObjectURL(null)");
</script>
</body>
</html>
back to top