зеркало из https://github.com/mozilla/gecko-dev.git
Bug 934062 - Move call to waitForExplicitFinish to avoid race condition r=sstamm
This commit is contained in:
Родитель
9adc997804
Коммит
6615e709d1
|
@ -12,10 +12,11 @@
|
|||
<body>
|
||||
<iframe style="width:200px;height:200px;" id='testframe'></iframe>
|
||||
<script class="testbody" type="text/javascript">
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
SpecialPowers.pushPrefEnv(
|
||||
{'set':[["security.csp.speccompliant", true]]},
|
||||
function() {
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
function () {
|
||||
var testframe = document.getElementById('testframe');
|
||||
testframe.src = 'file_policyuri_regression_from_multipolicy.html';
|
||||
testframe.addEventListener('load', function checkInlineScriptExecuted () {
|
||||
|
|
Загрузка…
Ссылка в новой задаче