Revision control

1
<!DOCTYPE HTML>
2
<html>
3
<head>
4
<script src="../resources/js-test-pre.js"></script>
5
</head>
6
<body>
7
<script>
8
description("This test should run without throwing an exception.");
9
10
var readerConstructor = new ReadableStream().getReader().constructor;
11
12
var stream = new ReadableStream();
13
stream.getReader = "foo";
14
15
shouldBeTrue("new readerConstructor(stream) instanceof readerConstructor");
16
17
</script>
18
<script src="../resources/js-test-post.js"></script>
19
</body>
20
</html>