Closed Bug 1376204 Opened 9 years ago Closed 9 years ago

Add unregisterProxyScript to registerProxyScript

Categories

(WebExtensions :: Request Handling, defect)

55 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1371879

People

(Reporter: erosman, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170505181442 Steps to reproduce: Current Proxy API has a mean to register proxy script (browser.proxy.registerProxyScript), however there doesn't seem to be a method to unregistered one. There are occasions when a Proxy/PAC process needs to be disabled (similar to setting 'Use System proxy settings' in 'Connection Settings'). At the moment, it seems the only way to do that is to disable the extension completely. There is workaround of clearing all PAC preference and setting it to allow all but that is inefficient.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.