DescriptionFix a small error in exception handling in convertToBlob
The spec for convertToBlob is here:
https://html.spec.whatwg.org/multipage/scripting.html#dom-offscreencanvas-converttoblob
There are three cases where this API should throw exception, and we don't
have the test to cover that.
Also, our code does not handle the third case in the above spec.
This CL adds layout tests to cover the exception cases and fix the third
case.
BUG=659260
Committed: https://crrev.com/8e9a7bc6d79b084d3562563d2c2aa06c3390965d
Cr-Commit-Position: refs/heads/master@{#433673}
Patch Set 1 #
Total comments: 4
Patch Set 2 : address comments. #
Messages
Total messages: 14 (7 generated)
|