blob: 78c33f029424e08f9b2e4a6f6d9a34fd488392ba [file] [log] [blame]
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
test(function () {
var blobUrl = URL.createObjectURL(new Blob());
assert_throws_dom('SecurityError', function () {
history.pushState(null, null, blobUrl);
});
}, 'pushState to blob:-URL should fail with SecurityError');
</script>