summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/UserAgentUpdates.jsm
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-22 20:10:23 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-22 20:10:23 -0500
commitbdad2357a1f0d2aca7f1106f3195d1fd929dc1d1 (patch)
tree2166aa86e8378b6973e9ebc95b748ad9c632abb1 /netwerk/protocol/http/UserAgentUpdates.jsm
parent881c1e5f180c537b003b891dce7d7f114800ff3e (diff)
downloadUXP-bdad2357a1f0d2aca7f1106f3195d1fd929dc1d1.tar
UXP-bdad2357a1f0d2aca7f1106f3195d1fd929dc1d1.tar.gz
UXP-bdad2357a1f0d2aca7f1106f3195d1fd929dc1d1.tar.lz
UXP-bdad2357a1f0d2aca7f1106f3195d1fd929dc1d1.tar.xz
UXP-bdad2357a1f0d2aca7f1106f3195d1fd929dc1d1.zip
Issue #1053 - Remove android support from netwerk
Diffstat (limited to 'netwerk/protocol/http/UserAgentUpdates.jsm')
-rw-r--r--netwerk/protocol/http/UserAgentUpdates.jsm7
1 files changed, 1 insertions, 6 deletions
diff --git a/netwerk/protocol/http/UserAgentUpdates.jsm b/netwerk/protocol/http/UserAgentUpdates.jsm
index ab88ffd40..4b3ae574a 100644
--- a/netwerk/protocol/http/UserAgentUpdates.jsm
+++ b/netwerk/protocol/http/UserAgentUpdates.jsm
@@ -143,14 +143,9 @@ this.UserAgentUpdates = {
// try to load next one if the previous load failed
return prevLoad ? prevLoad.then(null, tryNext) : tryNext();
}, null).then(null, (ex) => {
-#ifdef MOZ_WIDGET_ANDROID
- // Make one last attempt to read from the Fennec APK root.
- return readChannel("resource://android/" + FILE_UPDATES);
-#else
- // All previous (non-Android) load attempts have failed, so we bail.
+ // All previous load attempts have failed, so we bail.
throw new Error("UserAgentUpdates: Failed to load " + FILE_UPDATES +
ex + "\n" + ex.stack);
-#endif
}).then((update) => {
// Apply update if loading was successful
this._applyUpdate(update);