Commit 2568365d authored by Arthur Edelstein's avatar Arthur Edelstein
Browse files

Bug #15502: Wipe blob URIs on New Identity

parent 1b2b3ee1
......@@ -1884,6 +1884,12 @@ function torbutton_do_new_identity() {
torbutton_log(3, "New identity successful");
// Run garbage collection and cycle collection after window is gone.
// This ensures that blob URIs are forgotten.
window.addEventListener("unload", function (event) {
m_tb_domWindowUtils.garbageCollect();
});
// Close the current window for added safety
window.close();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment