問題描述
如果我沒有 Mac 和 Safari,我將如何重現 Javascript 錯誤? (How am I going to reproduce Javascript bugs if I don't have a Mac & Safari?)
Simple question... How am I going to reproduce Javascript bugs if I don't have a Mac & Safari? Is it possible to run a legit copy of Mac OS on VMWare, or even better...run Safari in Windows?
參考解法
方法 1:
Apple had a windows download for safari, but it's long-gone.
This is long out-of-date. Can't delete this accepted answer. :-(
方法 2:
or even better...run Safari in Windows?
Sure: http://www.apple.com/safari/
方法 3:
I expect that any JS bug will be repeatable in the Windows version of Safari as well. However, for completeness, there are several services that allow you to view your web page in a metric boatload of browsers on OS X, Linux, and Windows, e.g. litmusapp.com. In this case, your question suggests that you may need more than a screenshot -- browsrcamp.com has a service which allows you to remote into a Mac and use a web browser interactively.
(Grain of salt: I haven't used any of these services myself.)
方法 4:
This is an extremely odd question. Javascript can have bugs on any platform. Why not download Safari for Windows, or use Firefox combined with Firebug?
(by MichaelICE、John M、Simon、Brad Ackerman、zombat)