Open Bug 1430431 Opened 6 years ago Updated 2 years ago

We should use nsIURI API variants to load URLs when possible

Categories

(WebExtensions :: General, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: kmag, Unassigned)

Details

When we load URIs passed to us by extensions, we generally convert them to nsIURI objects for the sake of resolution and security checks, then pass the string variant to some loadURI call or other, which then converts it to an nsIURI again. Cutting out the round trip would make things much cheaper and more resilient.
Priority: -- → P5
Product: Toolkit → WebExtensions
Assignee: kmaglione+bmo → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.