| 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>
|
|
|