| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <div id="container"></div> | 2 <div id="container"></div> |
| 3 <script src="../../resources/testharness.js"></script> | 3 <script src="../../../../resources/testharness.js"></script> |
| 4 <script src="../../resources/testharnessreport.js"></script> | 4 <script src="../../../../resources/testharnessreport.js"></script> |
| 5 <script> | 5 <script> |
| 6 | 6 |
| 7 test(function() { | 7 test(function() { |
| 8 var proxy = new CompositorProxy(document.getElementById('container'), ['opac
ity']); | 8 var proxy = new CompositorProxy(document.getElementById('container'), ['opac
ity']); |
| 9 assert_throws("NoModificationAllowedError", function() { proxy.opacity = 0.4
; }); | 9 assert_throws("NoModificationAllowedError", function() { proxy.opacity = 0.4
; }); |
| 10 assert_throws("NoModificationAllowedError", function() { return proxy.opacit
y; }); | 10 assert_throws("NoModificationAllowedError", function() { return proxy.opacit
y; }); |
| 11 }, "This test checks that a compositor proxy cannot be mutated from the main thr
ead."); | 11 }, "This test checks that a compositor proxy cannot be mutated from the main thr
ead."); |
| 12 | 12 |
| 13 </script> | 13 </script> |
| OLD | NEW |