| Index: third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/pixel-manipulation/2d.imageData.create1.basic.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/pixel-manipulation/2d.imageData.create1.basic.html b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/pixel-manipulation/2d.imageData.create1.basic.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8152cfc9732f7c4da59fdaea91d3f745f101ceae
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/pixel-manipulation/2d.imageData.create1.basic.html
|
| @@ -0,0 +1,24 @@
|
| +<!DOCTYPE html>
|
| +<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
|
| +<title>OffscreenCanvas test: 2d.imageData.create1.basic</title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<script src="/common/canvas-tests.js"></script>
|
| +
|
| +<h1>2d.imageData.create1.basic</h1>
|
| +<p class="desc">createImageData(imgdata) exists and returns something</p>
|
| +
|
| +
|
| +<script>
|
| +var t = async_test("createImageData(imgdata) exists and returns something");
|
| +t.step(function() {
|
| +
|
| +var offscreenCanvas = new OffscreenCanvas(100, 50);
|
| +var ctx = offscreenCanvas.getContext('2d');
|
| +
|
| +_assertDifferent(ctx.createImageData(ctx.createImageData(1, 1)), null, "ctx.createImageData(ctx.createImageData(1, 1))", "null");
|
| +
|
| +t.done();
|
| +
|
| +});
|
| +</script>
|
|
|