Open Bug 962029 Opened 10 years ago Updated 8 months ago

test_bug746272-2.html must not assume that it runs immediately after test_bug746272-1.html


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





(Reporter: masayuki, Unassigned)



(Whiteboard: [test disabled on Android and B2G][leave open])

I'm adding a new test in bug 935876. That causes test_bug746272-1.html moved to mochitest-6 from mochitest-7 on Android.

However, test_bug746272-2.html assumes that it runs immediately after test_bug746272-1.html. In other words, -2 depends on -1.

Therefore, this causes new orange.

I'll disable the -2 test in bug 935876 if this isn't fixed before that.

I guess that when 2 tests must be run sequentially, you should use <iframe> or mochitest-browser-chrome.
Is it impossible to combine the two tests? I don't think it's a good idea for a test to depend on another test.
I think we may do something similar as has been done for the cookie test recently, just run the two parts in iframe.  The goal was to make the localStorage (old implementation) reload from disk.  Also, there is a testing API that may force it w/o using a separate window/iframe for the two test parts.
Looks like someone else beat you to the punch and added some other test which moved the boundaries, so etc., it's now permaorange
This is biting B2G debug on Aurora now too. Disabled.
Whiteboard: [test disabled on Android and B2G][leave open]
Assignee: honzab.moz → nobody
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.