Bug 842017 - Remove broken support for displaying window.status / window.defaultStatus. r=felipe

--HG--
extra : rebase_source : f42a587f1463a04198ed456adc65511b5f1ce319
This commit is contained in:
Dão Gottwald 2013-02-18 22:01:21 +01:00
parent 54e53bc513
commit 5714449c17

View File

@ -4017,8 +4017,6 @@ var XULBrowserWindow = {
// Stored Status, Link and Loading values
status: "",
defaultStatus: "",
jsStatus: "",
jsDefaultStatus: "",
overLink: "",
startTime: 0,
statusText: "",
@ -4076,14 +4074,12 @@ var XULBrowserWindow = {
delete this.statusText;
},
setJSStatus: function (status) {
this.jsStatus = status;
this.updateStatusField();
setJSStatus: function () {
// unsupported
},
setJSDefaultStatus: function (status) {
this.jsDefaultStatus = status;
this.updateStatusField();
setJSDefaultStatus: function () {
// unsupported
},
setDefaultStatus: function (status) {
@ -4108,7 +4104,7 @@ var XULBrowserWindow = {
var text, type, types = ["overLink"];
if (this._busyUI)
types.push("status");
types.push("jsStatus", "jsDefaultStatus", "defaultStatus");
types.push("defaultStatus");
for (type of types) {
text = this[type];
if (text)