Opened 14 years ago
Closed 14 years ago
#4665 closed bug (duplicate)
Chrome and Jquery Selector and Maximum size 49800 characters
Reported by: | zzcyanide | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.4 |
Component: | unfiled | Version: | 1.3.2 |
Keywords: | jquery selector, maximum size, chrome | Cc: | |
Blocked by: | Blocking: |
Description
I am using ajax to return a content web page. The content happens to be greater than 49800 characters. IE and Firefox handle this with no problems, but in Chrome, it returns null.
Steps to reproduce:
- create a html content page with greater than 49800 characters.
- make a div with an identity you want to select, id="Title"
- load the page via ajax, and return the html content
- use a selector on the content to return the title:
function LoadContent( page ){
$.ajax
({
url: page ,cache: false ,success: function(html){ ContentLoaded(html); } ,error: function(httpObject, textStatus, errorThrown ) { alert( textStatus + " and " + errorThrown ); } ,dataType: "text" ,data:{} ,timeout:10000
});
} LoadContent
function ContentLoaded( html ){
var title = $("#Header", html).html(); alert( title );
}
This will throw an error in Chrome.
I am not sure if this is a maximum variable size limit in chrome or something something.
Doom on you Chrome!
Attachments (1)
Change History (2)
Changed 14 years ago by
Attachment: | Chrome Issue.zip added |
---|
comment:1 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This is related to #3178 and most likely due to this (now-fixed) bug in Chrome/Safari:
chrome issue test files