Open Bug 510581 Opened 15 years ago Updated 2 years ago

setState doesn't seem to persist for geolocation tests

Categories

(Testing :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: jmaher, Unassigned)

Details

In our geolocation tests we were using the setState and getState to control various aspects of our tests.  The one test that used this was getting random Orange and it looks like removing the calls to setState/getState fix this.

So we either need to fix these calls, or fix other tests which utilize these calls.  Here is a list that I found in mxr:
http://mxr.mozilla.org/mozilla-central/source/content/base/test/file_CrossSiteXHR_cache_server.sjs
http://mxr.mozilla.org/mozilla-central/source/dom/src/threads/test/closeOnGC_server.sjs
http://mxr.mozilla.org/mozilla-central/source/dom/tests/mochitest/ajax/offline/obsoletingManifest.sjs (and about 6 other .sjs files in the same directory)
http://mxr.mozilla.org/mozilla-central/source/modules/libpr0n/test/mochitest/bug490949.sjs
Which particular tests are randomly failing?  I will all but guarantee the problem is not with the API or its implementation but rather with how its users are using it.
Component: httpd.js → General
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.