blob: 95dd3e06895388889915a8b2656cba9cd88a9baa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE HTML>
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script>
description("Test URL methods with null and undefined arguments.");
shouldThrow("URL.createObjectURL(null)");
shouldThrow("URL.createObjectURL(undefined)");
shouldNotThrow("URL.revokeObjectURL(null)");
shouldNotThrow("URL.revokeObjectURL(undefined)");
var successfullyParsed = true;
</script>
</body>
</html>
|