Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some ImageData constructor tests. #5124

Merged
merged 1 commit into from Mar 13, 2017
Merged

Add some ImageData constructor tests. #5124

merged 1 commit into from Mar 13, 2017

Conversation

Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Mar 13, 2017

No description provided.

@wpt-pr-bot
Copy link
Collaborator

Notifying @gsnedders. (Learn how reviewing works.)

@w3c-bots
Copy link

View the complete job log.

Firefox (nightly channel)

Testing web-platform-tests at revision 85f883c
Using browser at version BuildID 20170312110221; SourceStamp 3154da520af568d4da3de62bc26fbf97a1317f51
Starting 10 test iterations
All results were stable

All results

4 tests ran
/2dcontext/pixel-manipulation/2d.imageData.object.ctor.array.bounds.html
Subtest Results Messages
OK
ImageData has a usable constructor PASS
/2dcontext/pixel-manipulation/2d.imageData.object.ctor.array.html
Subtest Results Messages
OK
ImageData has a usable constructor PASS
/2dcontext/pixel-manipulation/2d.imageData.object.ctor.size.bounds.html
Subtest Results Messages
OK
ImageData has a usable constructor PASS
/2dcontext/pixel-manipulation/2d.imageData.object.ctor.size.html
Subtest Results Messages
OK
ImageData has a usable constructor PASS

@w3c-bots
Copy link

View the complete job log.

Chrome (unstable channel)

Testing web-platform-tests at revision 85f883c
Using browser at version 58.0.3029.14 dev
Starting 10 test iterations
All results were stable

All results

4 tests ran
/2dcontext/pixel-manipulation/2d.imageData.object.ctor.array.bounds.html
Subtest Results Messages
OK
ImageData has a usable constructor FAIL assert_throws: function "function () { new ImageData(new Uint8ClampedArray(0), 1); }" threw object "IndexSizeError: Failed to construct 'ImageData': The input data has zero elements." that is not a DOMException INVALID_STATE_ERR: property "code" is equal to 1, expected 11
/2dcontext/pixel-manipulation/2d.imageData.object.ctor.array.html
Subtest Results Messages
OK
ImageData has a usable constructor PASS
/2dcontext/pixel-manipulation/2d.imageData.object.ctor.size.bounds.html
Subtest Results Messages
OK
ImageData has a usable constructor PASS
/2dcontext/pixel-manipulation/2d.imageData.object.ctor.size.html
Subtest Results Messages
OK
ImageData has a usable constructor PASS

@nox
Copy link
Contributor

nox commented Mar 13, 2017

LGTM.

@Ms2ger Ms2ger merged commit 14b73a0 into master Mar 13, 2017
@Ms2ger Ms2ger deleted the ImageData-ctor branch March 13, 2017 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants