Chromium Code Reviews
DescriptionConsolidate implementation of ImageBitmapRenderingContext
To prepare for the shipping of ImageBitmapRenderingContext, we need more
layout test coverage. When we add more tests, we found that there are
some problem in our implementation.
1. transferFromImageBitmap API should be capable of throwing DOMException.
2. After calling transferFromImageBitmap(bitmap), the bitmap should be
detached.
3. When calling transferFromImageBitmap(bitmap), if bitmap has already
detached, this call should throw an InvalidStateError DOMException.
The corresponding layout test cases are added.
BUG=659156
Committed: https://crrev.com/300be765de46941accbb0d12fee1dba27fd06bb0
Committed: https://crrev.com/807358546cf4a8451044f63c3198039004f80de1
Cr-Original-Commit-Position: refs/heads/master@{#428988}
Cr-Commit-Position: refs/heads/master@{#430954}
Patch Set 1 #
Total comments: 1
Patch Set 2 : address comments #Patch Set 3 : fix a layout test failure #
Messages
Total messages: 30 (19 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||