mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 860846 - part 1 - make TelemetryPing tests use registerPrefixHandler; r=taras
This commit is contained in:
parent
302fc49465
commit
8ea0bff24b
@ -78,8 +78,8 @@ function addWrappedObserver(f, topic) {
|
||||
}
|
||||
|
||||
function registerPingHandler(handler) {
|
||||
httpserver.registerPathHandler(TelemetryPing.submissionPath(),
|
||||
wrapWithExceptionHandler(handler));
|
||||
httpserver.registerPrefixHandler("/submit/telemetry/",
|
||||
wrapWithExceptionHandler(handler));
|
||||
}
|
||||
|
||||
function nonexistentServerObserver(aSubject, aTopic, aData) {
|
||||
|
Loading…
Reference in New Issue
Block a user