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

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

Issue 2041193005: [compositorworker] compositor proxy mutation updates underlying layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-upstream-registration
Patch Set: Use RAII pattern 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-disconnect-worker-terminate.html
diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html
index 76c3089780a629862e3290041d9af10f9b3c641e..384dc5b3104c5b1a84b23bd5337f05b5d4438a71 100644
--- a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html
+++ b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html
@@ -10,6 +10,7 @@ var test = async_test(function() {
var worker = new CompositorWorker('resources/proxy-idle.js');
worker.onmessage = function() {
var docLayer = JSON.parse(window.internals.layerTreeAsText(document));
+ console.log(JSON.stringify(docLayer));
assert_equals(1, docLayer.children.length);
assert_equals(1, docLayer.children[0].children.length);
@@ -32,6 +33,6 @@ var test = async_test(function() {
assert_equals(1, docLayer.children.length);
assert_equals(1, docLayer.children[0].children.length);
proxy.disconnect();
-}, "This test checks that an element's compositor proxy cannot be mutated after disconnect().");
+}, "This test checks that the layer is kept alive by a worker only proxy.");
</script>

Powered by Google App Engine
This is Rietveld 408576698