mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00
Bug 1057332 - Update dumpLn in BrowserUtils based on review comments. Originally landed in bug 691601. r=gavin
This commit is contained in:
parent
4bee9bcff8
commit
82c4993d66
@ -15,10 +15,9 @@ this.BrowserUtils = {
|
||||
/**
|
||||
* Prints arguments separated by a space and appends a new line.
|
||||
*/
|
||||
dumpLn: function () {
|
||||
for (let i = 0; i < arguments.length; i++) {
|
||||
dump(arguments[i] + " ");
|
||||
}
|
||||
dumpLn: function (...args) {
|
||||
for (let a of args)
|
||||
dump(a + " ");
|
||||
dump("\n");
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user