/* * weinre is available under *either* the terms of the modified BSD license *or* the * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * * Copyright (c) 2011 IBM Corporation */ requireClass ../common/Weinre requireClass ../common/Native //----------------------------------------------------------------------------- class WiDOMStorageImpl //----------------------------------------------------------------------------- method getDOMStorageEntries(/*int*/ storageId, callback) var storageArea = _getStorageArea(storageId) if (!storageArea) { Weinre.logWarning(arguments.callee.signature + " passed an invalid storageId: " + storageId) return } var result = [] var length = storageArea.length for (var i=0; i