Bug 1140342 - Remove __noSuchMethod__ from url-classifier debugging functions. r=gavin

This commit is contained in:
Jan de Mooij 2015-03-07 16:35:13 +01:00
parent 34a1b135f4
commit 013599a7ac

View File

@ -838,6 +838,30 @@ if (G_GDEBUG) {
this.G_Debug = function G_Debug(who, msg) { } this.G_Debug = function G_Debug(who, msg) { }
this.G_Assert = function G_Assert(who, condition, msg) { } this.G_Assert = function G_Assert(who, condition, msg) { }
this.G_Error = function G_Error(who, msg) { } this.G_Error = function G_Error(who, msg) { }
this.G_debugService = { __noSuchMethod__: function() { } }; this.G_debugService = {
alsoDumpToConsole: () => {},
logFileIsEnabled: () => {},
enableLogFile: () => {},
disableLogFile: () => {},
getLogFile: () => {},
setLogFile: () => {},
enableDumpToConsole: () => {},
disableDumpToConsole: () => {},
getZone: () => {},
enableZone: () => {},
disableZone: () => {},
allZonesEnabled: () => {},
enableAllZones: () => {},
disableAllZones: () => {},
callTracingEnabled: () => {},
enableCallTracing: () => {},
disableCallTracing: () => {},
getLogFileErrorLevel: () => {},
setLogFileErrorLevel: () => {},
dump: () => {},
maybeDumpToFile: () => {},
observe: () => {},
reportScriptError_: () => {}
};
#endif #endif