blob: 2af90e6be3afe334ee44acb2d07221f6442b6641 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<!doctype html>
<title>object with length as transferable</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
test(function() {
assert_throws_js(TypeError, function() {
postMessage('', '*', {length:1});
});
});
</script>
|