controller.tabs.getTab() can fail if window has been opened right before with 'can't access dead object'

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
7 years ago
2 years ago

People

(Reporter: whimboo, Unassigned)

Tracking

Details

(Reporter)

Description

7 years ago
Not sure why yet but it looks like that controller.tabs.getTab() is not that stable when the referenced window has been reopened a bit before.

I have seen this when I was working on bug 761569 and getTab returned a document which defaultView was not accessible with 'can't access dead object'. For testing purposes the following test can be used on OS X:

http://hg.mozilla.org/qa/mozmill-tests/file/d4391abf9f5f/tests/functional/testPrivateBrowsing/testCloseWindow.js

I will try to put together a minimized testcase for this issue which we should fix in Mozmill 2.0.

Updated

7 years ago
Whiteboard: [mozmill-2.0?] → [mozmill-2.0+]

Updated

6 years ago
Whiteboard: [mozmill-2.0+] → [mozmill-2.1+]
(Reporter)

Updated

5 years ago
Whiteboard: [mozmill-2.1+] → [mozmill-2.2?]
(Reporter)

Comment 1

4 years ago
We have only seen this problem a very few times so far in our tests, so I don't think this is something to fix.

Also Mozmill will reach its end of life soon. We are currently working on getting all the tests for Firefox ported to Marionette. For status updates please see bug 1080766.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
Whiteboard: [mozmill-2.2?]
(Assignee)

Updated

2 years ago
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.