Chromium Code Reviews
DescriptionMake Blob constructor's first argument optional.
The spec previously had constructor overloads, allowing blobs to be
created with either `new Blob()` (no arguments) or `new Blob([data])`
(argument with array of blob parts). But unlike most APIs, calling as
`new Blob(undefined)` would throw, which is unexpected. The spec was
updated to remove the overload and make the first argument optional
instead.
A PR has been submitted to update web-platform-tests.
Spec: https://w3c.github.io/FileAPI/
BUG=604910
R=philipj@opera.com
Committed: https://crrev.com/7dfcdc193f42dc9d5adfb4048fd0fc66c9f06bd5
Cr-Commit-Position: refs/heads/master@{#388806}
Patch Set 1 #Patch Set 2 : Update imported test results #Patch Set 3 : Update platform-specific expectations #
Messages
Total messages: 13 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||