本文介绍了如何在iOS 6.1上重现网站崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到了一个错误报告,当我在iOS 6.1上查看时,此网站崩溃了,尽管我猜这是iOS 6.1随附的浏览器版本比操作系统本身更重要.我没有任何iOS设备,因此不确定如何重现/调查该问题.

I received a bug report that this website crashes when viewed on iOS 6.1, though I guess it's the browser version that comes with iOS 6.1 that's more relevant than the OS itself. I don't own any iOS devices, so I'm not sure how I can reproduce/investigate the issue.

有人对我如何在Windows/Ubunutu上重现此问题有建议吗?我尝试了 http://www.browserstack.com/,但是他们提供的最新版本是iOS 6.0.

Does anyone have a suggestion for how I might reproduce this issue on Windows/Ubunutu? I tried http://www.browserstack.com/ but the latest version they offer is iOS 6.0.

万一有人知道为什么发生崩溃,这种情况不太可能发生,请告诉我.主页上有一个嵌入式YouTube视频,我听说Flash和iOS令人不安,所以我想知道这是否可能是原因吗?

In the unlikely event that anyone has an idea why the crash is happening, please let me know. There is an embedded YouTube video on the homepage, and I've heard that flash and iOS are uneasy bedfellows, so I'm wondering if this could be the cause?

推荐答案

问题是由下面注释掉的CSS属性引起的

The problem was caused by the commented-out CSS properties below

html {
  background: url(../images/responsive/bg.svg) no-repeat center center fixed;

/*
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
*/

  outline: 0!important;
}

删除这些属性后,该问题不再发生

After removing these properties, the problem no longer occurs

这篇关于如何在iOS 6.1上重现网站崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 08:28