Bug 860846 - part 1 - make TelemetryPing tests use registerPrefixHandler; r=taras

This commit is contained in:
Nathan Froyd 2013-06-19 10:10:45 -04:00
parent 302fc49465
commit 8ea0bff24b

View File

@ -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) {