jQuery.ajax fails when only the URL parameter is provided
$.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 (7)
Cc: |
jaubourg added
|
Component: |
unfiled →
ajax
|
Description: |
modified (diff)
|
Priority: |
undecided →
low
|
Status: |
new →
open
|
Description: |
modified (diff)
|
Owner: |
set to danheberden
|
Status: |
open →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Milestone: |
1.next →
1.5.1
|
Confirmed