Chromium Code Reviews| 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 test(function() { | |
| 8 var proxy = new CompositorProxy(document.getElementById('container'), ['opac ity']); | |
| 9 assert_throws("NoModificationAllowedError", function() { proxy.opacity = 0.4 ; }); | |
| 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."); | |
| 12 | |
| 13 </script> | |
| OLD | NEW |