Closed
Bug 419826
Opened 18 years ago
Closed 18 years ago
Make browser mochitests run on SeaMonkey
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kairo, Assigned: kairo)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.99 KB,
patch
|
kairo
:
review+
|
Details | Diff | Splinter Review |
I'm adding browser mochitests for suite/ code in bug 416233 - it would be nice to make the framework for those be able to run out of the box.
For locally running the tests, I only needed two small changes, which was 1) using the different chrome URL for SeaMonkey (we'll need to do some detection there) and 2) moving some Cc/Ci vars to a more global scope in the same file (as those aren't defined by default in SeaMonkey.
With those small changes, we should be able to get the framework to run on one more application! :)
| Assignee | ||
Comment 1•18 years ago
|
||
This small patch makes the browser mochitests run on both Firefox and SeaMonkey trunk (tested with both on Linux).
Firefox still runs with no failures, SeaMonkey fails tests that need FUEL or the toolkit download manager, but succeeds on the others.
| Assignee | ||
Comment 2•18 years ago
|
||
Comment on attachment 306316 [details] [diff] [review]
patch: change browser mochtiest framework to run on the suite
>+if (Cc == undefined) {
Actually, === might be even better here - changed locally thanks to ajschult pointing this out.
Updated•18 years ago
|
Attachment #306316 -
Flags: review?(gavin.sharp) → review+
| Assignee | ||
Comment 3•18 years ago
|
||
gavin pointed me to the .pl version still being run by the buildbot machines, so if we get bug 416469 resolved, we need that ifdefed as well, carrying forward review per his IRC comment saying I don't need re-review.
Does this need approval?
Attachment #306316 -
Attachment is obsolete: true
Attachment #306341 -
Flags: review+
Comment 4•18 years ago
|
||
I believe because it's a test-only change it doesn't.
Can I nitpick and ask that the chrome URL for the overlay be moved into a ALL_CAPS_CONSTANT at the top of the files with the other such constants? :-)
| Assignee | ||
Comment 5•18 years ago
|
||
OK, added the constant named BROWSER_CHROME_URL (as it's the same as the browser.chromeURL pref) and checked in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Component: Testing → BrowserTest
Product: Core → Testing
QA Contact: testing → browsertest
Version: Trunk → unspecified
Updated•8 years ago
|
Component: BrowserTest → Mochitest
You need to log in
before you can comment on or make changes to this bug.
Description
•