Open Bug 1745165 Opened 4 years ago Updated 4 years ago

Unexpected NullPtr result from NS_GetFinalChannelURI

Categories

(Core :: Networking, task, P3)

task

Tracking

()

People

(Reporter: ckerschb, Unassigned)

References

Details

(Whiteboard: [necko-triaged])

Given it's definition:

/**
 * Get the "final" URI for a channel.  This is either channel's load info
 * resultPrincipalURI, if set, or GetOriginalURI.  In most cases (but not all)
 * load info resultPrincipalURI, if set, corresponds to URI of the channel if
 * it's required to represent the actual principal for the channel.
 */
nsresult NS_GetFinalChannelURI(nsIChannel* channel, nsIURI** uri);

it might be surprising to consumers that the result is success but the uri is a nullptr. We justed fixed Bug 1720280 which surfaced that problem.

Severity: -- → N/A
Priority: -- → P3
Whiteboard: [necko-triaged]
You need to log in before you can comment on or make changes to this bug.