зеркало из https://github.com/mozilla/gecko-dev.git
Bug 720069 - Fix intermittent oranges in test_browserFrame{1,2,3}.html. r=philor
This commit is contained in:
Родитель
43aeca2f2a
Коммит
3fc976b0b4
|
@ -16,8 +16,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=710231
|
|||
mozbrowserX events.
|
||||
-->
|
||||
|
||||
<iframe id='iframe' onload='iframeLoad()'></iframe>
|
||||
|
||||
<script type="application/javascript;version=1.7">
|
||||
"use strict";
|
||||
|
||||
|
@ -29,17 +27,19 @@ function runTest() {
|
|||
ok(false, 'Should not send mozbrowserloadstart event.');
|
||||
});
|
||||
|
||||
iframe.addEventListener('load', function() {
|
||||
ok(true, 'Got iframe load event.');
|
||||
SimpleTest.finish();
|
||||
});
|
||||
|
||||
iframe.src = 'http://example.com';
|
||||
}
|
||||
|
||||
function iframeLoad() {
|
||||
ok(true, 'Got iframe load event.');
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
addEventListener('load', runTest());
|
||||
addEventListener('load', function() { SimpleTest.executeSoon(runTest); });
|
||||
|
||||
</script>
|
||||
|
||||
<iframe id='iframe'></iframe>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -17,8 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=710231
|
|||
mozbrowserX events when they're globally pref'ed off.
|
||||
-->
|
||||
|
||||
<iframe id='iframe' mozbrowser onload='iframeLoad()'></iframe>
|
||||
|
||||
<script type="application/javascript;version=1.7">
|
||||
"use strict";
|
||||
|
||||
|
@ -32,17 +30,19 @@ function runTest() {
|
|||
ok(false, 'Should not send mozbrowserloadstart event.');
|
||||
});
|
||||
|
||||
iframe.addEventListener('load', function() {
|
||||
ok(true, 'Got iframe load event.');
|
||||
SimpleTest.finish();
|
||||
});
|
||||
|
||||
iframe.src = 'http://example.com';
|
||||
}
|
||||
|
||||
function iframeLoad() {
|
||||
ok(true, 'Got iframe load event.');
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
addEventListener('load', runTest());
|
||||
addEventListener('load', function() { SimpleTest.executeSoon(runTest); });
|
||||
|
||||
</script>
|
||||
|
||||
<iframe id='iframe' mozbrowser></iframe>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -17,8 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=710231
|
|||
mozbrowserX events when this page is not in the whitelist.
|
||||
-->
|
||||
|
||||
<iframe id='iframe' mozbrowser onload='iframeLoad()'></iframe>
|
||||
|
||||
<script type="application/javascript;version=1.7">
|
||||
"use strict";
|
||||
|
||||
|
@ -33,17 +31,19 @@ function runTest() {
|
|||
ok(false, 'Should not send mozbrowserloadstart event.');
|
||||
});
|
||||
|
||||
iframe.addEventListener('load', function() {
|
||||
ok(true, 'Got iframe load event.');
|
||||
SimpleTest.finish();
|
||||
});
|
||||
|
||||
iframe.src = 'http://example.com';
|
||||
}
|
||||
|
||||
function iframeLoad() {
|
||||
ok(true, 'Got iframe load event.');
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
addEventListener('load', runTest());
|
||||
addEventListener('load', function() { SimpleTest.executeSoon(runTest); });
|
||||
|
||||
</script>
|
||||
|
||||
<iframe id='iframe' mozbrowser></iframe>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -17,8 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=710231
|
|||
mozbrowserX events when this page is in the whitelist.
|
||||
-->
|
||||
|
||||
<iframe id='iframe' mozbrowser></iframe>
|
||||
|
||||
<script type="application/javascript;version=1.7">
|
||||
"use strict";
|
||||
|
||||
|
@ -83,5 +81,7 @@ addEventListener('load', function() { SimpleTest.executeSoon(runTest); });
|
|||
|
||||
</script>
|
||||
|
||||
<iframe id='iframe' mozbrowser></iframe>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Загрузка…
Ссылка в новой задаче