Closed Bug 1593476 Opened 5 years ago Closed 4 years ago

Add button to clear DNS cache to about:networking

Categories

(Core :: Networking: DNS, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: valentin, Assigned: valentin)

Details

(Whiteboard: [necko-triaged][trr])

Attachments

(1 file)

We currently do various things to trigger that, such as flipping the network off and on, but it would be much easier if we had a dedicated button to do it.

Workaround until this lands:
Open browser console: Ctrl-Shift-J and type in this:

Cc["@mozilla.org/network/dns-service;1"].getService(Ci.nsIDNSService).clearCache(true);

Are extensions allowed to run this code?

(In reply to Peter Barney from comment #2)

Are extensions allowed to run this code?

No.

Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/a0ed1766f0ed
Add button to clear DNS cache to about:networking r=michal,fluent-reviewers,flod
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: