i have 2 windows: window A and window B.
-window B was not opened by window A
-window B's name is "windowB", that is window.name==="windowB"
now i want window A to have the reference of window B.
In gecko/firefox there is a trick to get the reference of window B:
window.open('','windowB')
which returns a reference of window B.
but it doesn't seem to work in Google Chrome.
first question:
what is the name of this trick?
second question:
is there any way to get the reference of window B in google chrome / webkit?
ultimate goal is described in the following link:
http://stackoverflow.com/questions/2236828/javascript-getting-two-sibling-windows-communicate