Bug Tracker

Opened 6 years ago

Closed 5 years ago

#6822 closed bug (invalid)

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

Change History (1)

comment:1 Changed 5 years ago by addyosmani

  • Priority set to undecided
  • Resolution set to invalid
  • Status changed from new to closed

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.

Note: See TracTickets for help on using tickets.