Ticket #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: | ||
| 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
Change History
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

