Bug 1165890 - change warning for 'leaking' window properties, r=ted

--HG--
extra : rebase_source : 5b5cdcdf01c07114f16207c19ac21d5268dfb920
extra : histedit_source : 8363b2e3b03bbcf0edcadb16a529cb3766b5a860
This commit is contained in:
Gijs Kruitbosch 2015-05-18 14:30:07 +01:00
parent 914f8c67b1
commit 5b2fa1d806

View File

@ -461,7 +461,7 @@ Tester.prototype = {
if (this._globalProperties.indexOf(prop) == -1) {
this._globalProperties.push(prop);
if (this._globalPropertyWhitelist.indexOf(prop) == -1)
this.currentTest.addResult(new testResult(false, "leaked window property: " + prop, "", false));
this.currentTest.addResult(new testResult(false, "test left unexpected property on window: " + prop, "", false));
}
}, this);