Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
t=[];p.onsuccess=function(x){null==x.target.result?c(t):(t.push(x.target.result.value),x.target.result.continue())};p.onerror=e}catch(x){null!=e&&e(x)}}),e)};EditorUi.prototype.getDatabaseItemKeys=function(c,e,k){this.openDatabase(mxUtils.bind(this,function(q){try{k=k||"objects";var p=q.transaction([k],"readonly").objectStore(k).getAllKeys();p.onsuccess=function(){c(p.result)};p.onerror=e}catch(t){null!=e&&e(t)}}),e)};EditorUi.prototype.commentsSupported=function(){var c=this.getCurrentFile();return null!=