|
| | |||||||
| Internet Explorer Discuss IE7 or any other IE version. |
| | LinkBack | Thread Tools |
| |||
| Embedded IE7 browser object - breakage over previous versions duescript exception being thrown closing previously closed windows We have an MFC app that embeds the WebBrowser ActiveX control. Starting in IE7, we've been getting a scripting error due to an exception closing a window that the user has already closed for pages that we display in this WebBrowser control. This doesn't happen when the same page is viewed in Internet Explorer 7, nor does it happen in either situation on computers with IE5-6. The following is a JavaScript example that recreates this situation: var winName = "myWin"; var theURL = "http://www.microsoft.com"; var objWin = window.open(theURL, winName); // User closes window manually // For IE7 embedded, the following call will // generate an exception and stop code execution objWin.close(); This is a major change in the scripting engine and is breaking our app for a lot of customers. The change in behaviour is unexpected, and inconsistent considering it doesn't happen in Internet Explorer itself! Is this a bug in IE? Or, is there some interface I can query for in C++ to reset the behaviour of the scripting engine to match that of previous versions of IE or IE7 stand alone? |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Did you know… You can examine the exception object from the exception assistant? - #2 | TPC | General Questions | 0 | 08-11-2008 10:30 AM |
| Did you know… You can examine the exception object from the exception assistant? - #2 | TPC | General Questions | 0 | 08-11-2008 08:40 AM |
| Windows Vista keeps closing all opened windows when X closed | Cbury36 | Windows Vista | 3 | 08-10-2007 01:00 PM |
| Embedded IE7 browser object - breakage over previous versions dueto URL escaping in BeforeNavigate event | Malcolm Ferguson | Internet Explorer | 0 | 05-06-2007 10:42 AM |
| Delete previous Windows Vista versions? | Orville | Windows Vista | 2 | 01-01-2007 09:48 PM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |