mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-05-01 16:34:14 -04:00
FIX: Deprecation warnings on webkitIndexedDB
This commit is contained in:
parent
2c989f3eb3
commit
b250696e04
2 changed files with 2 additions and 2 deletions
|
@ -20611,7 +20611,7 @@ define("ember-runtime/system/namespace",
|
||||||
|
|
||||||
for (var prop in lookup) {
|
for (var prop in lookup) {
|
||||||
// These don't raise exceptions but can cause warnings
|
// These don't raise exceptions but can cause warnings
|
||||||
if (prop === "parent" || prop === "top" || prop === "frameElement" || prop === "webkitStorageInfo") { continue; }
|
if (prop === "parent" || prop === "top" || prop === "frameElement" || prop === "webkitStorageInfo" || prop === "webkitIndexedDB" ) { continue; }
|
||||||
|
|
||||||
// get(window.globalStorage, 'isNamespace') would try to read the storage for domain isNamespace and cause exception in Firefox.
|
// get(window.globalStorage, 'isNamespace') would try to read the storage for domain isNamespace and cause exception in Firefox.
|
||||||
// globalStorage is a storage obsoleted by the WhatWG storage specification. See https://developer.mozilla.org/en/DOM/Storage#globalStorage
|
// globalStorage is a storage obsoleted by the WhatWG storage specification. See https://developer.mozilla.org/en/DOM/Storage#globalStorage
|
||||||
|
|
|
@ -20360,7 +20360,7 @@ define("ember-runtime/system/namespace",
|
||||||
|
|
||||||
for (var prop in lookup) {
|
for (var prop in lookup) {
|
||||||
// These don't raise exceptions but can cause warnings
|
// These don't raise exceptions but can cause warnings
|
||||||
if (prop === "parent" || prop === "top" || prop === "frameElement" || prop === "webkitStorageInfo") { continue; }
|
if (prop === "parent" || prop === "top" || prop === "frameElement" || prop === "webkitStorageInfo" || prop === "webkitIndexedDB" ) { continue; }
|
||||||
|
|
||||||
// get(window.globalStorage, 'isNamespace') would try to read the storage for domain isNamespace and cause exception in Firefox.
|
// get(window.globalStorage, 'isNamespace') would try to read the storage for domain isNamespace and cause exception in Firefox.
|
||||||
// globalStorage is a storage obsoleted by the WhatWG storage specification. See https://developer.mozilla.org/en/DOM/Storage#globalStorage
|
// globalStorage is a storage obsoleted by the WhatWG storage specification. See https://developer.mozilla.org/en/DOM/Storage#globalStorage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue