function commit(element, newValue)
        {
            commitCallback(initialValue, newValue);
            dispose.call(this);
        }
@param {!Element} element
@param {string} newValue
@this {WebInspector.ElementsTreeElement}