mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
9ca9d9aa74
- Bug 1218999 - Update mtimes when building a GENERATED_FILES target, even when contents don't change. r=glandium (53e8658ae) - partial of Bug 927388 - Produce and upload GeckoView AAR during packaging. (5b9f2edb1) - Bug 927388 - Follow-up: fix bustage on a CLOSED TREE. (5deab1ae5) - part of Bug 1174757 - Pre: Don't archive geckoview resources when not necessary (41da631ef) - goanna->gecko (d2f6f223e) - goanna->gecko (af5de4b01) - reapply Bug 927388 - Produce and upload GeckoView AAR (2f33b51b4) - Bug 1189459 - Allow generating geckoview AAR files when MOZ_APP_NAME is not 'fennec'. r=gps (dad480948) - Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly (ed3c653ce)
46 lines
1.1 KiB
HTML
46 lines
1.1 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=675121
|
|
-->
|
|
<head>
|
|
<title>Test for Bug 675121</title>
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
</head>
|
|
<body>
|
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=675121">Mozilla Bug 675121</a>
|
|
<p id="display"></p>
|
|
<div id="content" style="display: none">
|
|
|
|
</div>
|
|
<pre id="test">
|
|
<script type="application/javascript">
|
|
|
|
/** Test for Bug 675121 **/
|
|
var callbackFired = false;
|
|
var xhrInProgress = false;
|
|
function f() {
|
|
callbackFired = true;
|
|
if (!xhrInProgress) {
|
|
SimpleTest.finish();
|
|
}
|
|
}
|
|
|
|
window.requestAnimationFrame(f);
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.open("GET", "file_bug675121.sjs", false);
|
|
xhrInProgress = true;
|
|
xhr.send();
|
|
xhrInProgress = false;
|
|
is(xhr.responseText, "Responded", "Should have a response by now");
|
|
is(callbackFired, false, "Callback should not fire during sync XHR");
|
|
|
|
if (!callbackFired) {
|
|
SimpleTest.waitForExplicitFinish();
|
|
}
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|