Open Bug 1156725 Opened 7 years ago Updated 3 years ago

unable to run test_localStorageBasePrivateBrowsing_perwindowpb.html when testing in the local directory

Categories

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

defect
Not set
normal

Tracking

()

Tracking Status
firefox40 --- affected

People

(Reporter: jmaher, Unassigned, NeedInfo)

References

Details

From a recent inbound branch, I run:
./mach mochitest-chrome dom/tests/mochitest/localstorage/

and get this failure:
114 INFO TEST-UNEXPECTED-FAIL | dom/tests/mochitest/localstorage/test_localStorageBasePrivateBrowsing_perwindowpb.html | uncaught exception - NS_ERROR_NOT_AVAILABLE:  at chrome://mochitests/content/chrome/dom/tests/mochitest/localstorage/test_localStorageBasePrivateBrowsing_perwindowpb.html:52


I suspect this is related to the fact that we run this test so close to startup and the aWin.content.localStorage is not available until delayed startup.

This is a problem on linux*, winXP, Win8.  It doesn't appear to be a problem on OSX 10.6 and Windows 7:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a5e04daaeaf0
running:
./mach mochitest-chrome dom/tests/mochitest

I get a different failure in the same test case:
5973 INFO TEST-UNEXPECTED-FAIL | dom/tests/mochitest/localstorage/test_localStorageBasePrivateBrowsing_perwindowpb.html | uncaught exception - NS_ERROR_NOT_AVAILABLE:  at chrome://mochitests/content/chrome/dom/tests/mochitest/localstorage/test_localStorageBasePrivateBrowsing_perwindowpb.html:237

quite possibly something else fishy is going on here.  This worked fine roughly 4 weeks ago.
Hi Bellindira,

Looks like you are the original author to this. It would be really nice if you could have a look at this.
Flags: needinfo?(bellindira)
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.