Side navigation
#7413 closed bug (invalid)
Opened November 05, 2010 12:15PM UTC
Closed April 26, 2011 01:29PM UTC
Last modified May 08, 2011 06:42AM UTC
Browser inconsistencies return of jQuery.isEmptyObject
| Reported by: | rfernandes@alunos.isel.ipl.pt | Owned by: | rwaldron |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | core | Version: | 1.6b1 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
- Firefox 3.6 (and 4b7) returns:
jQuery.isEmptyObject("test") // false
- IE7 returns:
jQuery.isEmptyObject("test") // true
Did not test other browsers or versions but can test if requested
As normal IE is the suspect here...
Attachments (0)
Change History (13)
Changed November 05, 2010 01:11PM UTC by comment:1
| owner: | → rwaldron |
|---|---|
| status: | new → assigned |
Changed November 09, 2010 09:23PM UTC by comment:2
| description: | * Firefox 3.6 (and 4b7) returns: \ jQuery.isEmptyObject("test") // false \ * IE7 returns: \ jQuery.isEmptyObject("test") // true \ \ Did not test other browsers or versions but can test if requested \ \ As normal IE is the suspect here... → * Firefox 3.6 (and 4b7) returns: \ `jQuery.isEmptyObject("test") // false` \ * IE7 returns: \ `jQuery.isEmptyObject("test") // true` \ \ Did not test other browsers or versions but can test if requested \ \ As normal IE is the suspect here... |
|---|
Changed November 09, 2010 09:36PM UTC by comment:3
Changed November 09, 2010 09:37PM UTC by comment:4
| milestone: | 1.5 → 1.4.5 |
|---|---|
| owner: | rwaldron → john |
Let's tackle this in 1.4.5 and use hasOwnProperty.
Changed December 09, 2010 05:32PM UTC by comment:5
| component: | unfiled → core |
|---|---|
| priority: | undecided → low |
| resolution: | → fixed |
| status: | assigned → closed |
| version: | 1.4.3 → 1.4.4 |
Landed.
Changed December 09, 2010 06:08PM UTC by comment:6
| resolution: | fixed |
|---|---|
| status: | closed → reopened |
The patch causing problems in jQuery.param, backed out.
Changed December 10, 2010 04:23AM UTC by comment:7
| owner: | john → rwaldron |
|---|---|
| status: | reopened → assigned |
Changed January 17, 2011 06:53PM UTC by comment:8
| milestone: | 1.4.5 → 1.5 |
|---|
Changed April 17, 2011 05:17PM UTC by comment:9
| milestone: | → 1.6 |
|---|---|
| version: | 1.4.4 → 1.6b1 |
Confirmed this bug is still present in 1.6b1. http://jsfiddle.net/timmywil/Q9nUZ/
Changed April 25, 2011 07:27PM UTC by comment:10
| milestone: | 1.6 → 1.next |
|---|
Changed April 25, 2011 11:03PM UTC by comment:11
Changed April 26, 2011 01:29PM UTC by comment:12
| keywords: | → needsdocs |
|---|---|
| resolution: | → invalid |
| status: | assigned → closed |
Best patch ever === no patch at all.
Changed May 08, 2011 06:42AM UTC by comment:13
| keywords: | needsdocs |
|---|
Docs updated to emphasize $.isEmptyObject should always be called with a real object.
Confirmed!