Closed Bug 586991 Opened 14 years ago Closed 14 years ago

Landing of TabView broke TabBrowsingAPI

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: laurian, Assigned: whimboo)

References

Details

(Keywords: regression, Whiteboard: [lib])

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b4pre) Gecko/20100813 Minefield/4.0b4pre
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b4pre) Gecko/20100813 Minefield/4.0b4pre

I get
fail :: Expression "id("navigator-toolbox")" returned null. Anonymous == false

Reproducible: Always

Steps to Reproduce:
1. open MozMill IDE
2. run file: testNewTab.js
Actual Results:  
MozMill output:



fail :: Expression "id("navigator-toolbox")" returned null. Anonymous == false
message: Expression "id("navigator-toolbox")" returned null. Anonymous == false
fileName: resource://mozmill/modules/elementslib.js
lineNumber: 463
stack: Error("Expression \"id(\"navigator-toolbox\")\" returned null. Anonymous == false")@:0 ([object XULElement],"id(\"navigator-toolbox\")",2,[object Array])@resource://mozmill/modules/elementslib.js:463 ()@resource://mozmill/modules/elementslib.js:478 ()@resource://mozmill/modules/frame.js -> file:///Users/lxg/Downloads/mozmill-tests-default/shared-modules/testTabbedBrowsingAPI.js:118 tabBrowser_getTab()@resource://mozmill/modules/frame.js -> file:///Users/lxg/Downloads/mozmill-tests-default/shared-modules/testTabbedBrowsingAPI.js:284 ([object Object])@resource://mozmill/modules/frame.js -> file:///Users/lxg/Downloads/mozmill-tests-default/firefox/testTabbedBrowsing/testNewTab.js:89 ()@resource://mozmill/modules/frame.js -> file:///Users/lxg/Downloads/mozmill-tests-default/firefox/testTabbedBrowsing/testNewTab.js:66 ((function () {var section = new elementslib.ID(controller.tabs.activeTab, "organization");controller.open(LOCAL_TEST_PAGE);controller.waitForPageLoad();controller.waitForElement(section, TIMEOUT);checkOpenTab({type: "menu"});checkOpenTab({type: "shortcut"});checkOpenTab({type: "tabStrip"});checkOpenTab({type: "newTabButton"});}))@resource://mozmill/modules/frame.js:514 ([object Object])@resource://mozmill/modules/frame.js:582 ([object Object])@resource://mozmill/modules/frame.js:625 ("/Users/lxg/Downloads/mozmill-tests-default/firefox/testTabbedBrowsing/testNewTab.js")@resource://mozmill/modules/frame.js:464 ("/Users/lxg/Downloads/mozmill-tests-default/firefox/testTabbedBrowsing/testNewTab.js",true)@resource://mozmill/modules/frame.js:637 runFile()@chrome://mozmill/content/menus.js:102 onclick([object MouseEvent])@chrome://mozmill/content/mozmill.html:1 @:0
name: Error
test: function () { var section = new elementslib.ID(controller.tabs.activeTab, "organization"); controller.open(LOCAL_TEST_PAGE); controller.waitForPageLoad(); controller.waitForElement(section, TIMEOUT); checkOpenTab({type: "menu"}); checkOpenTab({type: "shortcut"}); checkOpenTab({type: "tabStrip"}); checkOpenTab({type: "newTabButton"}); }
pass :: controller.assertJS('subject.activeTab.location == 'about:blank'')
function: controller.assertJS('subject.activeTab.location == 'about:blank'')
pass :: controller.waitForEval()
function: controller.waitForEval()
pass :: controller.waitForEval()
function: controller.waitForEval()
pass :: Controller.waitForElement()
function: Controller.waitForElement()
pass :: controller.waitFor()
function: controller.waitFor()
pass :: controller.waitForPageLoad()
function: controller.waitForPageLoad()
pass :: controller.waitFor()
function: controller.waitFor()
pass :: Controller.open()
function: Controller.open()
test :: Started running test: testNewTab
pass :: controller.waitForPageLoad()
function: controller.waitForPageLoad()
pass :: controller.waitFor()
function: controller.waitFor()
pass :: Controller.open()
function: Controller.open()
pass :: controller.waitForEval()
function: controller.waitForEval()
test :: Started running test: setupModule

Expected Results:  
pass test
It's because of the landing of TabView. The lookup paths don't match anymore because the navigator-toolbox is now wrapped by tabview. We will have to update our API.
Blocks: 574217
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Mac OS X → All
Hardware: x86 → All
Summary: some testTabbedBrowsing tests fail → Landing of TabView broke TabBrowsingAPI
Whiteboard: [Aug-13-testday][shared module]
Version: unspecified → Trunk
No longer blocks: 574217
Will get fixed by the patch on bug 586997.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Depends on: 586997
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Move of Mozmill Test related project bugs to newly created components. You can
filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Product: Testing → Mozilla QA
Version: Trunk → unspecified
Component: Mozmill Tests → Mozmill Shared Modules
Component: Mozmill Shared Modules → Mozmill Tests
Whiteboard: [Aug-13-testday][shared module] → [lib]
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.