mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables). Stub resolution/removal should be a follow-up to this.
This commit is contained in:
parent
ac3468d5cc
commit
8c8145e620
186 changed files with 48 additions and 2957 deletions
|
|
@ -757,15 +757,6 @@ XMLHttpRequestMainThread::SetResponseType(XMLHttpRequestResponseType aResponseTy
|
|||
return;
|
||||
}
|
||||
|
||||
// We want to get rid of this moz-only types. Bug 1335365.
|
||||
if (aResponseType == XMLHttpRequestResponseType::Moz_blob) {
|
||||
Telemetry::Accumulate(Telemetry::MOZ_BLOB_IN_XHR, 1);
|
||||
} else if (aResponseType == XMLHttpRequestResponseType::Moz_chunked_text) {
|
||||
Telemetry::Accumulate(Telemetry::MOZ_CHUNKED_TEXT_IN_XHR, 1);
|
||||
} else if (aResponseType == XMLHttpRequestResponseType::Moz_chunked_arraybuffer) {
|
||||
Telemetry::Accumulate(Telemetry::MOZ_CHUNKED_ARRAYBUFFER_IN_XHR, 1);
|
||||
}
|
||||
|
||||
// Set the responseType attribute's value to the given value.
|
||||
mResponseType = aResponseType;
|
||||
}
|
||||
|
|
@ -1521,8 +1512,6 @@ XMLHttpRequestMainThread::Open(const nsACString& aMethod,
|
|||
GetOwner()->GetExtantDoc()->WarnOnceAbout(nsIDocument::eSyncXMLHttpRequest);
|
||||
}
|
||||
|
||||
Telemetry::Accumulate(Telemetry::XMLHTTPREQUEST_ASYNC_OR_SYNC, aAsync ? 0 : 1);
|
||||
|
||||
// Step 1
|
||||
nsCOMPtr<nsIDocument> responsibleDocument = GetDocumentIfCurrent();
|
||||
if (!responsibleDocument) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue