[Data Manager] TypeError: invalid 'instanceof' operand Components.interfaces.nsIDOMStorageEvent

NEW
Unassigned

Status

SeaMonkey
Passwords & Permissions
4 years ago
3 years ago

People

(Reporter: Philip Chee, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

4 years ago
Fri Aug 01 2014 22:14:32
Error: TypeError: invalid 'instanceof' operand Components.interfaces.nsIDOMStorageEvent
Source file: chrome://communicator/content/dataman/dataman.js
Line: 2568

http://mxr.mozilla.org/comm-central/source/suite/common/dataman/dataman.js?rev=e92ff3b467a8&mark=2562-2568#2562

>   reactToChange: function storage_reactToChange(aSubject, aData) {
>     // aData: null (sessionStorage, localStorage) + nsIDOMStorageEvent in aSubject
>     //        --- for appCache and indexedDB, no change notifications are known!
>     //        --- because of that, we don't do anything here and instead use
>     //            reloadList periodically
>     let type;
>     if (aSubject instanceof Components.interfaces.nsIDOMStorageEvent) {

Bug 1014657 - Port DOMStorageEvent to WebIDL and remove nsIDOMStorageEvent
This removed the nsIDOMStorageEvent interface. I don't know what replaces it.

This might give some hints:
http://mxr.mozilla.org/comm-central/source/mozilla/toolkit/devtools/server/actors/storage.js
(Reporter)

Updated

4 years ago
Summary: TypeError: invalid 'instanceof' operand Components.interfaces.nsIDOMStorageEvent → [Data Manager] TypeError: invalid 'instanceof' operand Components.interfaces.nsIDOMStorageEvent
You need to log in before you can comment on or make changes to this bug.