Site Navigation

Thursday, January 3, 2008

bug 524 - IE's Object doesn't support this property or method

Issue: #524
Affects: IE6, IE7, IE8 Beta 1, IE8 Beta 2, IE8 PR 1, IE8 RC1

In the world of software programming errors and warnings will always occur. When an error does occur though, providing the programmer with information as to what went wrong is as important as catching the error in the first place.

If the title of this post was familiar?

Object doesn't support this property or method then you've likely encountered this one more than once in Internet Explorer.

It is about as helpful as someone saying "hey you shouldn't do that" when you accidentally drop your ice cream cone in the sand at the beach. I can tell that something went wrong, how about some help rather than pointing out the fact that something failed.

A simple Object foo does not have a property or method named bar defined

This would give the developer a much better chance of finding the issue at hand, since the bug line number has been notoriously incorrect in IE for years (I'll leave that for another bug filing).

With this info I know exactly which property or method is missing on exactly which object.

Oddly enough, other browsers seem to have no problem providing this kind of info in their JavaScript console debug messages, stack traces or Firebug (if you are using Firefox)


Example:



Known Workarounds: None.


Related Issues: None.

Bug/Site Feedback |
Submit a bug