summaryrefslogtreecommitdiff
path: root/dom/workers
diff options
context:
space:
mode:
Diffstat (limited to 'dom/workers')
-rw-r--r--dom/workers/WorkerPrivate.cpp9
-rw-r--r--dom/workers/WorkerScope.cpp7
2 files changed, 0 insertions, 16 deletions
diff --git a/dom/workers/WorkerPrivate.cpp b/dom/workers/WorkerPrivate.cpp
index 1f8b3b70c4..f33ded1c5f 100644
--- a/dom/workers/WorkerPrivate.cpp
+++ b/dom/workers/WorkerPrivate.cpp
@@ -91,10 +91,6 @@
#include "prthread.h"
#include "xpcpublic.h"
-#ifdef ANDROID
-#include <android/log.h>
-#endif
-
#ifdef DEBUG
#include "nsThreadManager.h"
#endif
@@ -334,11 +330,6 @@ LogErrorToConsole(const WorkerErrorReport& aReport, uint64_t aInnerWindowId)
static const char kErrorString[] = "JS error in Web Worker: %s [%s:%u]";
-#ifdef ANDROID
- __android_log_print(ANDROID_LOG_INFO, "Gecko", kErrorString, msg.get(),
- filename.get(), aReport.mLineNumber);
-#endif
-
fprintf(stderr, kErrorString, msg.get(), filename.get(), aReport.mLineNumber);
fflush(stderr);
}
diff --git a/dom/workers/WorkerScope.cpp b/dom/workers/WorkerScope.cpp
index 195df5c9eb..081f0f1065 100644
--- a/dom/workers/WorkerScope.cpp
+++ b/dom/workers/WorkerScope.cpp
@@ -33,10 +33,6 @@
#include "nsIServiceWorkerManager.h"
#include "nsIScriptTimeoutHandler.h"
-#ifdef ANDROID
-#include <android/log.h>
-#endif
-
#include "Crypto.h"
#include "Principal.h"
#include "RuntimeService.h"
@@ -378,9 +374,6 @@ WorkerGlobalScope::Dump(const Optional<nsAString>& aString) const
NS_ConvertUTF16toUTF8 str(aString.Value());
MOZ_LOG(nsContentUtils::DOMDumpLog(), LogLevel::Debug, ("[Worker.Dump] %s", str.get()));
-#ifdef ANDROID
- __android_log_print(ANDROID_LOG_INFO, "Gecko", "%s", str.get());
-#endif
fputs(str.get(), stdout);
fflush(stdout);
}