Skip to main content

Bug Tracker

Side navigation

#872 closed enhancement (wontfix)

Opened January 23, 2007 05:27PM UTC

Closed July 15, 2007 03:03PM UTC

isWindow

Reported by: john Owned by:
Priority: minor Milestone:
Component: core Version:
Keywords: Cc:
Blocked by: Blocking:
Description

Test to see if an object is a window object, some tests:

window
document // should fail
document.getElementsByTagName("iframe")[0] // Should fail
document.getElementsByTagName("iframe")[0].contentWindow
Attachments (0)
Change History (2)

Changed March 24, 2007 04:59PM UTC by john comment:1

type: bugenhancement

Changed July 15, 2007 03:03PM UTC by john comment:2

description: Test to see if an object is a window object, some tests:\ {{{\ window\ document // should fail\ document.getElementsByTagName("iframe")[0] // Should fail\ document.getElementsByTagName("iframe")[0].contentWindow\ }}}Test to see if an object is a window object, some tests: \ {{{ \ window \ document // should fail \ document.getElementsByTagName("iframe")[0] // Should fail \ document.getElementsByTagName("iframe")[0].contentWindow \ }}}
need: → Review
resolution: → wontfix
status: newclosed