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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-commit-main.html

Issue 2318383002: Submit CompositorFrame from worker (Closed)
Patch Set: Adding comments 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
Index: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-commit-main.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-commit-main.html b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-commit-main.html
index eaa07875398e6c84ea5bec5d96a528356781dcae..daa6f23bafb36fc53a0991847bdc0e9f24546312 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-commit-main.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-commit-main.html
@@ -1,6 +1,11 @@
<!DOCTYPE>
<canvas id="canvas2D" width="50" height="50" background-color="red"></canvas>
<script>
+// Note: If someone see this test flaky in the future, please mark the test as
+// flaky; the code itself is not the cause of such flakiness.
+// TODO(xlai): Guarantee all OffscreenCanvas commit tests non-flaky under all cases.
+// See crbug.com/645173.
+
// Currently, we push a Green color frame from OffscreenCanvas; so we test
// whether the associated canvas has green pixel. In the future, when we
// change solidColorFrame to textureFrame, the expected png needs to changed too.

Powered by Google App Engine
This is Rietveld 408576698