Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[InternetExplorer 8] A blank page is poped #70

Closed
jfarcand opened this Issue · 10 comments

2 participants

@jfarcand

Seeing the same problem in Atmosphere, I've tested the servlet-stream with Jetty 8.1.4. When opening a second tabs, a new windows get poped with an about:blank as a url.

@flowersinthesand

Hmm.. I couldn't reproduce the issue in a virtual box.

That's strange. A new window is poped if there is no window whose name property is the value from cookie. If the issue is still present, tell me $.socket().option("url") value and document.cookie of master and slave and $("iframe[name='" + ("socket-" + $.socket().option("url")).replace(/\Wg, ""/) + "']")[0].name value of master.

You can execute the above scripts using the developer tools' console.

@jfarcand

Looks like the failure is caused by Atmosphere.js. Closing, will continue on the atmosphere.js side.

@jfarcand jfarcand closed this
@jfarcand

OK, today I tested it again and I still see the blank window. I did clear all the browser data, re-opened from clean and did:

  1. deploy servlet-stream on jetty 8.x
  2. open a tab [tab-1]
  3. open another tab, enter some data [tab-2]
  4. go back to [tab-1], enter some data. blank window pop.

I can reproduce the issue all the time. It seems to be the same issue as Atmosphere is suffering.

@jfarcand jfarcand reopened this
@jfarcand

Also tested on IE 7 and it works as expected (same with Atmosphere). So there is clearly a bug with IE 8, but I have to admit I fail to find it. It seems the hidden window is never found...

@flowersinthesand

Okay, I'll check it out, but are you able to get these values?

$.socket().option("url") value and document.cookie of master and slave
$("iframe[name='" + ("socket-" + $.socket().option("url")).replace(/\Wg, ""/) + "']")[0].name value of master.

@flowersinthesand

I couldn't reproduce the issue again this time with Windows Virtual PC VHDs from http://www.microsoft.com/en-us/download/details.aspx?id=11575

So, those values info is only chance so far.

@jfarcand

Apology for the delay...will look today and ad it today but last time I've tested with Atmosphere those value where the same. Stray tuned.

@jfarcand

OK, all value are matching (socket + url), but still I do get the blank window

I use the atmosphere-longpoll for testing.

@flowersinthesand

Somehow, the problem arises in Windows Virtual PC. I'm working on it.

@flowersinthesand

IE 8 in question doesn't allow to access other windows by calling window.open method with its name attribute. The blank window pops up in calling window.open with its name. Unfortunately, there is no workaround for this time. I'll document this quirk.

At least, sharing connection is possible with below version of IE

version: 8.0.6001.18702
navigator.userAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)

Information of the IE in question

version: 8.0.7601.17514
navigator.userAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)

The problem may comes from version 8.0.7601.17514 or OS Windows NT 6.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.