FIX: Deprecation warnings on `webkitIndexedDB`

This commit is contained in:
Robin Ward 2014-10-15 15:46:23 -04:00
parent 2c989f3eb3
commit b250696e04
2 changed files with 2 additions and 2 deletions

View File

@ -20611,7 +20611,7 @@ define("ember-runtime/system/namespace",
for (var prop in lookup) {
// 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.
// globalStorage is a storage obsoleted by the WhatWG storage specification. See https://developer.mozilla.org/en/DOM/Storage#globalStorage

View File

@ -20360,7 +20360,7 @@ define("ember-runtime/system/namespace",
for (var prop in lookup) {
// 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.
// globalStorage is a storage obsoleted by the WhatWG storage specification. See https://developer.mozilla.org/en/DOM/Storage#globalStorage