minified manipulation methods fail on oldIE with XML
|Reported by:||gibson042||Owned by:||gibson042|
A handful of our methods (among them the manipulation-module internal getAll) employ a clever typeof node.<DOM method> !== "undefined" hack because oldIE sometimes tries to evaluate the methods (and fails for insufficient arguments) if we test them directly.
Unfortunately, UglifyJS undoes all our efforts and turns the pattern into n.<DOM method>!==<undefined>. Core module test "jQuery(selector, xml).text(str) - Loaded via XML document" fails on oldIE when run against minified source for precisely this reason.
Secondarily, we should check jquery.min.js with TestSwarm. :)
Change History (11)
comment:4 Changed 3 years ago by gibson042
- Component changed from unfiled to manipulation
- Status changed from new to open
comment:5 Changed 3 years ago by gibson042
- Owner set to gibson042
- Status changed from open to assigned
comment:6 Changed 3 years ago by Richard Gibson
- Resolution set to fixed
- Status changed from assigned to closed