Closed Bug 598150 Opened 16 years ago Closed 16 years ago

error: fail: location after activeTab setter matches

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Unassigned)

Details

On Mac with Firefox 3.6, I consistently see the following error: error: fail: location after activeTab setter matches (null != "data:text/html,<html><head><title>foo</title></head></html>") info: Traceback (most recent call last): File "resource://jetpack-core-jetpack-core-lib/timer.js", line 60, in notify this._callback.apply(null, this._params); File "resource://jetpack-core-jetpack-core-tests/test-tabs.js", line 77, in anonymous test.assertEqual(tabs.activeTab.location, location, "location after activeTab setter matches"); File "resource://jetpack-core-jetpack-core-lib/unit-test.js", line 227, in assertEqual this.fail(message); File "resource://jetpack-core-jetpack-core-lib/unit-test.js", line 145, in fail console.trace(); I'm not sure if it's related, but the error is often preceded by one or another intermittent timeout a number of tests back, either |error: TEST FAILED: test-tab-browser.testTabModuleTabsIterator (timed out)| or |error: TEST FAILED: test-tab-browser.testTabModuleCantOpenInNewWindow (timed out)|. Felipe: you've had to deal with such things in the past, if I remember correctly; do you have time to take a look at this one by any chance?
Huh, I've been trying to look at this, but I can't reproduce it at all. The tests always pass for me (3.6.10, Leopard). I've run them both with the whole testing suite and only the tabs tests individually. Something that'd be useful to know is if these failures happen when running these tests alone. I'm doing it as "cfx test -v -F tab\|window" to pick tab-browser, tabs, window-utils and windows.
I'm not seeing this anymore, which suggests the problem is either intermittent or has been resolved by another change. In either case, that means it is no longer a release blocker.
No longer blocks: 596524
This is one of the failures reported in bug 598821, which should be fixed by the patch there. (But that bug is on Linux, while this one is on OS X.)
I'm going to guess that this was indeed fixed by bug 598821 or by some other change. Please reopen if you still see it.
Status: NEW → RESOLVED
Closed: 16 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.