mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-27 13:28:42 +00:00
10f5941b9c
- Bug 1246051 - have MediaQueue<T>::Peek/PeekFront return a RefPtr<> to avoid dangling pointers per comment 0. r=gerald. (00f334efb1) - Bug 1264199: P1. Perform audio conversion in the MSDM taskqueue and ahead of use. r=kinetik (001936e3ea) - Bug 1267983 - include MediaQueue.h; r=jwwang (036107d765) - Bug 1264199: P0. Fix nsDequeue/MediaQueue methods constness. r=jwwang (9aa33dfcb5) - Bug 1264199: P0.1. Export SaferMultDiv method. r=gerald (0b7a35ae4d) - Bug 1264199: P2. Ensure the AudioStream only ever receive the same content format. r=kinetik (a180d09279) - Bug 1264199: P3. Attempt to minimize audio quality loss and unnecessary processing. r=kinetik (29d57b5a33) - Bug 1264199: P4. Add mono to stereo upmix to AudioConverter. r=rillian (49c029bd86) - Bug 1264199: P5. Perform all downmixing operations in DecodedAudioDataSink. r=kinetik (05a479f095) - Bug 1264199: P6. Drain resampler when changing format or reaching the end. r=kinetik (8639102a94) - Bug 1264199: P8. Handle potential resampling errors. r=kinetik (1267e4e73d) - Bug 1264199: P9. Include pending frames in HasUnplayedFrames calculation. r=jwwang (ce7097fc90)
63 lines
1.4 KiB
HTML
63 lines
1.4 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<script type="application/javascript" src="common_app.js"></script>
|
|
<script type="application/javascript" src="common_basic.js"></script>
|
|
<meta charset="utf-8">
|
|
</head>
|
|
<body>
|
|
<div id="container"></div>
|
|
<script type="application/javascript;version=1.7">
|
|
|
|
function test_sync_interface() {
|
|
ok("sync" in navigator, "navigator.sync should exist with permissions");
|
|
ok(!("syncManager" in navigator), "navigator.syncManager should not exist without permissions");
|
|
|
|
ok("register" in navigator.sync, "navigator.sync.register exists");
|
|
ok("unregister" in navigator.sync, "navigator.sync.unregister exists");
|
|
ok("registrations" in navigator.sync, "navigator.sync.registrations exists");
|
|
ok("registration" in navigator.sync, "navigator.sync.registration exists");
|
|
|
|
runTests();
|
|
}
|
|
|
|
var tests = [
|
|
test_sync_interface,
|
|
|
|
test_registrationsEmpty,
|
|
|
|
test_registerFailure,
|
|
test_register,
|
|
// overwrite the same registration.
|
|
test_register,
|
|
|
|
test_registrations,
|
|
|
|
test_registrationEmpty,
|
|
test_registration,
|
|
|
|
test_unregister,
|
|
test_unregisterDuplicate,
|
|
|
|
test_registrationsEmpty,
|
|
|
|
// Let's keep a registration active when the app is uninstall...
|
|
test_register,
|
|
test_registrations
|
|
];
|
|
|
|
function runTests() {
|
|
if (!tests.length) {
|
|
finish();
|
|
return;
|
|
}
|
|
|
|
var test = tests.shift();
|
|
test();
|
|
}
|
|
|
|
runTests();
|
|
</script>
|
|
</body>
|
|
</html>
|