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

--HG--
extra : rebase_source : f166642526caf13e2ff41a71851338e36876ca58
This commit is contained in:
Jan de Mooij 2015-03-07 16:35:13 +01:00
parent fd1677916d
commit a27d5b3250

View File

@ -838,6 +838,30 @@ if (G_GDEBUG) {
this.G_Debug = function G_Debug(who, msg) { }
this.G_Assert = function G_Assert(who, condition, 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