Opened 14 years ago
Closed 12 years ago
#4633 closed bug (invalid)
globalEval execution is delayed in Firefox if another script is executing
Reported by: | krogot | Owned by: | krogot |
---|---|---|---|
Priority: | minor | Milestone: | 1.4 |
Component: | core | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
<script> $.get('url', {}, function(contents) {
$.globalEval(contents); call of a function declared in "contents" fails in FF
}); </script> <script> document.write("<script src=\"delay.php?r="+Math.random()+"\"></"+"script>"); </script>
In IE/Safari/Chrome it works, in FF2/3 it fails. Looks like firefox schedules the <script> tag created by globalEval to be executed after "delay.php" finishes, so any code right after globalEval() does not work.
Change History (2)
comment:1 Changed 12 years ago by
Owner: | set to krogot |
---|---|
Status: | new → pending |
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Automatically closed due to 14 days of inactivity.
Note: See
TracTickets for help on using
tickets.
Can you provide a complete test case?