mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1140342 - Remove __noSuchMethod__ from url-classifier debugging functions. r=gavin
This commit is contained in:
parent
34a1b135f4
commit
013599a7ac
@ -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