summaryrefslogtreecommitdiff
path: root/dom/base/Navigator.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-02-20 22:00:59 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-22 13:58:16 +0000
commit5aa65d2aeab36ea8de8129c0babcf70a5e4e662a (patch)
tree36ed652ffb09104d8a10c01261b851329f34882f /dom/base/Navigator.cpp
parent712ca7303b0835772f8abca85ebec981e254a017 (diff)
downloaduxp-5aa65d2aeab36ea8de8129c0babcf70a5e4e662a.tar.gz
Issue #1877 - Resolve NIGHTLY_BUILD conditionals.
Diffstat (limited to 'dom/base/Navigator.cpp')
-rw-r--r--dom/base/Navigator.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/dom/base/Navigator.cpp b/dom/base/Navigator.cpp
index 5ad763af76..3972abc688 100644
--- a/dom/base/Navigator.cpp
+++ b/dom/base/Navigator.cpp
@@ -1346,14 +1346,9 @@ Navigator::HasUserMediaSupport(JSContext* /* unused */,
bool
Navigator::IsE10sEnabled(JSContext* aCx, JSObject* aGlobal)
{
- return XRE_IsContentProcess();
-}
-
-bool
-Navigator::MozE10sEnabled()
-{
- // This will only be called if IsE10sEnabled() is true.
- return true;
+ // We no longer support this, so always false.
+ // TODO: Remove this.
+ return false;
}
/* static */