Fix keys library and update expectation for test_browser_window based on fix.

This test passes without e10s turned on.