Bug Tracker

Modify

Ticket #4238 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

Description

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

jtest.html Download (53.8 KB) - added by pgriffith 4 years ago.

Change History

Changed 4 years ago by pgriffith

comment:1 Changed 4 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 4 years ago by dmethvin

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

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.