blob: 800124419d33848e983251feb21034262eb89eac [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
function log(message)
{
document.getElementById('console').appendChild(document.createTextNode(message + "\n"));
}
function test()
{
log("Test that createObjectURL with no argument should throw an exception.");
try {
var url = webkitURL.createObjectURL();
log("FAIL");
} catch(err) {
log("PASS: " + err.message);
}
log("DONE");
}
if (window.layoutTestController)
layoutTestController.dumpAsText();
</script>
</head>
<body onload="test()">
<pre id='console'></pre>
</body>
</html>