Bug 959789 - Unresponsive script dialog for ConsoleAPI.js on nfl.com gamecenter pages r=bnicholson

This commit is contained in:
Mark Finkle 2014-01-14 23:55:55 -05:00
parent 00802a2f7e
commit 9166841ca1

View File

@ -69,14 +69,7 @@ var ConsoleAPI = {
output = type;
break;
default:
if (aResult.toSource) {
try {
output = aResult.toSource();
} catch (ex) { }
}
if (!output || output == "({})") {
output = aResult.toString();
}
output = aResult.toString();
break;
}