mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-29 18:18:27 +00:00
2a3dd7f84c
- Bug 1139453 - Send network UP/DOWN events on desktop Linux. (7466c1298) - Bug 1141488 - On non-APZ platforms, combine any async transform with the OMTA transform rather than clobbering it the OMTA transform. (fe48d6774) - Bug 1080752 - Hold wakelock when attempting to connect to push server. (b1e74295f) - Bug 1126089 - Allow messages to be sent after frame script unload event. (167ebbd9a) - Bug 1126089 - Add test for pageload event on browser element when tab closed (f2011e6e4) - Bug 1090921 - Logging to see which tasks remain alive too long (ebfc3c9bd) - Bug 1142544 - delete now-unnecessary |extern "C++"| block from nsISupportsUtils.h; r=mccr8 (07e6572f8) - Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan (b13219054) - Bug 1140161 - Sensibly handle patterns with absolute paths in TEST_HARNESS_FILES. (173e369a7) - Bug 1082510 - When we detect a chrome popup at the current event coordinates and remote content has the mouse captured, release capture. r=Enn (da9fe26a7) - Bug 1137722 - Ensure that system message cache is refreshed before openapp. r=fabrice (97dc41f50) - Bug 1139904 - Add initial test runtime files for mochitest browser-chrome and devtools (9837c79b1) - Bug 1061604 part.1 nsTextStore::GetTextExt() should rReturn previous character rect instead of TS_E_NOLAYOUT when Google Japanese Input retrieves first character of selected clause at composing r=emk (54779d30e) - Bug 1061604 part.2 nsTextStore::GetTextExt() should rReturn previous character rect of modified range instead of TS_E_NOLAYOUT when Google Japanese Input retrieves caret rect during composition r=emk (ba7f93879) - Bug 1136051 - component_insert_pair statrs checks only while we are still checking or haven't started pairing; (ae1ae1d4f) - Bug 1137007 - Detect namespace and SECCOMP_FILTER_FLAG_TSYNC support in SandboxInfo. r=kang, r=Unfocused (6d9e32a8f) - Bug 1142263 - Specify all syscall parameters when doing CLONE_NEWUSER detection; f=bwc r=kang (8bcba1831) - Bug 1142567 - Remove FAIL_ON_WARNINGS_DEBUG; It is not used. (bf22f1ccf) - No bug - Add an explanatory message to the multiple-inheritance assertion in DOM bindings; # (ffd94ef07) - Bug 1141252. Don't mark the TablePainter display item as having background-attachment:fixed content if the background-attachment:fixed image will be painted by a dedicated nsDisplayTableCellBackground. r=mats (98287b37c) - Bug 1140084 - delete list of script counts in tail-recursive fashion. (90a2b7c45) - Bug 1048741 - [WebGL2] texParameter: Fix silly bug in TEXTURE_COMPARE_FUNC handling. (ccc90dae3) - Bug 1142478. Fix integer attribute parsing to not lose track of leading zeroes. (d596a1ce1) - Bug 1139388 - Remove superfluous locking in the OS X profiler implementation to fix deadlock. (r=mstange) (a13088958) - Bug 1128603: Remove findReferences and the tests that use it. (bccc64734) - Bug 1140683: Fix async plugin init using null plugin funcs on MacOSX (47b591d54) - Bug 1142494 - Fix OSX packaging mistake. (15555f4ee) - Bug 1136784 - Add screenshot to LogShake produced data. (7ff264243) - Bug 1142550 - Fix screenshot. (d684b6469) - Bug 1142006 - Set MACOSX_DEPLOYMENT_TARGET earlier. r=mshal (c333b954e) - Bug 1100966 - Remember all ranges for all selections when joining nodes in the editor transactions; r=roc (bf34bd0c8) - Bug 1136507 - L8, LA8, and A8 should not be renderable. (96e807795) - Bug 1128019 - Init SCISSOR_BOX with initial width and height. (7258cc44c) - Bug 1142211 - Add layerization testing mechanisms to reftest. r=roc (4c6aa11f8) - Bug 1106905 - Modify mobile desktop mode implementation to use a desktop viewport. (644ede0e7) - Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow (c520a8c98) - Bug 1141563 - Don't update Shapes in parallel after compacting GC (098af79c9)
61 lines
1.6 KiB
JavaScript
61 lines
1.6 KiB
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
|
|
/**
|
|
* Test that LogCapture successfully reads from the /dev/log devices, returning
|
|
* a Uint8Array of some length, including zero. This tests a few standard
|
|
* log devices
|
|
*/
|
|
function run_test() {
|
|
Components.utils.import("resource:///modules/LogCapture.jsm");
|
|
run_next_test();
|
|
}
|
|
|
|
function verifyLog(log) {
|
|
// log exists
|
|
notEqual(log, null);
|
|
// log has a length and it is non-negative (is probably array-like)
|
|
ok(log.length >= 0);
|
|
}
|
|
|
|
add_test(function test_readLogFile() {
|
|
let mainLog = LogCapture.readLogFile("/dev/log/main");
|
|
verifyLog(mainLog);
|
|
|
|
let meminfoLog = LogCapture.readLogFile("/proc/meminfo");
|
|
verifyLog(meminfoLog);
|
|
|
|
run_next_test();
|
|
});
|
|
|
|
add_test(function test_readProperties() {
|
|
let propertiesLog = LogCapture.readProperties();
|
|
notEqual(propertiesLog, null, "Properties should not be null");
|
|
notEqual(propertiesLog, undefined, "Properties should not be undefined");
|
|
equal(propertiesLog["ro.kernel.qemu"], "1", "QEMU property should be 1");
|
|
|
|
run_next_test();
|
|
});
|
|
|
|
add_test(function test_readAppIni() {
|
|
let appIni = LogCapture.readLogFile("/system/b2g/application.ini");
|
|
verifyLog(appIni);
|
|
|
|
run_next_test();
|
|
});
|
|
|
|
add_test(function test_get_about_memory() {
|
|
let memLog = LogCapture.readAboutMemory();
|
|
|
|
ok(memLog, "Should have returned a valid Promise object");
|
|
|
|
memLog.then(file => {
|
|
ok(file, "Should have returned a filename");
|
|
run_next_test();
|
|
}, error => {
|
|
ok(false, "Dumping about:memory promise rejected: " + error);
|
|
run_next_test();
|
|
});
|
|
});
|