Closed
Bug 864271
Opened 12 years ago
Closed 12 years ago
Permanent orange: TEST-UNEXPECTED-FAIL | browser_dataman_basics.js | Test timed out
Categories
(SeaMonkey :: General, defect)
SeaMonkey
General
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.20
People
(Reporter: mcsmurf, Assigned: mcsmurf)
Details
Attachments
(1 file)
|
1.28 KB,
patch
|
kairo
:
review+
|
Details | Diff | Splinter Review |
Currently the suite/common/dataman/tests/browser_dataman_basics.js test times out permanently. This is due to the test_storage_load function. It is designed for the data manager being an browser extension:
779 let rootDir = "http://mochi.test:8888/browser/extensions/dataman/tests/";
780 let testURL = rootDir + "dataman_storage.html";
781 let storagetab = gBrowser.addTab(testURL);
That's not the case for SeaMonkey and therefor the test stops here and times out.
| Assignee | ||
Comment 1•12 years ago
|
||
Robert: This should do the trick so that the test file works for both SeaMonkey and the dataman extension.
For SeaMonkey getRootDirectory(gTestPath) is chrome://mochikit/content/browser/suite/common/dataman/tests/, for the extension it is chrome://mochikit/content/extensions/dataman/tests as far as I see this. This results in the code using http://mochi.test:8888/broser/suite/common/dataman/tests/ and http://mochi.test:8888/browser/extensions/dataman/tests/. This is exactly what we want.
| Assignee | ||
Comment 2•12 years ago
|
||
I meant "chrome://mochikit/content/browser/extensions/dataman/tests/" in Comment 1.
Updated•12 years ago
|
Attachment #743359 -
Flags: review?(kairo) → review+
Comment 3•12 years ago
|
||
Comment on attachment 743359 [details] [diff] [review]
Patch
Review of attachment 743359 [details] [diff] [review]:
-----------------------------------------------------------------
Forgot to add a comment - thanks for researching this! I was almost about to say "forget about my add-ons, make it work for SeaMonkey" but your solution is so elegant. :)
| Assignee | ||
Comment 4•12 years ago
|
||
Target Milestone: --- → seamonkey2.20
Comment 5•12 years ago
|
||
Was this bug supposed to be R.Fixed? (Or...)
Flags: needinfo?(bugzilla)
Keywords: intermittent-failure
| Assignee | ||
Comment 6•12 years ago
|
||
The test still fails, but in another way. But one bug per issue, so fixed :)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: needinfo?(bugzilla)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•