Closed
Bug 554416
Opened 15 years ago
Closed 12 years ago
Cannot access tree.view by id when running tests with Mozmill in Firefox 3.5.x
Categories
(Testing Graveyard :: Mozmill, defect)
Testing Graveyard
Mozmill
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: whimboo, Unassigned)
References
Details
Whatever tree we want to access with Mozmill in Firefox 3.5.x it doesn't work. tree.view is always not accessible. See a test case on bug 545021.
There is no problem with Firefox 3.6 and up. So I wonder what is wrong by accessing a view that way:
var list = document.getElementById("cookiesList");
var view = list.view;
Result: View is not defined
This is one major issue for us because it blocks a couple of Mozmill tests. I will add them to the dependency list.
Reporter | ||
Comment 1•15 years ago
|
||
The test I meant is attachment 433943 [details].
Reporter | ||
Comment 2•15 years ago
|
||
This is definitely a regression in Mozmill 1.3. It works fine with Mozmill 1.2.1.
Possible candidates:
https://bugzilla.mozilla.org/buglist.cgi?status_whiteboard_type=allwordssubstr&query_format=advanced&status_whiteboard=verified-mozmill-1.2.
Component: XUL Widgets → Mozmill
Keywords: regression
Product: Toolkit → Testing
QA Contact: xul.widgets → mozmill
Summary: Cannot access tree.view with Firefox 3.5.x → Cannot access tree.view anymore when running tests with Mozmill >1.3 in Firefox 3.5.x
Whiteboard: [mozmill][mozmill-test-blocked]
Reporter | ||
Comment 3•15 years ago
|
||
Eventually not a Mozmill regression. This one is kinda hairy.
Comment 4•15 years ago
|
||
When I do controller.window.alert(controller.window.location);
I get back: chrome://browser/content/browser.xul
This is the same in Firefox3.5 and Firefox3.6.
This line of code is returning the treeview in Firefox3.4 and Firefox3.6:
controller.window.alert(controller.tabs.activeTabWindow.document.getElementById('tabList').view);
I guess the elementslib.ID function is doing some stuff that doesn't work properly in Firefox3.5, but works fine in Firefox3.6.
My guess it has something to do with security related stuff. The code in the elementslib.ID function seems to crawl through all the frames inside the mentioned window, looking for the element that has that particular ID.
Reporter | ||
Comment 5•15 years ago
|
||
(In reply to comment #4)
> I guess the elementslib.ID function is doing some stuff that doesn't work
> properly in Firefox3.5, but works fine in Firefox3.6.
> My guess it has something to do with security related stuff. The code in the
> elementslib.ID function seems to crawl through all the frames inside the
> mentioned window, looking for the element that has that particular ID.
Thanks Martijn! Lets ask Blake if he has an idea which patch could have fixed that in Firefox 3.6 but hasn't been backported to Firefox 3.5.
Summary: Cannot access tree.view anymore when running tests with Mozmill >1.3 in Firefox 3.5.x → Cannot access tree.view by id when running tests with Mozmill in Firefox 3.5.x
Reporter | ||
Updated•15 years ago
|
Keywords: regression
Reporter | ||
Comment 6•15 years ago
|
||
As Martijn pointed out on IRC and which was verified by running the appropriate builds to test this is related to bug 480205. Looks like it will not be fixed for Firefox 3.5. I will try to use the workaround from above.
Depends on: cow
Reporter | ||
Comment 7•15 years ago
|
||
I will leave this bug open until we know if the patch on bug 480205 will be landed on 1.9.1 or not.
Reporter | ||
Comment 8•15 years ago
|
||
The view will be accessible when we unwrap the XPCNativeWrapper. Given that we depend on bug 573185.
Depends on: 573185
Reporter | ||
Comment 9•12 years ago
|
||
Firefox 3.5 is no longer supported. Closing this bug.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•9 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•