Solved

Firebug break takes down popup

Posted on 2013-01-23
3
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to implement server side field validation and display customized error messages to the client.
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…

737 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