(dbName)
| 405 | } |
| 406 | |
| 407 | notifyLocalWindows(dbName) { |
| 408 | //do a useless change on a storage thing |
| 409 | //in order to get other windows's listeners to activate |
| 410 | if (hasLocalStorage()) { |
| 411 | localStorage[dbName] = (localStorage[dbName] === "a") ? "b" : "a"; |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | notify(dbName) { |
| 416 | this.emit(dbName); |
no test coverage detected