diff options
author | xidachen <xidachen@chromium.org> | 2015-11-27 19:33:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-28 03:34:55 +0000 |
commit | 423cdccfe8d03c41c94697d64bcc34078ec65b33 (patch) | |
tree | 10ef2e8a5c2bb10ee05318c9e873abe00d4c8fbd /third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html | |
parent | bcfc0fcc956c7523eb3788dcb8f855f5b912690f (diff) | |
download | chromium_src-423cdccfe8d03c41c94697d64bcc34078ec65b33.zip chromium_src-423cdccfe8d03c41c94697d64bcc34078ec65b33.tar.gz chromium_src-423cdccfe8d03c41c94697d64bcc34078ec65b33.tar.bz2 |
Use union type in ImageBitmapFactories.idl
The ImageBitmapFactories.idl should use typedef for its image source,
as specified in: https://html.spec.whatwg.org/#imagebitmapfactories.
In this CL, the CanvasRenderingContext2D is excluded in the ImageBitmapSource.
BUG=555958
Review URL: https://codereview.chromium.org/1455763002
Cr-Commit-Position: refs/heads/master@{#362048}
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html index 57d20ea..af1488c 100644 --- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html +++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html @@ -103,10 +103,6 @@ Promise.resolve().then(function() { }); }).then(function() { return createCanvas().then(function(canvas) { - return checkInvalidRange(canvas.getContext('2d'), 'canvas context'); - }); -}).then(function() { - return createCanvas().then(function(canvas) { var imagedata = canvas.getContext('2d').getImageData(0, 0, canvas.width, canvas.height); return checkInvalidRange(imagedata, 'canvas imagedata') }); |