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

Unified Diff: LayoutTests/fast/compositorworker/resources/proxy-echo.js

Issue 1024233002: compositor-worker: Introduce CompositorProxy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/compositorworker/resources/proxy-echo.js
diff --git a/LayoutTests/fast/compositorworker/resources/proxy-echo.js b/LayoutTests/fast/compositorworker/resources/proxy-echo.js
new file mode 100644
index 0000000000000000000000000000000000000000..63571428def4aeb90844bf564e62f2df8500cbcb
--- /dev/null
+++ b/LayoutTests/fast/compositorworker/resources/proxy-echo.js
@@ -0,0 +1,7 @@
+onmessage = function(msg) {
+ var proxy = msg.data;
+ if (typeof proxy == "CompositorProxy")
+ postMessage({type: "error"});
+ else
+ postMessage({type: 'response', id: proxy.elementId, flags: proxy.attributes});
+}

Powered by Google App Engine
This is Rietveld 408576698