Skip to main content

Bug Tracker

Side navigation

#4238 closed bug (invalid)

Opened February 25, 2009 12:04AM UTC

Closed February 27, 2009 02:38AM UTC

errors creating jquery objects on large strings in safari and chrome

Reported by: pgriffith Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Webkit browsers have trouble creating jquery objects for html that exceeds some size limit. They don't have problems with larger strings, and other browsers (firefox, IE 6 & 7) don't have this problem at all.

The jQuery object is being created like this:

var s = [some long string of html];

var o = $(s);

Attachments (1)
  • jtest.html (53.8 KB) - added by pgriffith February 25, 2009 12:04AM UTC.
Change History (2)

Changed February 25, 2009 01:24AM UTC by Calamari comment:1

I traced this bug, and it's up to webkit to fix their regex handling. It seems that webkit has an open bug and has problems parsing regular expressions with more than 25056.

And here is the ticket:

Changed February 27, 2009 02:38AM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed

Thanks, Calamari, for the research. Since this isn't a jQuery bug and probably doesn't need a workaround in the core, I'll close it.