DescriptionIDL: ArrayBuffer and ArrayBufferView support for union types
(ArrayBuffer or ArrayBufferView) is a common union type usage. For example,
CSS font loading[1] and fetch API[2] use it. Implement and use them for
FontFace constructor.
Change for FontFace is covered by fast/css/fontface-arraybuffer.html
This CL also fixed two minor bugs:
- Collect union types from constructors (we didn't before)
- We need to use 'implemented_as' for forward class declarations, instead of
'name'.
[1] http://dev.w3.org/csswg/css-font-loading/#fontface-interface
[2] https://fetch.spec.whatwg.org/#body-mixin
BUG=240176
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184824
Patch Set 1 : #
Total comments: 6
Patch Set 2 : #
Total comments: 2
Patch Set 3 : #Messages
Total messages: 11 (3 generated)
|