extra browser window pops up when trying to fetch a plugin




18 years ago
6 years ago


(Reporter: buster, Unassigned)



Windows NT

Firefox Tracking Flags

(Not tracked)


(Whiteboard: relnote-user, URL)



18 years ago
1. Using commerical build ID 2000100408 on WinNT.
2. Open http://baseball.espn.go.com/mlb/scoreboard
3. Click on "Gamecast: Pitch-by-pitch coverage link" which resolves to:
  onClick="launchGameCastWindow('sfo'); return false;"
4. a window pops up with a big box containing the "I don't know this plugin"
image and "Click here to get the plugin".  Click on that image.
5. You get a dialog about needing application/x-java-vm.
6. Click Get the plugin button.
7. You get a new browser window with
in the URL bar and "[object Window]" in the content area.
Behind that is the window that has the page to get you to sun.

This first pop-up browser window is odd, and hides the window that I need to get
the plugin.

Comment 1

18 years ago
Here's the javascript that launches the window:
function launchGameCastWindow(hteam) {
window.name = "_gamecast";
var url =
var name = "gamecast_" + hteam;
launchWindow (url, name, 630, 600);

Comment 2

18 years ago
yep, this has been there for a while. Let me check if there is a bug filed 
against this.

Comment 3

18 years ago
A similar thing happens on the Sun site when you try to download Java for the
first time.

I think this could be a Mozilla-only bug since in commerical Netscape, we ship
with the Java plugin already installed and therefore you aren't prompted to
download anything. Works pretty good for me with PR3.

Comment 4

18 years ago
*** Bug 55223 has been marked as a duplicate of this bug. ***
This will not be a Mozilla-only bug. We only bundle the Sun JVM with Netscape 6 
Custom (default Custom == Complete since all options are turned on), not in 
Minimal or Typical.

The best user experience would be: (1) If you need Java, only the Java window 
pops up. (2) If you need a plug-in, only the plug-in finder window pops up.

It's unfortunate that two windows are popping up, but this may fall into the 
category of "things we can live with for RTM." Thoughts?

cc:ing johng as NavPM for thoughts on Navigator Plug-in download UE, rebron for 
Netscape.com plug-in downloading UE consideration, drapeau because this impacts 
the ease of getting the Java VM and Sun may be concerned enough about that 
distribution UE enough to supply a resource to fix this even if Netscape can't.

Comment 6

18 years ago
I think return false might not be working. I need to make a huge testsuite for 

Comment 7

18 years ago
ekrock: this is not something that customers will live with. They'll see a
locked up app, assume that plugin installation is hopelessly buggy and give
up. When this happened to me I accidently noticed the modal dialog and
dismissed it. I doubt that most people will be that patient or care enough
to bother reading release notes.

Speaking of which, does this affect pr3? Should it be added to the release
notes? Adding relnote keywords just in case.

How about at least making the dialog non-modal.
Keywords: relnote, relnote3

Comment 8

18 years ago
I cannot see the lock up. Everything is alive, and this unwanted window can be 
easily dismissed. I also don't see step 7 as described. After step 6 I can see 
the browser window which gives you a choice between Windows and Linux plugin and 
the big empty window covering it. Is it launched by javascript on the page? Then 
there is little we can do.

Comment 9

18 years ago
"the big empty window" is step 7, I think, only it wasn't quite empty for me.
It had the text "[object Window]" in the content area

Comment 10

18 years ago
No lock up for me...i can dismiss the window and dialog easily.

Comment 11

18 years ago
Dawn endico's comments shud have been in bug 55261 rather than here. Ther eis no 
lock up issue on windows. I tried installating this today and I see two windows 
open up. One as mentioned by buster and the other window pops up after you have 
downloaded the file using ftp. The window says something like "Install success" 
while the installation is about to begin in the background.This window comes 
above all open windows and user has to minimize other windows to proceed with 
the jre installation.Why do we need full size windows popping up after every 
click? This certainly looks bad. (build used:2000100608). For the records, 
installation proceeds fine and java plugins gets installed.

Comment 12

18 years ago
I re-installed java with yesterday's build and no longer
had the problem of the hidden modal dialog locking things

Comment 13

18 years ago
Additional Comments on bug 55261 From timeless@bemail.org 2000-10-05 14:01 
[object window] ? those are fun.  fwiw, on w32 10/05-08 talkback the dialog was 
not modal so i didn't really have problems.

The entire plugin stuff needs a lot of love. I have a chrome system set up in 
bug 55261, but i need someone who can convert the win and unix plugins to xpcom 
(I'm almost certain they're both legacy) or at the very least get mozilla to 
execute javascript urls.  I don't have a win32 build environment so i can't 
test hacking the win32 plugin.

av/ekrock, if you convert the plugin to use the chrome supplied in bug 55261 I 
think we'd be done.

[boy I can't wait for the new bugzilla schema]

Comment 14

18 years ago
I think I saw another bug where if the last function in a javascript: url 
returns a value, the Mozilla goes to a page whose url is the entire javascript: 
url and whose content area is just the value returned from the last function.  

For example,

 function f () { return 1; }
 fucntion g () {           }

<a href="javascript:g(); f();">do function f</a>

will take you to javascript:g(); f();, with "1" in the content area.

I can't find the bug, though :(  
Bug 36081 is similar to what I just described, but I don't it's the same bug.

I'm also not sure why in this case the javascript thing ends up in a third 
window instead of in the original window (the one with the espn page).

(The problem at the espn page doesn't happen for me, btw.)

Comment 15

18 years ago
I'm not sure what I was doing last week.  If I fix the typo "fucntion", I get 
the same results on IE, Moz, and NS 4.x.  Oops :)
Dawn, does this need an RTM release note of any sort?

The blurb:
It seems unclear to me whether this bug requires either of a "developer" or 
"user" release note for Netscape 6 RTM. If anyone feels it does, can they please 
draft one and then nominate with the relnote-user or relnote-devel strings in 
the Status Whiteboard.

Thanks :-)


Comment 17

18 years ago
Someone else needs to right the relnote text, basically it's an explanation of 
how to get to the important window. I think it is as simple as closing a window 
whose content becomes [object window] after invoking the plugin downloader
Whiteboard: relnote-user

Comment 18

18 years ago
I added the relnote keyword because of the problem I had where
everything was locked up because of the hidden modal dialog.
If that's not a problem any more then I guess there's no need
for a relnote. (bug 55261)
Future. Not a N6 RTM blocker.
Target Milestone: --- → Future

Comment 20

18 years ago
Mozilla's behavior when the last statement of a javascript url returns a value 
is correct (I was wrong in my 2000-10-12 comment).  Browsers replace the 
current page with String(returnvalue).  Bookmarklet authors usually get around 
this behavior by enclosing the last command in void() or by adding void(0) 
after the last statement.

The bug in the plugin handler is around
94 and can be most likely be fixed by changing one or two lines.  See also 

Comment 21

16 years ago
Is anyone still seeing this bug?

Comment 22

16 years ago
this is not happening anymore, if you do encounter a "freeze" please see bug 
131508. The extra pop-up is not happening. If you do encounter this problem, 
please reopen and specify steps to reproduce.
Last Resolved: 16 years ago
Resolution: --- → WORKSFORME

Comment 23

16 years ago
hm, I think I saw it last week. Let me try this again. The jre installer is 
wrapped up in xpi but I still see the "blank object widnow'. Gotta confirm 

Comment 24

16 years ago
Like I guessed, This still does happen. ON today's breanch build on NT, if a 
user has one browser window open and clicks on the default plugin to download 
the java plugin..at the end of the installation, he ends up with 3 more windows 
(two browser windows : one that says '[object window]' and another one that 
gives you the installation results. The third window is the popup which allows 
you to choose the version of jre one wants.
In an ideal world, one would like to see only the "installation results" message 
window ( that too should be made to go away automatically..maybe" . Other two 
windows are useless after the installation. One has to close them manually. 
Resolution: WORKSFORME → ---

Comment 25

16 years ago
I could not get this to happen on the trunk, I didn't test this on the branch

Comment 26

16 years ago
this needs to be resolved by the xpi team. A suggestion to resolve this could be:
-> check out the ipix download, see
Assignee: av → greggl


16 years ago
Priority: P3 → --
Target Milestone: Future → ---

Comment 27

16 years ago
*** Bug 156557 has been marked as a duplicate of this bug. ***
Assignee: greggl → nobody
QA Contact: shrir → plugins

Comment 28

6 years ago
This doesn't happen any more.
Last Resolved: 16 years ago6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.