rem: var browseView = panel.views.browse; 
context:     updateTableList: function()    {        var browseView = this.views.browse;        if (!browseView.tableSelectElement) {            browseView.tableSelectElement = document.createElement("select");            browseView.tableSelectElement.className = "database-table-select hidden";            var panel = this;            var changeTableFunction = function()            {                var browseView = panel.views.browse;                var index = browseView.tableSelectElement.selectedIndex;                if (index != -1)                    panel.currentTable = browseView.tableSelectElement.options[index].value;                else                    panel.currentTable = null;            };            browseView.tableSelectElement.addEventListener("change", changeTableFunction, false);        }        browseView.tableSelectElement.removeChildren();        var selectedTableName = this.currentTable;        var tableNames = InspectorController.databaseTableNames(this.resource.database).sort();        var length = tableNames.length;        for (var i = 0; i < length; ++i) {            var option = document.createElement("option");            option.value = tableNames[i];            option.text = tableNames[i];            browseView.tableSelectElement.appendChild(option);            if (tableNames[i] === selectedTableName)                browseView.tableSelectElement.selectedIndex = i;        }        if (!selectedTableName && length)            this.currentTable = tableNames[0];    },
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5650/30e07e565a3698c3faf103baaca79ee99b97c3f1/DatabasePanel.js/clean/WebCore/page/inspector/DatabasePanel.js