Open Bug 827723 Opened 12 years ago Updated 2 years ago

WebIDL Blob constructor support in JS components

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: ctai, Unassigned)

References

Details

In bug 825836, we add a Blob support in JS component. But once Blob is converted to WebIDL, we should support this feature too.
>+ do_check_true(f1 instanceof Ci.nsIDOMBlob, "Should be a DOM Blob"); >+ do_check_true(f2 instanceof Ci.nsIDOMBlob, "Should be a DOM Blob"); >+ >+ do_check_true(!(f1 instanceof Ci.nsIDOMFile), "Should not be a DOM File"); >+ do_check_true(!(f2 instanceof Ci.nsIDOMFile), "Should not be a DOM File"); These tests will be broken when the Blob is migrated to WebIDL. They should be |instanceof Blob| and |instanceof File|.
Depends on: 827823
After we do this there are several IndexedDB tests that run only in a Window that should be modified to run in Window and component scopes.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.