Ticket #4455 (closed bug: wontfix)
Uncaught exception when selector begins with forward slash
|Reported by:||micah||Owned by:||john|
I know, I know, a selector shouldn't begin with a forward slash anyways, but bear with me here.
If I do this:
I expect an empty instance of jQuery, since XPath is no longer supported. Instead it throws:
Syntax error, unrecognized expression: /foo/bar
This issue arose because I sometimes use $() to check if a var contains a DOM fragment or not, so when passing a URL in I inadvertently discovered that jQuery now pukes on XPath instead of gracefully ignoring it.
- Status changed from new to closed
- Resolution set to invalid
- Status changed from closed to reopened
- Resolution invalid deleted