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

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

Issue 2204183002: Prepare CompositorWorker for per thread heap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/proxy-idle.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 384dc5b3104c5b1a84b23bd5337f05b5d4438a71..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<div id="container"></div>
-<script src="../../../../fast/workers/resources/worker-util.js"></script>
-<script src="../../../../resources/testharness.js"></script>
-<script src="../../../../resources/testharnessreport.js"></script>
-<script>
-
-var test = async_test(function() {
- assert_not_equals('undefined', typeof window.internals);
- 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);
-
- worker.terminate();
-
- // Give some time for the worker to terminate.
- waitUntilWorkerThreadsExit(function() {
- docLayer = JSON.parse(window.internals.layerTreeAsText(document));
- assert_equals(1, docLayer.children.length);
- assert_equals('undefined', typeof docLayer.children[0].children);
- test.done();
- });
- }
-
- var proxy = new CompositorProxy(document.getElementById('container'), ['opacity']);
- worker.postMessage(proxy);
-
- var container = document.getElementById('container');
- var docLayer = JSON.parse(window.internals.layerTreeAsText(document));
- assert_equals(1, docLayer.children.length);
- assert_equals(1, docLayer.children[0].children.length);
- proxy.disconnect();
-}, "This test checks that the layer is kept alive by a worker only proxy.");
-
-</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/proxy-idle.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698