Seems like a more general bug since I can also reproduce this with the scrollbar object: http://gemal.dk/browserspy/showprop.html?window.scrollbars
Mitchell, is this intentional or are the security constraints too narrow here?
The error when accessing history.current is valid - scripts cannot access window.history. I'm not sure about window.scrollbars; I'm seeing a Failure exception, which may or may not be security-related. Henrik, do you think this is a problem?
Henrik, I'm not sure I'm getting the result you describe with window.scrollbars with your BrowserSpy. It's confusing as to what your script is actually doing. Can you send me a simpler testcase for this behavior?
I don't see this when simply enumerating the properties of window.scrollbar (http://www.cs.hmc.edu/~jruderma/mozilla/proptree/), so you're probably getting the error because showprop.html tries to show the values of the enumerated properties in addition to their names. *** This bug has been marked as a duplicate of 58539 ***
verifying bugs... build 2001013020