[Readable Streams API] Add ReadableByteStreamController byobRequest attribute
[WebKit-https.git] / LayoutTests / streams / shadowing-defineProperty.html
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 Object.defineProperty = function() {
11     throw "User overriden";
12 };
13
14 new ByteLengthQueuingStrategy({});
15 new CountQueuingStrategy({});
16 </script>
17 <script src="../resources/js-test-post.js"></script>
18 </body>
19 </html>