Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement the blobParts argument to the Blob constructor correctly. #8397
Comments
|
#544 is now done |
|
This should cover turning the existing |
|
Is someone working on this? If no, can I pick this up? |
|
Looks like #9360 has already been submitted for this. Sorry! |
|
Oops! Go for it, @stspyder! |
|
Great!! |
|
I did implement the new constructor with a |
|
@stspyder Have you tried narrowing down which case triggers the timeout? |
|
@jdm "Passing non-objects, Dates and RegExps for blobParts should throw a TypeError." is the test that causes the timeout. It doesn't get past passing null to Blob constructor. I tried debugging and had unexpected crashes with exit code of 8 when in the |
|
|
@jdm No, that |
|
Oh I guess you mentioned the throw_type_error part. |
|
That PR landed a while ago. |
Start accepting correct parameters for the Blob constructor Touches #8397. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9977) <!-- Reviewable:end -->
|
Well, sorry it took me a while to come back on this. But most of my work is complete already. I'll submit a PR shortly. Don't want someone to duplicate efforts here. |
|
Fixed by #9979. |
Depends on #544.
Code:
components/script/dom/webidls/Blob.webidl,components/script/dom/blob.rs.Spec: https://w3c.github.io/FileAPI/#constructorBlob