Bug Tracker

Opened 14 years ago

Closed 14 years ago

#4238 closed bug (invalid)

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 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by pgriffith

Attachment: jtest.html added

comment:1 Changed 14 years ago by Calamari

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: https://bugs.webkit.org/show_bug.cgi?id=18327

comment:2 Changed 14 years ago by dmethvin

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.

Note: See TracTickets for help on using tickets.