Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iframe fails to load for Pencilcode Gym on IE 11 #93

Closed
weihang7 opened this issue Jul 18, 2014 · 3 comments
Closed

Iframe fails to load for Pencilcode Gym on IE 11 #93

weihang7 opened this issue Jul 18, 2014 · 3 comments
Assignees

Comments

@weihang7
Copy link
Contributor

On IE 11 on Windows 8, the iframe for frame.pencilcode.net is empty in on all pages, and I see no errors on the Developer Tools console. In addition, all network requests succeeded, according to the Developer Tools network monitor, but there is no request going to frame.pencilcode.net. Maybe it's something wrong with the browser iframe security or the URL being too long? Works on the same computer using Google Chrome. You worked on iframes a while ago, what do you think?

@davidbau
Copy link
Member

Thanks for the bug report. Does ie11 have a way of debugging the Dom tree?
Is there an iframe pointing at frame.pencilcode.net?
On Jul 17, 2014 9:05 PM, "Weihang Fan" notifications@github.com wrote:

On IE 11 on Windows 8, the iframe for frame.pencilcode.net is empty in on
all pages, and I see no errors on the Developer Tools console. In addition,
all network requests succeeded, according to the Developer Tools network
monitor, but there is no request going to frame.pencilcode.net. Maybe
it's something wrong with the browser iframe security or the URL being too
long? Works on the same computer using Google Chrome.


Reply to this email directly or view it on GitHub
#93.

@davidbau
Copy link
Member

Some more notes, after some investigation: Frank is right that it's due to the URL being too long.

Test with the example here http://david.pencilcode.net/edit/testing/embed.html - when the url is short enough, it works. When it's too long, IE fails to load the frame silently.

Need to come up with a way of initializing the embedded frame without using the url hash part to embed the source code.

@davidbau
Copy link
Member

I've pushed a change to the codegym project that fixes this problem by using postMessage instead of URLs to initialize the frame. A little slower, but it works on IE11:

PencilCode/codegym@943fa5f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants