Side navigation
#8107 closed bug (fixed)
Opened January 31, 2011 11:06PM UTC
Closed February 01, 2011 08:35AM UTC
Last modified March 09, 2012 11:01AM UTC
jQuery.ajax fails when only the URL parameter is provided
| Reported by: | danheberden | Owned by: | danheberden |
|---|---|---|---|
| Priority: | low | Milestone: | 1.5.1 |
| Component: | ajax | Version: | 1.5 |
| Keywords: | Cc: | jaubourg | |
| Blocked by: | Blocking: |
Description
$.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();
Attachments (0)
Change History (7)
Changed January 31, 2011 11:07PM UTC by comment:1
| cc: | → jaubourg |
|---|---|
| component: | unfiled → ajax |
| description: | $.ajax( 'url' ); fails with \ \ Uncaught TypeError: Cannot use 'in' operator to search for 'context' in /echo/html \ \ 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/ → $.ajax( 'url' ); fails with \ \ \ {{{ \ Uncaught TypeError: Cannot use 'in' operator to search for 'context' in /echo/html \ }}} \ \ 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/ |
| priority: | undecided → low |
| status: | new → open |
Changed January 31, 2011 11:10PM UTC by comment:2
| description: | $.ajax( 'url' ); fails with \ \ \ {{{ \ Uncaught TypeError: Cannot use 'in' operator to search for 'context' in /echo/html \ }}} \ \ 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/ → $.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/ |
|---|
Changed January 31, 2011 11:33PM UTC by comment:3
| owner: | → danheberden |
|---|---|
| status: | open → assigned |
Confirmed
Changed February 01, 2011 05:46AM UTC by comment:4
Changed February 01, 2011 08:35AM UTC by comment:5
| resolution: | → fixed |
|---|---|
| status: | assigned → closed |
Changed February 01, 2011 11:56AM UTC by comment:6
| milestone: | 1.next → 1.5.1 |
|---|
Changed February 02, 2011 04:47AM UTC by comment:7
Ah cool, just found this bug myself.