Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

IE10 document.write of a remote script causes "Bad script nesting or script finished twice" #154

Open
jnewman opened this issue Apr 18, 2016 · 0 comments
Labels

Comments

@jnewman
Copy link
Contributor

jnewman commented Apr 18, 2016

I believe this has the same root cause as cujojs/curl#131. When I add a test case w/ write contents like:

<script>document.write('<script type=\"text/javascript\" src=\"remote/write-using-query-string.js?k=1&k2=2\"><\\/script>')<\/script>

I get the nesting error. This is b/c the inner script returns in the same tick when it's already in the cache, which causes the script stack to encounter the inner script, but expect the outer.

@sethyates sethyates added the bug label Apr 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants