Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (46 - 48 of 13852)

Ticket Resolution Summary Owner Reporter
#15193 migrated Ajax requests with binary data throw errors in Chrome cbroome
Description

This is related to issue #11426.

Code starting at line 8598:

  complete(
    xhrSuccessStatus[ xhr.status ] || xhr.status,
    xhr.statusText,
    // Support: IE9
    // Accessing binary-data responseText throws an exception
    // (#11426)
    typeof xhr.responseText === "string" ? {
      text: xhr.responseText
    } : undefined,
    xhr.getAllResponseHeaders()
  );

In that ticket, the fix was to throw an exception for IE browsers, however Chrome v36 throws an exception as well when accessing xhr.responseText. I'm not advocating jquery handling binary data, as another ticket left that for the plugins. What I'd like to see is the conditional:

    typeof xhr.responseText === "string" 

changed to something safer:

    (xhr.responseType === "text" && xhr.responseText === "string")

Or something similar, so long as that check doesn't throw an exception. As it is the current state prevents launching the 'complete' callback for any binary data response, even though 'text' is an inessential parameter (defaulted to undefined).

Thanks.

#15192 invalid .toggle() is broken on fragment bl4ckdu5t bl4ckdu5t
Description

Hello, Recently from a test of the .toggle() by a member on the #jQuery IRC channel on irc.freenode.net , it was discovered that .toggle() method is broken on fragments. This fiddle shows an example of its usage and how it failed http://jsfiddle.net/bl4ckdu5t/4rAFr/1/ . Suggestion is that there may be something on this ()https://github.com/jquery/jquery/blob/c869a1ef8a031342e817a2c063179a787ff57239/src/css.js#L451 part of the code that needs to be fixed.This was tested by me on my Chromium 35.0.1916.153 in my Debian 7.6 machine. Thanks, Joseph Rex

#15191 duplicate serializeArray fails with fieldset in IE ddewit
Description

serializeArray returns an empty array when used on a fieldset in IE, works fine in other browsers.

See this fiddle: http://jsfiddle.net/Wh4dK/1/

Note: See TracQuery for help on using queries.