我的网站始终使 Safari(桌面和 iOS)崩溃 [英] My website crashes Safari (both desktop and iOS) consistently

查看:17
本文介绍了我的网站始终使 Safari(桌面和 iOS)崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站 http://remotejobs.io 始终使 Safari 崩溃.昨晚我在 Verizon 商店时第一次注意到崩溃,我尝试在 iPad 上测试该网站的浏览器.所以我在同一家商店又尝试了 2 台 iPad,每次我尝试访问该域时,该网站都会在所有 3 台设备上崩溃 iOS Safari.

My website http://remotejobs.io crashes Safari consistently. I first noticed the crash last night when I was at a Verizon store and I tried browser testing the site on an iPad. So I tried 2 more iPads at the same store, and the site crashed iOS Safari on all 3 devies, every single time I tried to hit the domain.

具体的工作流程是:

  1. 打开 Safari
  2. 输入 http://remotejobs.io

就是这样.一旦你点击 Go,网站就会崩溃.

That's it. As soon as you hit go the site crashes.

这也发生在桌面 Safari 上(仅在 OSX 10.8.3 的 6.0.3 中测试),并且每次都会生成错误报告.这是生成的错误报告之一的副本:http://go.jag.is/OGcS

This also happens on desktop Safari (tested in 6.0.3 on OSX 10.8.3 only), and produces an error report every time. Here's a copy of one of the error reports generated: http://go.jag.is/OGcS

该网站没有抛出任何 JS 错误,并且在我测试过的其他现代浏览器上运行良好,包括 Chrome、Firefox 甚至 IE9(令人震惊).

The site is not throwing any JS errors, and works fine on other modern browsers that I have tested, including Chrome, Firefox, and even IE9 (shockingly enough).

不过,奇怪的是,它似乎只会在 iPad 上崩溃 iOS Safari,而不是 iPhone,因为我每次都能在 iPhone 上成功加载该网站.

One strange thing though, is that it only seems to crash iOS Safari on iPads, not iPhones, as I can successfully load the site on my iPhone every time.

究竟是什么原因造成的,我该如何调试它?

What on earth could be causing this, and how do I debug it?

更新: 我尝试注释掉主样式表,并且网站不再在没有该样式表的情况下使 Safari 崩溃.我尝试了常规样式表和缩小样式表,都导致浏览器崩溃.

更新 2: 我通过注释掉 JS 并保留 CSS 将其缩小到 CSS,但它仍然崩溃.然后我尝试删除所有转换属性,它不再崩溃.显然,转换属性导致了崩溃.

推荐答案

您的网站似乎没有在 Windows 7 上导致 Safari 5.1 崩溃.要调试导致问题的原因,首先关闭 CSS,然后一一关闭禁用 JS 文件,直到网站停止崩溃.一旦你弄清楚它是哪个 CSS 文件或 JS 文件,然后发布一个指向该文件的链接,我会看看我是否能提供帮助!

Your website does not seem to crash Safari 5.1 on Windows 7. To go about debugging what's causing the issue, start by turning off the CSS, then one by one disable JS files until the website stops crashing. Once you've figured out which CSS file or JS file it is, then post a link to the file and I'll see if I can help!

这篇关于我的网站始终使 Safari(桌面和 iOS)崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆