After I installed Safari for Windows, the second thing I did was see if it would run Silverlight. I loaded up the Airline sample that I had running locally on my machine and got this.
From this I glean that the JavaScript detection code isn't digging Safari on Windows. So...checking my HTTP UserAgent gives me:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en) AppleWebKit/522.11.3 (KHTML, like Gecko) Version/3.0 Safari/522.11.3
...but on Mac it's usually:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/XX (KHTML, like Gecko) Safari/YY
...and since it's not Silverlight but rather the JavaScript that makes the decision on whether to try to load Silverlight (and considering that Flash and what-not worked in Safari without be needing to reinstall any plugins).
I opened up this app's Silverlight.js file and added an alert() around line 85:
var versionStr = detectAgControlVersion();alert(versionStr);
...and it reported 0.8.5. That means that Safari can see the plugin on the system, but the version should be 0.95.
I figure that the Silverlight Team is already all over this, so rather than solving the problem for them, I added:
agVersion = "0.95.0";
...around line 65 to force the issue. This got Silverlight loaded into memory, as seen in the Process Explorer screenshot below...
...but nothing showed up. Blank screen. No amount of windows jiggling or resizing (to force a paint) would get it going on my system.
UPDATE: Tim Heuer tried the same thing and says the Silverlight Team is on it and that Safari smells like Opera to Silverlight. He also says he was able to get a control to show while I was not.
If this browser is going to get some share (and it likely will with 1 million iTunes downloads a month - they'll likely bundle it virally) then Silverlight support is a must.
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.