mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Back out bug 476731 in commit id 364777bc90b5 due to reftest failures
This commit is contained in:
commit
12ad27a63d
@ -8375,7 +8375,7 @@ fi # COMPILE_ENVIRONMENT && !LIBXUL_SDK_DIR
|
||||
|
||||
dnl Prevent the regeneration of autoconf.mk forcing rebuilds of the world
|
||||
dnl Needs to be at the end to respect possible changes from NSPR configure
|
||||
if cmp -b config/autoconf.mk config/autoconf.mk.orig; then
|
||||
if cmp -s config/autoconf.mk config/autoconf.mk.orig; then
|
||||
echo "config/autoconf.mk is unchanged"
|
||||
mv -f config/autoconf.mk.orig config/autoconf.mk 2> /dev/null
|
||||
else
|
||||
|
@ -127,7 +127,7 @@ nsresult nsChannelToPipeListener::OnStartRequest(nsIRequest* aRequest, nsISuppor
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
float duration = durationText.ToFloat(&ec);
|
||||
if (ec == NS_OK && duration >= 0) {
|
||||
mDecoder->SetDuration(PRInt64(duration*1000));
|
||||
mDecoder->SetDuration(PRInt64(NS_round(duration*1000)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
function on_metadataloaded() {
|
||||
var v = document.getElementById('v');
|
||||
var d = Math.round(v.duration*1000);
|
||||
ok(d == 232, "Checking duration: " + d);
|
||||
ok(d == 233, "Checking duration: " + d);
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
function on_metadataloaded() {
|
||||
var v = document.getElementById('v');
|
||||
var d = Math.round(v.duration*1000);
|
||||
ok(d == 232, "Checking duration: " + d);
|
||||
ok(d == 233, "Checking duration: " + d);
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user