Closed Bug 1226052 Opened 9 years ago Closed 8 years ago

Get test_mozfiledataurl.html working with e10s

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
e10s + ---
firefox45 --- affected
firefox46 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

      No description provided.
Blocks: 1218958
No longer blocks: 1225202
Blocks: e10s-tests
tracking-e10s: --- → +
I think the getFile method is the problematic part of this tests.
This will make it possible to create them in one batch later.
Attachment #8710475 - Flags: review?(amarchesini)
For some reason this test still times out on Android and B2G, but at least it works on e10s now.
Attachment #8710476 - Flags: review?(amarchesini)
Attachment #8710474 - Flags: review?(amarchesini) → review+
Comment on attachment 8710475 [details] [diff] [review]
part 2 - Don't name every file 'file' in test_mozfiledataurl.html.

Review of attachment 8710475 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/base/test/test_mozfiledataurl.html
@@ +103,5 @@
>    isnot(img.height, 90, "correct error height");
>  */
>    // Generate new fileurl and make sure it's different from the old
>    var oldFileurl = fileurl;
> +  var fileurl = URL.createObjectURL(audioFile);

remove 'var'
Attachment #8710475 - Flags: review?(amarchesini) → review+
Attachment #8710476 - Flags: review?(amarchesini) → review+
(In reply to Andrea Marchesini (:baku) from comment #5)
> remove 'var'

I've removed all of the redundant "var" for the various fileurl.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: