Commit 9995253e authored by Dave Vandyke's avatar Dave Vandyke 🐈

Refs #25 - Focus the options page correctly on Edge

parent 04373a33
Pipeline #69053308 failed with stages
in 16 minutes and 22 seconds
......@@ -149,7 +149,13 @@ function focusOptionsPage(tab)
let focusTab = () => browser.tabs.update(, {active: true});
if ("windows" in browser)
return, {focused: true}).then(focusTab);
return, {focused: true})
// Edge 44 seems to throw an exception when is
// called, despite it working correctly.
// Firefox for Android before version 57 does not support
// runtime.openOptionsPage, nor does it support the windows API.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment