Closed
Bug 287637
Opened 20 years ago
Closed 19 years ago
Opening link in new tab with Java applet applies that tab's URL, security icon, etc to all tabs
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jason.barnabe, Assigned: bryner)
References
Details
(Keywords: regression, testcase, Whiteboard: [sg:fix] fixed on branch or post 1.8-branch)
Attachments
(1 file, 1 obsolete file)
|
292 bytes,
text/html
|
Details |
If a link opened in a new tab contains a Java applet, all others tabs get that tab's URL, security icon, etc. 1. Force links that open in new windows to open in new tab. Don't set "Select tabs opened from links". 2. Open testcase. 3. Click 4. Go back to first tab The secure site's URL and security icon appear in the first tab. This appears in the Javascript Console: Error: focusedWindow has no properties Source File: chrome://global/content/bindings/tabbrowser.xml Line: 551
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Updated•20 years ago
|
Summary: Opening link in new tab → Opening link in new tab with Java applet applies that tab's URL, security icon, etc to all tabs
| Reporter | ||
Comment 3•20 years ago
|
||
Trunk. Just like I specified in the Version field. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050324 Firefox/1.0+
Comment 4•20 years ago
|
||
I've learned not to trust the fields, so many people just leave the defaults.
| Reporter | ||
Comment 5•20 years ago
|
||
http://lxr.mozilla.org/seamonkey/source/toolkit/content/widgets/tabbrowser.xml#548 This code is using document.commandDispatcher.focusedWindow, which is null in this situation. That code was added by bug 254056, which is the exact timeframe that this bug appeared (20050309). I'd make a patch to add a null check myself, but it seems to me that focusedWindow should never be null.
Keywords: regression,
testcase
Updated•20 years ago
|
Assignee: bugs → bryner
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [sg:needinfo] → [sg:fix]
Comment 6•20 years ago
|
||
Confirming. Does not happen if you Ctrl-click to open in a new tab (foreground or background), it must be set to open new windows in tab.
Blocks: lockicon
Flags: blocking-aviary1.1+
| Reporter | ||
Comment 7•19 years ago
|
||
"Select new tabs opened from links" doesn't seem to affect links that want to open in new windows any more - it will always select the new tab. So there's no way to reproduce at the moment.
| Reporter | ||
Comment 8•19 years ago
|
||
Actually, this behaviour is controlled by browser.tabs.loadDivertedInBackground now, but it seems to be fixed. The testcase's link no longer has a Java applet in it either, I'll update that.
| Reporter | ||
Comment 9•19 years ago
|
||
Attachment #178537 -
Attachment is obsolete: true
Comment 10•19 years ago
|
||
Vlad: can you take a look at this (and other such focusedWindow-has-no-properties tabBrowser issues)?
| Assignee | ||
Comment 11•19 years ago
|
||
I'm not seeing this in a 1.8 branch build, WinXP with Sun Java 1.5.0_02.
| Reporter | ||
Comment 12•19 years ago
|
||
I don't see it either anymore. The patch for bug 287467 added a null check for the code I mentionned in comment 5. Still don't know why focusedWindow is ever null, though.
| Assignee | ||
Comment 13•19 years ago
|
||
Resolving FIXED then.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Flags: blocking-aviary1.5+
Updated•19 years ago
|
Flags: testcase+
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
Comment 14•18 years ago
|
||
adding some status whiteboard foo to get this of the list of bugs that need to be considered for 1.8 branch
Whiteboard: [sg:fix] → [sg:fix] fixed on branch or post 1.8-branch
Updated•18 years ago
|
Group: security
Updated•18 years ago
|
Flags: in-testsuite+ → in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•