Javascript Google Chrome-使用iframe和youtube时在windows下崩溃,但在Linux中不会崩溃相同的代码

Javascript Google Chrome-使用iframe和youtube时在windows下崩溃,但在Linux中不会崩溃相同的代码,javascript,google-chrome,iframe,crash,window,Javascript,Google Chrome,Iframe,Crash,Window,同样的代码,同样的谷歌浏览器版本。 在Linux下,Google Chrome正在工作,但在Windows下,Google Chrome崩溃了。用30台Windows PC测试全部崩溃,用10台Linux PC测试全部使用相同的代码 如何修复它 <div id="video_window" class="video_window" style=" "> <div style="font-size: 18px;color:white;text-align:

同样的代码,同样的谷歌浏览器版本。 在Linux下,Google Chrome正在工作,但在Windows下,Google Chrome崩溃了。用30台Windows PC测试全部崩溃,用10台Linux PC测试全部使用相同的代码

如何修复它

<div id="video_window" class="video_window" style="
     ">  
    <div style="font-size: 18px;color:white;text-align: right;
         padding-right: 5px; 
         padding-top:2px;
         font-weight: bold;cursor: pointer;">X</div>

    <iframe id="video_one" class="video_frame" style="z-index: 0;" width="800" height="600" 
            src="http://www.youtube.com/embed/asdfasfdsf-Q?rel=0" 
            frameborder="0" allowfullscreen></iframe>

    <iframe id="video_two"  class="video_frame" style="z-index: 0;" width="800" height="600" 
            src="http://www.youtube.com/embed/asdfafasfdsf?rel=0" 
            frameborder="0" allowfullscreen></iframe>



</div>


X

正如您所看到的,在Windows 8下运行的我的“Chrome版本35.0.1916.114”中使用了相同的代码块。 也许是别的什么地方出了问题

<div id="video_window" class="video_window" style="">  
<div style="font-size: 18px;color:white;text-align: right;
     padding-right: 5px; 
     padding-top:2px;
     font-weight: bold;cursor: pointer;">X</div>

<iframe id="video_one" class="video_frame" style="z-index: 0;" width="800" height="600" 
        src="https://www.youtube.com/embed/-hffP2vr1Jk" 
        frameborder="0" allowfullscreen></iframe>

<iframe id="video_two"  class="video_frame" style="z-index: 0;" width="800" height="600" 
        src="https://www.youtube.com/embed/RNOM8ei08pc" 
        frameborder="0" allowfullscreen>
</iframe>
</div>

X
输出:


开始消除一些东西。将iframe URL更改为不使用flash的内容(例如,普通静态html页面),并跟踪导致崩溃的原因。删除一个iframe,交换它们的顺序,等等…当我使用版本:33.0.1750.146时是Linux,当我使用版本34时是Windows工作,这是它的原因。所以它们不是相同的版本…当你建议我跟踪所有内容时,我只是更改了它。因此,我做的第一件事是将版本切换到较低版本,然后立即发现问题。在Linux、Mac和Windows.FYI中,版本33可以工作,但34崩溃-Linux版本34.0.1847.132可以工作,Windows版本:34.0.1847.131 m崩溃