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.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.