Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D.html b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D.html |
| index be7fad2d54b60a290f746673458268aa8d5a239b..786b1c89c3794f7a128aa61f9b27fb4c2554e7b5 100644 |
| --- a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D.html |
| +++ b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D.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"); |
|
Justin Novosad
2016/04/20 20:07:27
Hmmm... test is called "getContext2D" but it cover
xidachen
2016/04/20 20:52:09
Good catch, this will be changed in a future CL on
|
| +shouldBeType("ctx4", "WebGLRenderingContext"); |
| </script> |