Side navigation
#6492 closed bug (invalid)
Opened April 27, 2010 03:50PM UTC
Closed April 30, 2010 12:07AM UTC
IE 7/8 uncaught fatal exception when attribute selector parses malformed href string
Reported by: | xtof | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | selector | Version: | 1.4.2 |
Keywords: | href, Internet Explorer | Cc: | |
Blocked by: | Blocking: |
Description
jQuery code was:
jQuery('a[href$=.pdf]').addClass('pdf');
fatal exception on this line. tried iterating the individual anchor tags and looking at their hrefs using just DOM functions; discovered one was malformed, specifically:
href="http://3 Willows: The Sisterhood Grows"
IE 7/8 (did not test 6) failed on this link any time I accessed this href (e.g., "var foo = element.href;" threw fatal exception), with one exception - typeof element.href returns "unknown" for IE7/8
Attachments (0)
Change History (1)
Changed April 30, 2010 12:07AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Can you reopen with a complete test case that throws the error?