mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 1140342 - Remove __noSuchMethod__ from url-classifier debugging functions. r=gavin
--HG-- extra : rebase_source : f166642526caf13e2ff41a71851338e36876ca58
This commit is contained in:
parent
fd1677916d
commit
a27d5b3250
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user