Window.open() will open separated windows even using the same window name?

Hi, I have below two test html pages as below(could not find a way to insert a attachment, so paste the content below). The reproduce step is as below: (My environment is Win8.1 with IE11)
1. Open print_test.html page in IE, here we call page1.
2. Click "File -> New Session" menu from IE menu bar, which will open another new IE window which display another " print_test.html" page, here we call page 2.
3. Click "Print" hyper-link in page1, and a popup window which display "print_test_open.html" page, counting begins from 1, here we call it page 3.
4. Click "Print" hyper-link in page2, and another popup window which display "print_test_open.html" page, counting begins from 1, here we call it page 4.
However, the behavior above is totally different on my Win7 (64 bit) with IE 10, which is in step 4, when I click "Print" hyper-link in page2, instead of open a new popup window, the window for page 3 will be reused and counting will restart from
1.
I googled and know from MDN for window.open() and get below information to indicate that in my test pages, I use the same window name, so that the existed window with the same name will be reused is as expected, but however, why IE behave differently in
Win8.1 with IE 11? Why the existed window could not be reused anymore?
If a window with the name strWindowName already exists, then, instead of opening a new window, strUrl is loaded into the existing window. In this case the return value of the method is the existing window.
The behavior in Win8.1 + IE 11 is similar with what Google Chrome does, and Chrome's explanation is that two separated window using separated processes which do no share information, so that even using the same window name. twp separated windows will
popup.. So I am confused here, IE 10 and IE 11 are both using multi-process mechanism right? I saw from the Windows Task Manager, when using "File -> New Session" to open another print_test.html page in step 2. both IE 10 and IE 11 are opening
4 iexplore.exe processes, two of them are 64 bit, and two of them are 32 bit. I can't see any configuration difference between these two envs, but why the behavior is so different? 
Could anyone give some help and clarify here? Great thanks in advance.
Oh, btw, another colleague can reproduce the issue (open separated windows even using the same window name) in his Win7 64 bit with IE 10 env, but could not reproduce in his Win 32 bit with IE 10 env... Hope this information could also do help.
======================== Test pages ===============================
(1) print_test.html
<!DOCTYPE html>
<html>
<head>
<title>Print test</title>
<head>
<body>
<h1>Print test</h1>
<p><a href="javascript:void(0)" onclick='window.open("print_test_open.html", "test");'>Print</a></p>
<p><a href="javascript:void(0)" onclick='window.open("print_test_open.html", "test"); myWindow.location.reload(true);'>Print (force refresh)</a></p>
</body>
</html>
(2) print_test_open.html
<!DOCTYPE html>
<html>
<head>
<title>Open</title>
<head>
<body>
<h1>
<div id="count">Test</div>
</h1>
<p>Test</p>
<script type="text/javascript">
var e = document.getElementById("count");
sessionStorage['count'] = 0;
function timedCount() {
    i = sessionStorage['count'];
    i++;
    sessionStorage['count'] = i;
    e.innerHTML = "Count: " + i;
    setTimeout(function(){timedCount()},100);
timedCount();
</script>
</body>
</html>

Hi,
please try in noAddons mode and with the IE Popup blocker turned off. Also ensure you are using the default IE Security zone settings. Internet Options>Security tab, click "Reset all zones to default"
To debug your scripts in IE11.
Tools>Internet Options>Advanced tab, check "Always record developer console messages".
start your test and display the developer tool console to display suppressed errors and warnings.
(I don't see where myWindow is assigned).
"If a window with the name strWindowName already exists, then, instead of opening a new window, strUrl is loaded into the existing window. In this case the return value of the method is the existing window."
window.open has an optional 'replace' parameter...
http://msdn.microsoft.com/en-us/library/ie/ms536651(v=vs.85).aspx
to reuses a tab or window
window.open({url},[name],[placement],[replace])
If possible can you please provide a publicly accessible link to your test pages as we need to inspect the response headers to monitor what is cached.
or
f12>Networking tab, click 'Start' button, then proceed with your test plan.
Regards.
Rob^_^

Similar Messages

  • I will be upgrading from Windows XP, service pack 3, to Windows 7 Ultimate. Will I be able to use the same serial number for CS5 I am currently using on Windows XP on Windows 7 Ultimate? THANKS

    I will be upgrading from Windows XP, service pack 3, to Windows 7 Ultimate. Will I be able to use the same serial number for CS5 I am currently using on Windows XP on Windows 7 Ultimate? THANKS

    You should be able to. Just deactivate your copy of CS5 on your old computer. Open one of the applications and choose Help > Deactivate.
    Use your original install discs or a backup of your install file to install on the new computer. Or download here:
    Other downloads

  • Obiee 11g and custom j2ee app using the same cookie name

    Hi,
    I wrote a same j2ee web application. i'am using authentification through a realm configured in the web.xml.
    This web app is deployed in the same weblogic than obiee 11g. What i want to do is to embed my application in a dashboard using an iframe tag, and use the same login from analytics to my custom web app.
    In this article http://docs.oracle.com/cd/E11035_01/wls100/security/thin_client.html#wp1039551, it is said that by default, all web apps in the sames weblogic server are using the same cookie name so that they share authentification between them. However, i have read in the web that analytics in obiee 11g is using a cookie with the name "ORA_BIPS_NQID".
    In the weblogic.xml of my custom application, i set the cookie-name parameter to ORA_BIPS_NQID. However, in the dashbord, it still prompt for authentification to my custom web app.
    How can we share authentification between analytics and a custom web app in the same weblogic ?
    NB : I dont want to pass the username et password through the url.
    Thanks.

    By default, if you don't specify a cookie-name in the weblogic.xml configuration file, the weblogic server create a cookie named JSESSIONID for your application. For exemple, if two applications use the default configuration, both of them will use the same cookie name which is JSESSIONID. In this case, when you log in the first application, your are automaticaly logged in the second application with the same credentials. I have already test this kind of integration and it works perfectly. You only need that the two applications are deployed in the same weblogic server.
    Now, i want to have the same behaviour between obiee 11g and my custom application deployed in the same weblogic server. I read somewhere in the web that obiee 11g presentation service (analytics) is configured with a cookie-name value = "ORA_BIPS_NQID". So in the weblogic.xml configuration file of my web app, i specify a cookie-name value = "ORA_BIPS_NQID" to have the same cookie-name between the two application. But, it still not work. It prompt for authentification in the dashboards.
    I now, that such an integration is possible, because the other bi applications (mapviewer, bipublisher,...) are actually other web applications. However when using, for exemple, maps in dashbords, the mapviwer application automaticaly user the credentials of the user connected in analytics.

  • I am trying to deauthorize my audible account.  It says the user name and/or password are incorrect after I had just deauthorized the computer using the same user name and password.  They should be different correct?

    I am trying to deauthorize my audible account.  It says the user name and/or password are incorrect after I had just deauthorized the computer using the same user name and password and logging in to post this.  They should be the same password correct?

    Deauthorize Audible Account... always appears as a menu selection, even if you deauthorized Audible or never even had an account.
    Audible is a different account from iTunes and does not require the same username / password.

  • I have a new ipod and when I sign in to Words with Friends it says that user name is already in use. How can I continue using the same user name with a different ipod?

    I have a new ipod and added all my apps to it. When I sign in to Words with Friends it says that "user name is already in use" because it is linked to my old ipod. How can I use the same user name with my new ipod?

    Was the iPod setup via iTunes on this computer?
    Setup via wifi?
    Was the iPod previous synced to another iTunes library/computer?
    Have you successfully synced from this iTunes library/computer before?
    Do the songs play in iTunes?           
    Do you have the right boxes checked to sync?
    iTunes: Syncing media content to iOS devices and iPod        
    Try syncing using the manual method                 

  • Opening Hyperlinks inside Excel WebAccess webpart in the Same Window

    I was trying to access Excel Web parts hyperlink like below, but this solution is not working for me.
    $(document).ready(function() {
    $(".ewr-sheetcontainer a").each(function(){
    $(this).attr("onclick","openLink(this)");
    function openLink(Atagproperties)
    Atagproperties.target = "_self";
    Problem is .ewr-sheetcontainer has role="Presentation" atttribute,
    which says it will delete the contents from accessible tree. 
    Is this the reason it is not working for me? or Am I missing anything?
    Appreciate your help on this. Thanks, Maddy

    Hi,
    According to your description, my understanding is that you want to set the hyperlink in Excel Access Web Part opening in the same window.
    As the excel access web part is dynamic loading after the page load, so when the page has loaded, the excel web part element has not been loaded completely.
    I suggest you can use setInterval method to run function circularly until the excel access web part has loaded in the page.
    Here is a code snippet for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.js" type="text/javascript"></script>
    <script type="text/javascript">
    var $a;
    var interval;
    $(document).ready(function(){
    interval = setInterval(ready, 1000);
    function ready()
    $a = $('div.cv-nwl a');
    if($a.html()!=null)
    $a.attr('target','_self');
    clearInterval(interval);
    </script>
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Opening a view from another view of the same window in diff Browser.

    Hi Experts,
    My requirement is to open a view (say view 2) from another view (say view 1) with click of a button in a different browser, both the views are embedded into the same window, and also i have to pass some data from view1 to view2, based no the input data, i am displaying some information. Also both views belog to the same component.
    Some pointers on this would be of great help.
    Regards,
    Ashish.

    You would need to open another window.
    See if_wd_window and if_wd_window_manager.
    Call the GET_API to get a handle to window manager.
    The new window can show V2.
    The original Window with 2 views,
    must fire plug to navigate v2 to empty view to hide it from Window1.
    The to Views talk to one another via WDC Controller.
    View 2 calls WDC controller methods.  The WDC controller the fires Event.
    View 1 can listen to this event with a method of type event handler.
    View 1 can for example react to button on View 2 and close WINDOW 2.
    Good luck
    Phil.

  • If I restore an Ipad will all others that are using the same apple id lose their apps?

    If I restore an Ipad that is disabled will all other Ipads using the same Apple ID lose their apps and information that is on them?

    Nope. Just on the one you restore.

  • Why do the file extensions (.jpg .gif .png) no longer appear when I click on a previously saved image to use that image's file name (particularly important when saving a series of images using the same root name)?

    I save a lot of images using firefox, often times from a large batch or series of images. It used to be that I would click on a previously saved image and the entire file name including the file extension (i.e. image_example.jpg) would appear in the "save as" line. Now when I click on a previously saved file, the file name appears without the file extension (i.e. image_example). Which means I have to manually type .jpg every time. For a large collection of images that I am hoping to use the same root file name and then add chronological numbers at the end, this has become incredibly frustrating, especially as it is a previously unnecessary task.
    I am using a new Macbook Pro and maybe there's something Apple related to this...? It did not happen on my old PowerBook G4. I have file extensions turned on in System Preferences.
    It should be noted that I have searched high and low and have even gone into the Apple Genius Bar where they were just confused as I was and of course ended by urging me to use Safari (shocker!) as it has all kinds of new extensions and bells and whistles. I seriously feel alone on an island with this dumb, hard to google problem. Thanks so much for any help anyone out there might have.
    I mean: is this as simple as changing a setting in about:config?
    Your assistance is greatly appreciated.

    Thanks for your response Mylenium, however like I mentioned multiple times, I did change all of my trackpad/scrolling settings in system preferences.  And if I wanted to use a normal mouse (or a tablet), I would've gotten an iMac instead of a MacBook Pro.  I travel often and work all over the place, not always with access to a decently sized workspace that would be required for using a mouse or tablet.

  • Mozilla Crash Reporter shows up whenever i open Firefox, i can't even use the browser due to how fast it crashes, please help!

    So from yesterday i started getting random crashes with Firefox and at one point it had froze my screen for a few minutes, now today when i attempted to get into my browser there is about 5 seconds before it instantly closes and sends me a crash reporter, i have tried re-installing and system restore AND trying to use safe mode but it still crashes, is anyone experiencing the same problem?

    We're sorry to hear that your Firefox seems to be crashing when you open it. Please perform the following steps to give us a crash report ID that helps us find out more about the cause of the crash.
    #Press the following shortcut to get a Run window: [Windows] + [R]. This should bring up a window that contains a text field.
    #In that text field, enter %APPDATA% and press Enter. An explorer window should open.
    #From that explorer window, double-click on the ''Mozilla'' folder, then double-click on ''Firefox'' and then on ''Crash reports''. Double-click on ''submitted''.
    #Now, you should see a list of files that contain reports. Go to ''View'' > ''Arrange Icons by'' > ''Modified'' to get the most recent files at the top of the window.
    #Open the most recent 5 files with a text editor and copy the IDs.
    #Paste each ID with '''bp-''' into the reply window on the forums.
    Thanks in advance!
    You can find more information and troubleshooting steps in the [[Firefox crashes]] article.

  • Firefox will not restore previous session in the same window?

    Hello,
    Every time I open Firefox and click the restore previous session button at the bottom nothing happens. That's the first part of the problem. Next, when I click on my history and click restore previous session, it does so but opens them all in a new window. It was only 3-4 days ago that this started happening. I would like to change what ever is causing this back to how it was as it is quite annoying when I have pinned tabs and I have to keep re-pinning them.
    I am running the Developer version of Firefox.
    Thank you.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • A webpage suddenly stops loading and just shows 'connecting...'. Opening new webpages in new tabs in the same window or in a new window gives same problem, while IE does not have any such problem opening the same page simultaneously

    this issue is not limited to one website, it seems to be problem with the browser or possibly any plugins but not any specific webpage

    The default of the pref network.http.max-connections has been increased from 30 to 256 in Firefox 6+ versions.
    Try to decrease the value of the pref <b>network.http.max-connections</b> from 255 to a setting like 30 as used in Firefox 3 versions.
    *https://support.mozilla.com/kb/Firefox+never+finishes+loading+certain+websites

  • How to use the same Windows-Profile for over 700 Users?

    Dear admins,
    i´d like to use one (1!) shared windows profile to serv over 700 user-accounts in our school. But there is a little complication in the WGM.
    I just tried to check all users and entered the path of the shared profile right in the windows tab.
    For example \\Server\Profiles\oneforallprofile
    Unfortunately the WGM put the user´s shortname behind this path.
    For example: \\Server\Profiles\oneforallprofile\mistersmith
    or \\Server\Profiles\oneforallprofile\sallymiller and so on.
    By changing this preference one by one it works, but of course i need a solution to do that for all users.
    Does anyone know how to set one Profile for all students?
    Thanks for your help!
    Rolf
    XServe G5   Mac OS X (10.4.5)   Educational System Administrator

    Hello Prasad,
    Most likely the user km_admin still has system principal roles assigned, even though you removed the Super Admin role, you should check that this user doesn't have any other admin roles, otherwise it will be considered a System Principal user and will therefore still have access to all content. For more information see http://help.sap.com/saphelp_nw70/helpdata/en/19/56f28fbd4e11d5993b00508b6b8b11/frameset.htm
    Try creating a new user with just read access to the content and you should see that it will not be able to make any changes etc.
    Regards,
    Lorcan.

  • TS1398 My wireless router failed and I had to purchase a new one. My security on the new one will not allow me to use the same password. I entered a new password, but of course it is not on my ipod or ipad mini . How can I enter new password ?

    My wireless router in my home has failed. I purchased a new router, but it will not allow some of the characters which I used for my old password. Therefore I cannot access the internet with my ipad mini or my ipod touch. I am unable to change the password on either device. How do I go about changing the password on these units so that I can access the internet? Thanks
    Terry Beckingham

    http://www.apple.com/support/appleid/contact/

  • My husband and I are separated, but still using the same App Store account.  Is there any way I can create a new account but keep the apps (and, more importantly, the data in those apps)?

    I have budgeting and home management apps that contain lots of data and I would like to retain these apps and the data when we split our App Store accounts.  Is there any way to do that? I don't want to have to go and buy the apps again - this includes all the kids' games that we bought on the account.

    PrettyPettyThings wrote:
    Thanks.  Well I retain the data if I purchase the app again?
    That depends on the app and where the app's data are stored. I think if you back up the phone, delete the app, purchase it again using your Apple ID, then restore the backup you will get your data back. But I cannot guarantee it.

Maybe you are looking for

  • [Solved] how do i build my ISO image with archiso?

    hi all i've been following this wiki and it's been going really well (it hasn't gone wrong...). but the wiki page just sort of stops halfway through the configuration bit a google search brought me to this page which suggests using the "build.sh" scr

  • Our iPhones can't find our wireless network, but our MBPs can?

    Using AirPort Express. Me and my friend's MBP can connect to the wireless just fine, and we can see the wireless network name on our MBPs. But when we use our iPhones, our wireless network is nowhere to be found, tried resetting to factory settings a

  • Unatennded istallation of Adobe DreamWeaver 10.0

    Im trying to deploy Adobe dreamWeaver to our servers. I have used the Adobe CS4 Deployment To olkit to make a package It installs fine but when i try to run it i get the message Dreamweaver Could not locate the Resources file in the Configuration fol

  • Consignment fill-up - Output Printing Problem - Z customizing problem

    Dear Gurus, I have customized and copied the following 2 sales documents types: - OR - KB into ZSTA and ZKB When I create a Sales Order using VA01 and ZSTA, and chose 1 material + 1 service, the printed invoice clearly shows 2 items for each one of t

  • Mail title in output type

    When creating Output type (for email), Is there any way we can set Mail Title to pick the value for the relevant run . eg if PO 1234 is created , then the mail title sould pic up PO <whatever value> and Date ? Thanks, Rayudu