read_browser_object: throw error when there is no object to read
commit408dba191050487c6320523b9130e0a265a948d5
authorJohn Foerch <jjfoerch@earthlink.net>
Thu, 14 Oct 2010 00:05:23 +0000 (13 20:05 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Thu, 14 Oct 2010 00:05:23 +0000 (13 20:05 -0400)
treec2bbd1b7f2cbc2e2eeea1088e2f2d5b984cc90c9
parentdc65a69f1b9740a48e726c93f60bc23e50ff784f
read_browser_object: throw error when there is no object to read

As of this patch, null is officially defined as a valid browser object.
All commands which call read_browser_object must supply a default via
the $browser_object keyword.  The commands 'scroll' and 'reload' have
been updated to supply a default of null.  The interactive error
"No browser object" is thrown when the interactive context's browser
object is 'undefined'.
modules/content-buffer.js
modules/element.js
modules/input.js
modules/interactive.js
modules/scroll.js