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

Unified Diff: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-postmessage.html

Issue 1900423004: [compositorworker] Register compositor proxies with proxy client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 4 years, 6 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: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-postmessage.html
diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-postmessage.html b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-postmessage.html
index bd57b71b4f255acce0401a1c35b340ed967ecc3b..ca952ec9735bb3d2d34f98879692ef1ea2f90b0e 100644
--- a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-postmessage.html
+++ b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-postmessage.html
@@ -7,7 +7,8 @@
var test = async_test("This test checks that an element's compositor proxy can be sent from the main thread to the compositor thread.");
jbroman 2016/06/09 21:13:47 nit: please update the test description (e.g. "to
majidvp 2016/06/10 15:33:47 Done.
var lastAttribute = '';
-function checkResponse(opacity, transform) {
+function checkResponse(proxy, opacity, transform) {
+ assert_equals(typeof proxy, 'object');
assert_true(opacity || transform);
assert_not_equals(opacity, transform);
var currentAttribute = opacity ? 'opacity' : 'transform';
@@ -22,7 +23,7 @@ function checkResponse(opacity, transform) {
function processMessage(msg) {
var message = msg.data;
assert_equals('response', message.type);
- checkResponse(message.opacity, message.transform);
+ checkResponse(message.proxy, message.opacity, message.transform);
}
var first = new CompositorWorker('resources/proxy-echo.js');

Powered by Google App Engine
This is Rietveld 408576698