2 <div id=
"container"></div>
3 <script src=
"../../resources/testharness.js"></script>
4 <script src=
"../../resources/testharnessreport.js"></script>
8 var proxy
= new CompositorProxy(document
.getElementById('container'), ['opacity']);
9 assert_throws("NoModificationAllowedError", function() { proxy
.opacity
= 0.4; });
10 assert_throws("NoModificationAllowedError", function() { return proxy
.opacity
; });
11 }, "This test checks that a compositor proxy cannot be mutated from the main thread.");