diff --git a/browser/devtools/styleeditor/StyleEditorUI.jsm b/browser/devtools/styleeditor/StyleEditorUI.jsm index 0181d464fd5d..c18e4622c9e2 100644 --- a/browser/devtools/styleeditor/StyleEditorUI.jsm +++ b/browser/devtools/styleeditor/StyleEditorUI.jsm @@ -238,7 +238,7 @@ StyleEditorUI.prototype = { { let onFileSelected = function(file) { if (!file) { - this.emit("error", LOAD_ERROR); + // nothing selected return; } NetUtil.asyncFetch(file, (stream, status) => {