Closed Bug 590274 Opened 15 years ago Closed 15 years ago

test-panel.testContentURLOption times out

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Assigned: myk)

References

Details

Attachments

(1 file)

test-panel.testContentURLOption times out. This is a regression from bug 588225, and the cause is obvious: the test calls test.waitUntilDone() but never calls test.done(). Since it doesn't do anything asynchronously, though, it doesn't even need to call test.waitUntilDone() in the first place. It's completely unclear why the problem didn't manifest before now. It didn't show up in any previous testing. Perhaps another test failure masked the problem? If so, that would be very weird, since the other test failures we've been fixing for the 0.7 release have all been in other test scripts. In any case, here's the trivial patch that resolves the problem, with extra context so you can see the whole function and the absence of both test.done() and asynchronicity.
Attachment #468771 - Flags: review?(dietrich)
Comment on attachment 468771 [details] [diff] [review] patch v1: fixes problem r=me. next time please provide more lines of context in the patch.
Attachment #468771 - Flags: review?(dietrich) → review+
(In reply to comment #1) > r=me. next time please provide more lines of context in the patch. You betcha! Fixed by changeset https://hg.mozilla.org/labs/jetpack-sdk/rev/b90bedb83525.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product. To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: