Closed
Bug 141521
Opened 23 years ago
Closed 22 years ago
'Open Link in New Tab' Doesn't work from browser window opened by JS with specific params
Categories
(SeaMonkey :: Tabbed Browser, defect)
SeaMonkey
Tabbed Browser
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 143866
People
(Reporter: mrtech, Assigned: jag+mozilla)
Details
'Open Link in New Tab' Doesn't work from browser window opened by JS with
specific params.
Basically I have JavaScript that opens up a window for me with the following
parameters:
menubar=no, scrollbars=yes, resizable=yes, status=yes
I want to open a link from one of those windows in the same window but tabbed.
It doesn't seem to do anything but I do notice that it looks like it doing
something.
It should either be changed to open the link in a tab or remove the option from
the right-click menu while in this mode.
I've seen this in every build.
Here is sample code:
<html>
<head>
<title>Tab Test</title>
<Script>
var params
params = "menubar=no, scrollbars=yes, resizable=yes, status=yes";
function openSite(thisWindow) {
window.open(thisWindow, "Melmo", params);
}
</SCRIPT>
</head>
<body>
<a href="JavaScript:openSite('http://www.mrtech.com/');">Click here, then
right-click any link and choose 'Open Link in New Tab'</a>
</body>
</html>
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
See also Bug 103843 and Bug 138198.
Updated•22 years ago
|
QA Contact: sairuh → pmac
Comment 2•22 years ago
|
||
The suggested related bugs don't seem to be very relevant. The problem here is
that 'Open in New Tab' has no functionality when applied in a pop-up style window.
My naive interpretation of the problem is that there is a minimum amount of
required chrome before the tab bar can be seen. In the test case, right clicking
the link does appear to produce network activity, suggesting that the page is
being loaded. There are three possible solutions that I can see:
1) Disable 'open in new tab' from context menu for toolbar/menubarless windows
2) Automatically restore enough of the chrome (i.e. at least the tab bar) to see
new tabs when they are opened in chrome-deficient windows
3) Open the tab in the parent window
Although 3) sounds the most counterintuitive, it is also the behaviour that I
was expecting.
(NB: I couldn't find a dupe for this bug, but I would be surprised if there
wasn't one, given the level of activity here)
Comment 3•22 years ago
|
||
I suggest this is effectivley dupe of 143866 (or rather a generalisation of that
bug). Since the other bug has more discussion, I suggest marking this a
duplicate and updating the summary of that bug.
Sorry for the spam.
*** This bug has been marked as a duplicate of 143866 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•