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

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

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, 8 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/fast/canvas/OffscreenCanvas-getContext-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D.html b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html
similarity index 89%
rename from third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D.html
rename to third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html
index be7fad2d54b60a290f746673458268aa8d5a239b..786b1c89c3794f7a128aa61f9b27fb4c2554e7b5 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html
@@ -32,7 +32,7 @@ shouldBeTrue("ctx3 == ctx");
// TODO: change the below part of the test when webgl is supported.
// Calling getContext on an unimplemented context type will return null
-var bogusCanvas = new OffscreenCanvas(20, 20);
-var bogusCtx = bogusCanvas.getContext("webgl");
-shouldBeNull("bogusCtx");
+var bCanvas = new OffscreenCanvas(20, 20);
+var ctx4 = bCanvas.getContext("webgl");
+shouldBeType("ctx4", "WebGLRenderingContext");
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698