如果我沒有 Mac 和 Safari,我將如何重現 Javascript 錯誤? (How am I going to reproduce Javascript bugs if I don't have a Mac & Safari?)


問題描述

如果我沒有 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 MichaelICEJohn MSimonBrad Ackermanzombat)

參考文件

  1. How am I going to reproduce Javascript bugs if I don't have a Mac & Safari? (CC BY-SA 3.0/4.0)

#safari #javascript #Testing #html #macos






相關問題

如何讓 <asp:menu> 在 Safari 中工作? (How can I get <asp:menu> working in Safari?)

jQuery 航點在 Safari 中不起作用 (jQuery waypoints not working in Safari)

iOS WebApp 不顯示啟動圖像 (iOS WebApp not showing startup image)

Jquery、Javascript 點擊菜單在 IE 和 Safari 上不起作用 (Jquery, Javascript click menu doesnt work on IE and Safari)

如果我沒有 Mac 和 Safari,我將如何重現 Javascript 錯誤? (How am I going to reproduce Javascript bugs if I don't have a Mac & Safari?)

Webkit 中的全局 Javascript 變量 (Global Javascript variables in Webkit)

Safari IndexOutOfRangeException (safari IndexOutOfRangeException)

Safari 2.0 中修改鍵的鍵盤事件 (Keyboard Events for Modifier Keys in Safari 2.0)

通過 HTML 在 Mobile Safari 上實現 UIPickerview (Implement UIPickerview on Mobile Safari via HTML)

Safari 的 jQuery 問題 (jQuery problem with Safari)

網頁上的音頻被截斷 (Audio cuts out on webpages)

當選項卡不活動時,保持 JS/jQuery 代碼在 Safari 中工作 (Keep the JS/jQuery code working in Safari when the tab is not active)







留言討論