Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: LayoutTests/fast/compositorworker/compositor-attribute-change.html

Issue 1025893002: compositor-worker: Add mutable attributes to CompositorProxy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/compositorworker/compositor-attribute-change-worker.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/compositorworker/compositor-attribute-change-worker.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698