Closed
Bug 570328
Opened 14 years ago
Closed 14 years ago
make SimpleTest.executeSoon work on Gecko browsers in non-mochitest profiles
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: dbaron, Assigned: dbaron)
Details
Attachments
(1 file)
1.92 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
Much of our mochitests in many cases work fine on other browsers, which is often quite useful when writing mochitests for Web standards features. However, tests that use executeSoon (which I think may mean all tests now, although I'm not sure), don't work on Gecko browsers not run from the mochitest harness itself. I often find it useful to run mochitests in a browsers not within the harness (especially to check if a test that I just wrote fails without my patch; I can just run it in the browser that I'm using). So this fixes executeSoon so that its fallback codepath works when enablePrivilege fails (in addition to when Components.classes doesn't exist).
Attachment #449461 -
Flags: review?(jwalden+bmo)
Updated•14 years ago
|
Attachment #449461 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 1•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/e89ae2aa45eb
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in
before you can comment on or make changes to this bug.
Description
•