Gecko:SplitWindow: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
Line 49: Line 49:


To handle |this|, we would want to hook JSObjectOps.thisObject up somehow.
To handle |this|, we would want to hook JSObjectOps.thisObject up somehow.
XPConnect implements JSObjectOps for wrapped natives, so the simplest thing to do is add another scriptabl helper that forwards thisObject calls from the JS engine to the nsWindowSH impl.
XPConnect implements JSObjectOps for wrapped natives, so the simplest thing to do is add another scriptable helper that forwards thisObject calls from the JS engine to the nsWindowSH impl.


The other properties can be handled using existing or new getter hooks that "outer-ize" any inner window object reference.
The other properties can be handled using existing or new getter hooks that "outer-ize" any inner window object reference.


/be
/be
Confirmed users, Bureaucrats and Sysops emeriti
419

edits

Navigation menu