Bug Tracker

Opened 8 years ago

Last modified 7 years ago

#8107 closed bug

jQuery.ajax fails when only the URL parameter is provided — at Version 2

Reported by: danheberden Owned by:
Priority: low Milestone: 1.5.1
Component: ajax Version: 1.5
Keywords: Cc: jaubourg
Blocked by: Blocking:

Description (last modified by danheberden)

$.ajax( 'url' ); fails with

Chrome:
Uncaught TypeError: Cannot use 'in' operator to search for 'context' in /echo/html

FF4:
Error: invalid 'in' operand options
Source File: http://code.jquery.com/jquery-git.js
Line: 6352

If the settings object (even if just {} ) is present, it works fine. Also, looks like unit tests passed cuz it was just calling $.ajax();

http://jsfiddle.net/danheberden/u9qsW/

Change History (2)

comment:1 Changed 8 years ago by danheberden

Cc: jaubourg added
Component: unfiledajax
Description: modified (diff)
Priority: undecidedlow
Status: newopen

comment:2 Changed 8 years ago by danheberden

Description: modified (diff)
Note: See TracTickets for help on using tickets.