Solved

Firebug break takes down popup

Posted on 2013-01-23
3
284 Views
Last Modified: 2013-01-30
I notice that if I break  in Firebug after executing a window.open() call the popped up window goes away.  For example, I have the code below:
break code
16328 puts up the window but as soon as the code  breaks at 16333 the window goes away.

Does anyone know why this happens and how I can keep the window open?

Thanks.
Steve
0
Comment
Question by:steva
3 Comments
 
LVL 22

Accepted Solution

by:
Mrunal earned 250 total points
ID: 38813278
For debugging purpose only, you can add temporary code below:
w = window.open(u, s.name, f);

like:

w = window.open(u, s.name, f);
var a = 10;
a = a + 10;

Check in browser to, debugger should also execute newly added two lines, so at that time you can get your window opened.

This is not proper way, can be used for debugging purpose only. :)
0
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 250 total points
ID: 38815139
not on my side but I've allowed popup from 127.0.0.1
my firefox version is : 18.0.1
Clipboard02.jpg
0
 

Author Comment

by:steva
ID: 38829285
Sorry for the delay, Leakim.

I'm also running Firefox 18.0.1.  

You mentioned that you allowed popups from 127.0.0.1.  I don't think that's the issue here since the popup does pop up ok.  It just goes away when Firebug breaks.

???  Maybe there's some option in Firefox that I need to set to keep the popup active after a break.

Steve
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now