| Index: lib/prefs.js |
| =================================================================== |
| --- a/lib/prefs.js |
| +++ b/lib/prefs.js |
| @@ -274,7 +274,7 @@ |
| let managedLoaded = new Promise(resolve => |
| { |
| - if (require("info").platform == "chromium" && "managed" in chrome.storage) |
| + if (typeof chrome == "object" && "managed" in chrome.storage) |
|
Sebastian Noack
2017/06/07 14:42:14
Won't typeof chrome == "object" always evaluate to
kzar
2017/06/08 10:50:27
I thought so too, but maybe we're missing somethin
Sebastian Noack
2017/06/08 10:59:19
Most likely, when this change was intially authore
kzar
2017/06/08 11:37:43
Yea, that's true. Just thought I'd mention it sinc
Oleksandr
2017/06/14 03:41:01
Yes. This was for issue #3705. It doesn't look lik
Sebastian Noack
2017/06/14 05:13:38
Yeah, please remove the platform check, so that sh
|
| { |
| chrome.storage.managed.get(null, items => |
| { |