summaryrefslogtreecommitdiff
path: root/dom/push
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-03-10 14:26:15 +0000
committerMoonchild <moonchild@palemoon.org>2021-03-10 14:26:15 +0000
commitc2268033a8fa5cc342e8ab9b1fa4ed54c6d45e5c (patch)
tree799d482006b857b1f3e43f7bee564b1a3c37818b /dom/push
parent78a37c10452a8bb73d7ef4cfa837e1e613449a85 (diff)
downloaduxp-c2268033a8fa5cc342e8ab9b1fa4ed54c6d45e5c.tar.gz
Issue #1053 - Remove build system MOZ_ANDROID_* defines and related code.
Diffstat (limited to 'dom/push')
-rw-r--r--dom/push/PushRecord.jsm9
1 files changed, 0 insertions, 9 deletions
diff --git a/dom/push/PushRecord.jsm b/dom/push/PushRecord.jsm
index 58f808e6c2..b3aca57f0b 100644
--- a/dom/push/PushRecord.jsm
+++ b/dom/push/PushRecord.jsm
@@ -144,15 +144,6 @@ PushRecord.prototype = {
return Date.now();
}
-#ifdef MOZ_ANDROID_HISTORY
- let result = yield Messaging.sendRequestForResult({
- type: "History:GetPrePathLastVisitedTimeMilliseconds",
- prePath: this.uri.prePath,
- });
-
- return result == 0 ? -Infinity : result;
-#endif
-
// Places History transition types that can fire a
// `pushsubscriptionchange` event when the user visits a site with expired push
// registrations. Visits only count if the user sees the origin in the address