Skip to main content

Bug Tracker

Side navigation

#12345 closed bug (invalid)

Opened August 19, 2012 12:48AM UTC

Closed August 19, 2012 01:03AM UTC

isPlainObject returns different results in IE & chrome

Reported by: mice530@qq.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description

when check BOM object, it returns true in IE but false in chrome

i use $.isPlainObject(window.location) in this case

Attachments (0)
Change History (1)

Changed August 19, 2012 01:03AM UTC by rwaldron comment:1

resolution: → invalid
status: newclosed

According to the docs, host objects have known inconsistencies and aren't supported: http://api.jquery.com/jquery.isplainobject/