Ticket #14894 (closed bug: fixed)
IE11: exception when calling $.fn.data() on the body element when it has an 'onpageshow' attribute
|Reported by:||jsmreese@…||Owned by:||dmethvin|
IE11 throws an exception when calling $.fn.data() on a jQuery collection of the body element when the body element has an 'onpageshow' attribute.
The exception throws in IE11 with all versions of jQuery I've tried (2.1.0, 1.11.0, 1.9.1, 1.6.4).
The exception does not throw in Chrome or Firefox (current stable versions) with any version of jQuery, nor in IE8 with 1.x versions of jQuery.
The exception does not throw when the body does not have 'onpageshow' but has other event-based attributes such as 'onclick' or 'onload'.
The exception still throws in IE11 if the body attribute has 'data-' attributes before or after the 'onpageshow' attribute.
comment:1 Changed 21 months ago by rwaldron
- Owner set to rwaldron
- Status changed from new to assigned
comment:2 Changed 21 months ago by John Madhavan-Reese <jsmreese@…>
comment:3 Changed 21 months ago by John Madhavan-Reese <jsmreese@…>
comment:4 Changed 21 months ago by dmethvin
- Milestone changed from None to 1.11.1/2.1.1
comment:5 Changed 21 months ago by dmethvin
- Component changed from unfiled to data
- Priority changed from undecided to low
comment:6 Changed 20 months ago by dmethvin
- Owner changed from rwaldron to dmethvin