Closed
Bug 407917
Opened 18 years ago
Closed 18 years ago
Security button doesn't open page info to security tab
Categories
(SeaMonkey :: Page Info, defect)
SeaMonkey
Page Info
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 410391
People
(Reporter: neil, Assigned: db48x)
References
Details
(Keywords: regression)
From onLoadPageInfo():
> /* Select the requested tab, if the name is specified */
> var initialTab = "general";
> if ("arguments" in window && window.arguments.length >= 1 &&
> window.arguments[0] && window.arguments[0].initialTab)
> initialTab = window.arguments[0].initialTab;
> var radioGroup = document.getElementById("viewGroup");
> initialTab = document.getElementById(initialTab + "Tab") || document.getElementById("generalTab");
> radioGroup.selectedItem = initialTab;
> radioGroup.selectedItem.doCommand();
> radioGroup.focus();
There seem to be three issues here. I've no idea why nobody noticed before.
The first is that the initial tab passed in contains the Tab suffix.
(I guess we can fix that if you want parity with Firefox.)
The second is that viewGroup is a tabbox, so it has an initialTab property.
The third is that we use onselect, not oncommand.
| Assignee | ||
Comment 1•18 years ago
|
||
Yea, it was overlooked when I ported from firefox.
Status: NEW → ASSIGNED
Updated•18 years ago
|
Comment 2•18 years ago
|
||
(In reply to Comment 0)
> There seem to be three issues here. I've no idea why nobody noticed before.
> The first is that the initial tab passed in contains the Tab suffix.
> (I guess we can fix that if you want parity with Firefox.)
Fixed in Bug 410391
> The second is that viewGroup is a tabbox, so it has an initialTab property.
I think you mean selectedTab property, if so it's fixed in Bug 409800.
> The third is that we use onselect, not oncommand.
Any idea why onselect is used here? In the old PageInfo it was oncommand. In Firefox old and new it's also oncommand.
| Reporter | ||
Comment 3•18 years ago
|
||
(In reply to comment #2)
>(In reply to Comment 0)
>>The third is that we use onselect, not oncommand.
>Any idea why onselect is used here?
Keyboard navigation triggers onselect but not oncommand.
Comment 4•18 years ago
|
||
<http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/suite/browser/pageinfo/pageInfo.js&rev=1.12&mark=333-341#332>
Neil, Daniel,
what remains to be done ?
Flags: blocking-seamonkey2?
| Reporter | ||
Comment 5•18 years ago
|
||
(In reply to comment #4)
> Neil, Daniel,
> what remains to be done ?
Does this answer your question? ;-)
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•