|
@@ -26,7 +26,7 @@
|
|
|
|
|
|
|
|
const FEATURE_TESTS = {};
|
|
const FEATURE_TESTS = {};
|
|
|
|
|
|
|
|
- if (isChrome && !this.browser) {
|
|
|
|
|
|
|
+ if (isChrome && !this.browser && this.chrome) {
|
|
|
const nativeAPI = this.chrome;
|
|
const nativeAPI = this.chrome;
|
|
|
this.__defineGetter__("browser", () => ({
|
|
this.__defineGetter__("browser", () => ({
|
|
|
browserAction: {
|
|
browserAction: {
|