Script tag with defer not processed in Explorer
|Reported by:||Endeer||Owned by:|
|Keywords:||ie6 ie7 ie8 ie9||Cc:|
I've stumbled upon an issue which manifests in IE6,7,8,9 for me (other versions not tested).
Including <script defer src="something.js"> after including jQuery will cause the content of something.js not to be processed - defined functions will not be available, direct code will not be executed.
This happens only most of the time - e.g. after the page is loaded once, you click on location bar and press enter, the bug will probably not occur, but F5/Ctrl-F5 triggered it about every time for me.
Example is available here: http://www.endeer.cz/iebug/2/ It should alert("X").
This occurs only with 1.7.1, and not in 1.7.0 or 1.4.2 which I tested. Replacing the included jQuery with any of these other version will cause the alert() to pop up every time.
Change History (10)
comment:4 Changed 4 years ago by dmethvin
- Component changed from unfiled to core
- Priority changed from undecided to low
- Status changed from new to open