Bug 922919: Add logging to detect "Intermittent test_BackgroundLRU.html | Test timed out". r=khuey

This commit is contained in:
Alan Huang 2013-11-07 11:14:27 +08:00
parent 8de499b562
commit f43546ed61
2 changed files with 3 additions and 1 deletions

View File

@ -205,8 +205,10 @@ function expectPriorityWithBackgroundLRUSet(childID, expectedBackgroundLRU) {
'process-priority-with-background-LRU-set',
function(subject, topic, data) {
dump("browserElementTestHelpers got notify: topic "+ topic + ", data " + data +"\n");
[id, priority, cpuPriority, backgroundLRU] = data.split(":");
if (id != childID) {
dump("id(" + id + ") != childID(" + childID + ")\n");
return;
}

View File

@ -43,7 +43,7 @@
//
// (Wow, our logging story is a huge mess.)
// #define ENABLE_LOGGING 1
#define ENABLE_LOGGING 1
#if defined(ANDROID) && defined(ENABLE_LOGGING)
# include <android/log.h>