summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ceee/firefox/content/overlay.js1
-rw-r--r--ceee/firefox/content/window_api.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/ceee/firefox/content/overlay.js b/ceee/firefox/content/overlay.js
index 7b94b5e..9931566 100644
--- a/ceee/firefox/content/overlay.js
+++ b/ceee/firefox/content/overlay.js
@@ -828,7 +828,6 @@ CEEE_Class.prototype.onCfMessage_ = function(evt, target) {
this.logError('onCfMessage_: exception thrown by handler cmd=' + cmd +
' err=' + ex);
err = ex.message;
- value = null;
}
} else {
this.logError('onCfMessage_: dispatch entry is not a function');
diff --git a/ceee/firefox/content/window_api.js b/ceee/firefox/content/window_api.js
index ac13f8b..9018d82 100644
--- a/ceee/firefox/content/window_api.js
+++ b/ceee/firefox/content/window_api.js
@@ -149,6 +149,9 @@ CEEE_window_internal_.getCurrentWindow_ = function(cmd, data) {
if (win)
return this.buildWindowValue(win);
}
+
+ throw(new Error(CEEE_window_internal_.CMD_GET_CURRENT_WINDOW +
+ ': invalid context'));
};
CEEE_window_internal_.CMD_GET_LAST_FOCUSED_WINDOW =