It looks like the ConsoleMessage "url" can be the string "undefined". This is codified in ConsoleMessage.js with: } else if (this.url && this.url !== "undefined") { Why is this?