aboutsummaryrefslogtreecommitdiffstats
path: root/js/vapi-common.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vapi-common.js')
-rw-r--r--js/vapi-common.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/vapi-common.js b/js/vapi-common.js
index 6946a9c..f1bc2ca 100644
--- a/js/vapi-common.js
+++ b/js/vapi-common.js
@@ -39,8 +39,10 @@ const {Services} = Components.utils.import(
);
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
-if ( self.vAPI === undefined || self.vAPI.eMatrix !== true ) {
- self.vAPI = { eMatrix: true };
+// eMatrix: does this apply to us?
+// In the meantime, let's remove the useless `eMatrix' property from vAPI
+if (self.vAPI === undefined) {
+ self.vAPI = {};
}
var vAPI = self.vAPI;