Skip to main content

Bug Tracker

Side navigation

#6822 closed bug (invalid)

Opened July 23, 2010 03:28PM UTC

Closed October 04, 2010 06:01AM UTC

Selectors with Tab whitespace die in Firefox 3.0.x

Reported by: RandomInsano Owned by:
Priority: undecided Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

Somehow, working with tabs in a parent > child selector works fine in every other browser, including Firefox 3.5.X and up, but it throws an exception in FF3.

Code snippet:

$("#TemplateStateBox > Select")[0].disabled = true;

Throws:

[Exception... "'Syntax error, unrecognized expression: ' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]

I can't say it's a big deal, but it was an odd problem. Converting tabs to spaced to align multiple selectors has fixed the problem.

I don't expect a fix, I just want it to be a known problem with jQuery on FF3.0.

Functionality is fine in Opera 10.60, Chrome 5.0 Beta, Firefox 3.6, IE8

Attachments (0)
Change History (1)

Changed October 04, 2010 06:01AM UTC by addyosmani comment:1

priority: → undecided
resolution: → invalid
status: newclosed

Running the above test in FireFox 3.0.1 I see that it appears to be working. As you mentioned this test is also functioning in recent versions of all major browsers without any issues. If you would like to submit further test cases for us to evaluate and investigate please feel free to submit a new ticket.