mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1165890 - change warning for 'leaking' window properties, r=ted
--HG-- extra : rebase_source : 5b5cdcdf01c07114f16207c19ac21d5268dfb920 extra : histedit_source : 8363b2e3b03bbcf0edcadb16a529cb3766b5a860
This commit is contained in:
parent
914f8c67b1
commit
5b2fa1d806
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user