| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <div id="container"></div> | |
| 3 <script src="../../resources/testharness.js"></script> | |
| 4 <script src="../../resources/testharnessreport.js"></script> | |
| 5 <script> | |
| 6 | |
| 7 var test = async_test(function() { | |
| 8 function processMessage(event) { | |
| 9 var message = event.data; | |
| 10 assert_equals('NoModificationAllowedError', message); | |
| 11 test.done(); | |
| 12 } | |
| 13 | |
| 14 var worker = new CompositorWorker('resources/proxy-disconnect.js'); | |
| 15 worker.onmessage = processMessage; | |
| 16 var proxy = new CompositorProxy(document.getElementById('container'), ['opac
ity']); | |
| 17 worker.postMessage(proxy); | |
| 18 }, "This test checks that an element's compositor proxy cannot be mutated after
disconnect()."); | |
| 19 </script> | |
| OLD | NEW |