OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <script src="../resources/testharness.js"></script> |
| 4 <script src="../resources/testharnessreport.js"></script> |
| 5 <script> |
| 6 'use strict'; |
| 7 |
| 8 let expected = ['immutable', 'immutable', 'immutable', 'immutable', 'immutable']
; |
| 9 |
| 10 async_test(function(t) { |
| 11 let worker = new SharedWorker('immutable-prototype-worker.js'); |
| 12 worker.port.onmessage = t.step_func_done(function(result) { |
| 13 assert_array_equals(expected, result.data); |
| 14 }); |
| 15 worker.port.postMessage(null); |
| 16 }, 'worker prototype chain should be immutable'); |
| 17 </script> |
| 18 </html> |
OLD | NEW |