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

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

Issue 2316643003: Reland Submit Compositor Frame from OffscreenCanvas on main (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE>
2 <canvas id="canvas2D" width="50" height="50" background-color="red"></canvas>
3 <script>
4 // Currently, we push a Green color frame from OffscreenCanvas; so we test
5 // whether the associated canvas has green pixel. In the future, when we
6 // change solidColorFrame to textureFrame, the expected png needs to changed too .
7 var canvas2D = document.getElementById("canvas2D");
8 var offscreenCanvas = canvas2D.transferControlToOffscreen();
9 var offscreen2d = offscreenCanvas.getContext("2d");
10 offscreen2d.commit();
11 </script>
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-commit-main-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698