Index: metadata.common
===================================================================
--- a/metadata.common
+++ b/metadata.common
@@ -1,6 +1,7 @@
[general]
version = 1.12.4
-backgroundScripts = ext/common.js
+backgroundScripts = lib/polyfills/fetch.js
+ ext/common.js
ext/background.js
lib/compat.js
lib/info.js
Index: options.html
===================================================================
--- a/options.html
+++ b/options.html
@@ -23,6 +23,7 @@
+
Index: options.js
===================================================================
--- a/options.js
+++ b/options.js
@@ -56,7 +56,13 @@
message[paramKeys[i]] = arguments[i];
}
- ext.backgroundPage.sendMessage(message, callback);
+ // Edge 38.14393 silently fails when sendMessage is called with a callback
+ // parameter of null, so we work around that here.
+ // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8504730/
+ if (callback)
+ ext.backgroundPage.sendMessage(message, callback);
+ else
+ ext.backgroundPage.sendMessage(message);
};
}