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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-expected.txt

Issue 1881563003: Implement OffscreenCanvas.getContext('webgl') (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and remove static_cast Created 4 years, 7 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
1 Tests basic functionalities of offscreenCanvas.getContext on the main thread 1 Tests basic functionalities of offscreenCanvas.getContext on the main thread
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS aCanvas.width is 40 6 PASS aCanvas.width is 40
7 PASS aCanvas.height is 60 7 PASS aCanvas.height is 60
8 PASS aCanvas.width is 110 8 PASS aCanvas.width is 110
9 PASS aCanvas.height is 90 9 PASS aCanvas.height is 90
10 PASS aCanvas.width is 0 10 PASS aCanvas.width is 0
11 PASS ctx = aCanvas.getContext('2d') did not throw exception. 11 PASS ctx = aCanvas.getContext('2d') did not throw exception.
12 PASS ctx is an instance of OffscreenCanvasRenderingContext2D 12 PASS ctx is an instance of OffscreenCanvasRenderingContext2D
13 PASS ctx2 is null 13 PASS ctx2 is null
14 PASS ctx3 is non-null. 14 PASS ctx3 is non-null.
15 PASS ctx3 == ctx is true 15 PASS ctx3 == ctx is true
16 PASS bogusCtx is null 16 PASS ctx4 is an instance of WebGLRenderingContext
17 PASS successfullyParsed is true 17 PASS successfullyParsed is true
18 18
19 TEST COMPLETE 19 TEST COMPLETE
20 20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698