Closed Bug 632089 Opened 13 years ago Closed 13 years ago

TabView.getGroups() returns a null array

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: adam.fishhook+bugzilla, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4
Build Identifier: http://www.mozilla.com/en-US/firefox/beta/?WT.mc_id=hp_1&WT.mc_ev=click

In Panorama view, with several tab groups open, function getGroups() returns null array. 
Same goes for getTabs().

Reproducible: Always

Steps to Reproduce:
1. Enter Panorama View
2. Manually create 4 groups with 4 tabs each
3. Run test script to check number of tab groups or tabs




Expected Results:  
4

Block test advancement for Panorama Testing;
Blocks: 629102
Hey Adam,

Would you be able to attach your sample test-script showcasing the error?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → UNCONFIRMED
Ever confirmed: false
OS: Mac OS X → All
Hardware: x86 → All
Summary: Blocker for test advancement - Panorama Testing → TabView.getGroups() returns a null array
This also breaks the helper class, testTabViewAPI.js
Status: UNCONFIRMED → NEW
Ever confirmed: true
Aaron,

I can't. This bug prevents me from making new tab groups.

The test script uses,
controller.window.alert(tabView.getGroups().length);

That's all.
(In reply to comment #3)
> Aaron,
> 
> I can't. This bug prevents me from making new tab groups.
> 
> The test script uses,
> controller.window.alert(tabView.getGroups().length);
> 
> That's all.

Simply attach that test for now.  Thanks.
As discussed on IRC, it was a case of manually opening the tabview without properly setting the document for the tabView class.
(In reply to comment #5)
> As discussed on IRC, it was a case of manually opening the tabview without
> properly setting the document for the tabView class.

So is this not a bug? Resolve INVALID?
(In reply to comment #6)
> (In reply to comment #5)
> > As discussed on IRC, it was a case of manually opening the tabview without
> > properly setting the document for the tabView class.
> 
> So is this not a bug? Resolve INVALID?

Right
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Thanks.

Adam, just for future reference, if you have an issue please bring it up via email or IRC. This way we can help you through it and determine if the issue is actually a bug or not.

Thanks for helping us with Panorama tests, and keep up the good work!

Marking bug verified.
Status: RESOLVED → VERIFIED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.