Open Bug 1502099 Opened 6 years ago Updated 2 years ago

timingEnabled=false does show some timing info, like dns

Categories

(Core :: DOM: Networking, enhancement, P3)

59 Branch
enhancement

Tracking

()

People

(Reporter: dragana, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

If timing is disabled we still show some timing info. Let's investigate.
Priority: -- → P2
Whiteboard: [necko-triaged]
So I had the following code and was still seeing some of the timed channel info in the callbacks, perhaps because I was QI'ing it but not enabling it? let xhr = new XMLHttpRequest(); xhr.open("GET", url, true); xhr.timeout = XHR_TIMEOUT; xhr.channel.loadFlags = 0; xhr.channel.loadFlags |= Ci.nsIRequest.LOAD_ANONYMOUS; xhr.channel.loadFlags |= Ci.nsIRequest.LOAD_BYPASS_CACHE; xhr.channel.loadFlags |= Ci.nsIRequest.INHIBIT_CACHING; xhr.channel.loadFlags |= Ci.nsIRequest.INHIBIT_PIPELINE; xhr.channel.loadFlags |= Ci.nsIRequest.INHIBIT_PERSISTENT_CACHING; xhr.channel.loadFlags |= Ci.nsIRequest.LOAD_FRESH_CONNECTION; xhr.channel.loadFlags |= Ci.nsIChannel.LOAD_INITIAL_DOCUMENT_URI; xhr.channel.QueryInterface(Ci.nsITimedChannel); xhr.channel.QueryInterface(Ci.nsIHttpChannelInternal); let versionMax = 2; let versionFallbackLimit = 2; xhr.channel.tlsFlags = 0; xhr.channel.tlsFlags |= (versionMax << 0); xhr.channel.tlsFlags |= (versionFallbackLimit << 3);
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.