Firefox 5/Firebug 1.8: Firebug won't open in popup window called with Javascript/window.close not working

538 views
Skip to first unread message

mpalsf

unread,
Aug 4, 2011, 3:35:17 PM8/4/11
to Firebug
With Firefox 5/Firebug 1.8, when I open a window using
window.open(..), Firebug will not open in the popup window (either F12
or from toolbar) AND window.close is disabled. I have tested this will
all addons disabled except Firebug.

Sebo

unread,
Aug 5, 2011, 3:38:56 PM8/5/11
to Firebug
Please try Firebug 1.8.1b1: http://getfirebug.com/releases/firebug/1.8/

It contains a fix for this. See http://code.google.com/p/fbug/issues/detail?id=4699
for more info.
If it's still a problem for you, then please try to track it down to a
simle test case, so we can fix it.

Sebastian

Michael Palladino

unread,
Aug 5, 2011, 3:48:01 PM8/5/11
to fir...@googlegroups.com
That did not fix or change the behavior.

I had included a simple example in the original email. Here it is again:

THIS IS THE CODE FOR THE MASTER TEMPLATE:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title></title>  
	<script language="JavaScript">
	<!--	
	function openWin (){
		popupNamesDefault=window.open("testPopup.htm", 
		"popupWin", "width=200px,height=100px,top=25px,left=25px,scrollbars=1,resizable=1,menubar=1")
 	}
	// -->
	</script>
</head>

<body>
<input name="testOpen" id="testOpen" onclick="openWin()" value="Open Popup" type="button">
</body>
</html>

THIS IS THE CODE FOR THE POPUP WINDOW. Create a separate template with the following code named testpopup.htm

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head></head> 
<body>
Test Window
<input name="btnClose" id="btnClose" onclick="window.close()" value="Close Window" type="button">
</body></html>
--
Michael Palladino
Central-360, Inc.
912 Cole St. #344
San Francisco, CA 94117
415-673-3794 ofc
415-869-5308 fax
www.central-360.com

gollum

unread,
Aug 6, 2011, 8:27:45 PM8/6/11
to fir...@googlegroups.com
Created your examples. Works as expected (f12 opens FB in popup, Close btn closes popup)
using...
FF 5
FB 1.8.1b1
Reply all
Reply to author
Forward
0 new messages