Closed Bug 242351 Opened 20 years ago Closed 9 years ago

PAC2: urlSchemeIs(scheme,url)

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: benc, Unassigned)

References

Details

This might already be easily accessible, if so, it needs to be documented.

PAC writers should have access to a function that determines the protocol via
URL scheme. Right now, it seems like people do a lot of shExpMatch(), which
seems like it would be much slower. We could use URL parser (or, since only
non-relative URLs should be sent to PAC, compare (scheme + ":") to the front of
the url.
Assignee: darin → nobody
QA Contact: benc → networking
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.