It does not work on both mac or pc. I noticed if I call a function from SL that in turn invoke a button's click event and if my open window logic is inside button's click event handler then it works.
//Calling stub javascrtip from silverlight
HtmlPage.Window.Invoke("Stub");
In host asp.net page I have fowlling javascript and a hidden button.
//Stub invoke btnSafari's click event
function Stub() //Test function
{
var btn = document.getElementById('btnSafari');
if(btn != null)
btn.click();
}
Open new window
function pop() //Test function
{
url = 'http://www.google.com';
window.open(url, 'New');
}
//Hidden button to open pop up in safari.
<input id="btnSafari" style="visibility: hidden; height: 0px; width: 0px;" type="button" onclick="pop(); return false;" />