window.close in JS causes Firefox 8 to crash
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
window.close in JS causes Firefox 8 to crash
I run a batch script which ends in me wanting firefox to close.
I updated to firefox 8 and it crashes upon truing to close thru the window.close command.
Anyone seeing this issue?
I updated to firefox 8 and it crashes upon truing to close thru the window.close command.
Anyone seeing this issue?
-
- Posts: 3834
- Joined: Mon May 31, 2010 4:59 pm
Re: window.close in JS causes Firefox 8 to crash
Hi agordon10,
Can you post a snippet of your batch file / and or script that causes the crash?
Can you post a snippet of your batch file / and or script that causes the crash?
Regards,
Tom, iMacros Support
Tom, iMacros Support
Re: window.close in JS causes Firefox 8 to crash
this is the whole script
i = iimPlay("Macros/011212Hourly")
i = iimPlay("Macros/011312Hourly")
i = iimPlay("Macros/011412Hourly")
i = iimPlay("Macros/011512Hourly")
i = iimPlay("Macros/011612Hourly")
i = iimPlay("Macros/012212Hourly")
i = iimPlay("Macros/012312Hourly")
i = iimPlay("Macros/012812Hourly")
i = iimPlay("Macros/012912Hourly")
i = iimPlay("Macros/013012Hourly")
i = iimPlay("Macros/013112Hourly")
i = iimPlay("Macros/020412Hourly")
i = iimPlay("Macros/020512Hourly")
i = iimPlay("Macros/020612Hourly")
i = iimPlay("Macros/020712Hourly")
i = iimPlay("Macros/020912Hourly")
i = iimPlay("Macros/021012Hourly")
window.close(1)
i = iimPlay("Macros/011212Hourly")
i = iimPlay("Macros/011312Hourly")
i = iimPlay("Macros/011412Hourly")
i = iimPlay("Macros/011512Hourly")
i = iimPlay("Macros/011612Hourly")
i = iimPlay("Macros/012212Hourly")
i = iimPlay("Macros/012312Hourly")
i = iimPlay("Macros/012812Hourly")
i = iimPlay("Macros/012912Hourly")
i = iimPlay("Macros/013012Hourly")
i = iimPlay("Macros/013112Hourly")
i = iimPlay("Macros/020412Hourly")
i = iimPlay("Macros/020512Hourly")
i = iimPlay("Macros/020612Hourly")
i = iimPlay("Macros/020712Hourly")
i = iimPlay("Macros/020912Hourly")
i = iimPlay("Macros/021012Hourly")
window.close(1)
Re: window.close in JS causes Firefox 8 to crash
As far as I know firefox is closed when one remaining tab is closed. Try this code:
Code: Select all
TAB CLOSEALLOTHERS
TAB CLOSE
Re: window.close in JS causes Firefox 8 to crash
that is for macros, not for javascripts.
Re: window.close in JS causes Firefox 8 to crash
Code: Select all
var macro;
macro = "CODE:";
macro += "TAB CLOSEALLOTHERS" + "\n";
macro += "TAB CLOSE" + "\n";
iimPlay(macro)
Re: window.close in JS causes Firefox 8 to crash
Thanks, but that doesn't solve the issue I have.
-
- Posts: 3834
- Joined: Mon May 31, 2010 4:59 pm
Re: window.close in JS causes Firefox 8 to crash
Hi agordon10,
Sorry for the late reply.
I added window.close(1) to the end of the Self-Test.js demo script that installs with iMacros and ran it in Firefox 8.0.1 using iMacros 7.4.0.8 and I do not experience a crash.
It sounds like it could be a machine or profile-specific issue. Do you have access to another computer you can test it on?
Sorry for the late reply.
I added window.close(1) to the end of the Self-Test.js demo script that installs with iMacros and ran it in Firefox 8.0.1 using iMacros 7.4.0.8 and I do not experience a crash.
It sounds like it could be a machine or profile-specific issue. Do you have access to another computer you can test it on?
Regards,
Tom, iMacros Support
Tom, iMacros Support
Re: window.close in JS causes Firefox 8 to crash
here is the error message imacros gives
ReferenceError: windows is not defined (Error code: 991)
ReferenceError: windows is not defined (Error code: 991)
-
- Posts: 3834
- Joined: Mon May 31, 2010 4:59 pm
Re: window.close in JS causes Firefox 8 to crash
Did you incorrectly type "windows" in your macro instead of "window"?agordon10 wrote:here is the error message imacros gives
ReferenceError: windows is not defined (Error code: 991)
Regards,
Tom, iMacros Support
Tom, iMacros Support
Re: window.close in JS causes Firefox 8 to crash
it is windows, but I haven't changed it in forever, weird, i'll see if the problem continues now.
Re: window.close in JS causes Firefox 8 to crash
Hello. I have simple js
and ihave similar specific problem with this comand.
If i run this script when iOpus iMacros sidebar is open script work fine.
But if iOpus iMacros sidebar is closed and then i run macro it close firefox but return an crushreport.
Can you help me?
1.VERSION BUILD=7401110
2.Operating sysytem: win7, testing too on winxp but same result
3.testing on firefox 8.0, 10.0
Code: Select all
window.close()
If i run this script when iOpus iMacros sidebar is open script work fine.
But if iOpus iMacros sidebar is closed and then i run macro it close firefox but return an crushreport.
Can you help me?
1.VERSION BUILD=7401110
2.Operating sysytem: win7, testing too on winxp but same result
3.testing on firefox 8.0, 10.0
Re: window.close in JS causes Firefox 8 to crash
mine crashes still as well.
Re: window.close in JS causes Firefox 8 to crash
This is very annoying bug.
Hope that admins will fix this in next update
Hope that admins will fix this in next update
Re: window.close in JS causes Firefox 8 to crash
Hello. I find a temporary way how to solve this. In mine case this error won't make any damage to firefox, so i rename program crashreporter.exe in firefox install directory. And now there is no crases.