Open
Bug 510581
Opened 15 years ago
Updated 2 years ago
setState doesn't seem to persist for geolocation tests
Categories
(Testing :: General, defect)
Testing
General
Tracking
(Not tracked)
NEW
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
Comment 1•15 years ago
|
||
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.
Reporter | ||
Comment 2•15 years ago
|
||
Here is the .sjs file that uses setState and getState: http://mxr.mozilla.org/mozilla-central/source/dom/tests/mochitest/geolocation/network_geolocation.sjs Here is the test that uses it: http://mxr.mozilla.org/mozilla-central/source/dom/tests/mochitest/geolocation/test_timeoutWatch.html?force=1 it is actually done via an api in this file: http://mxr.mozilla.org/mozilla-central/source/dom/tests/mochitest/geolocation/geolocation_common.js Hopefully there is something wrong with the way we are using it.
Assignee | ||
Updated•6 years ago
|
Component: httpd.js → General
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•