Bug 857427 - Various fixes for browser_save_link-perwindowpb.js and browser_save_private_link_perwindowpb.js. r=ttaubert, a=test-only