WebIDL Blob constructor support in JS components

NEW
Unassigned

Status

()

P5
normal
6 years ago
4 months ago

People

(Reporter: ctai, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

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|.
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
You need to log in before you can comment on or make changes to this bug.