I will add these as methods to the window object (and go on thinking
about how, in general, methods and events can be best represented in the
reference), but I believe that window.opener returns a reference to the
window that _opened_ the new window, the spawner.
There is a level below which I think the xul reference should not go.
For example, the scrollbox _object_ has all sorts of strange methods on
it for manipulating its children, but you cannot call these as directly
as you would, say, the selection methods on the tree. They are not
exposed to the <scrollbox /> element in the way you would imagine them
to be (and I've forgotten now how they are exposed), and so I don't
think they are good candidates for the xul reference, at least for now.
This doesn't mean that there aren't _dozens_ of element attributes,
methods, and events missing from the reference, it just means I want to
keep things centered around the elements themselves.
-i.
Axel Hecht wrote:
> window.opener, and window.open() return value (the new window).
>
> Just two little ones that crossed my road last week.
>
> Axel