diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index e8a8d28..d257f26 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -195,6 +195,9 @@ vAPI.storage = { var key, values = [], placeholders = []; for ( key in details ) { + if ( !details.hasOwnProperty(key) ) { + continue; + } values.push(key); values.push(JSON.stringify(details[key])); placeholders.push('?, ?');