Name Description Size
browser.toml 12383
browser_248970_b_perwindowpb.js Test (B) for Bug 248970 * 6353
browser_248970_b_sample.html Test for bug 248970 996
browser_339445.js Test for Bug 339445 * 1164
browser_339445_sample.html Test for bug 339445 606
browser_345898.js Test for Bug 345898 * 2027
browser_350525.js Test for Bug 350525 * 3239
browser_354894_perwindowpb.js Checks that restoring the last browser window in session is actually working. @see https://bugzilla.mozilla.org/show_bug.cgi?id=354894 @note It is implicitly tested that restoring the last window works when non-browser windows are around. The "Run Tests" window as well as the main browser window (wherein the test code gets executed) won't be considered browser windows. To achiveve this said main browser window has its windowtype attribute modified so that it's not considered a browser window any longer. This is crucial, because otherwise there would be two browser windows around, said main test window and the one opened by the tests, and hence the new logic wouldn't be executed at all. @note Mac only tests the new notifications, as restoring the last window is not enabled on that platform (platform shim; the application is kept running although there are no windows left) @note There is a difference when closing a browser window with BrowserTryToCloseWindow() as opposed to close(). The former will make nsSessionStore restore a window next time it gets a chance and will post notifications. The latter won't. 15118
browser_367052.js 1611
browser_393716.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2755
browser_394759_basic.js This test ensures that closing a window is a reversible action. We will close the the window, restore it and check that all data has been restored. This includes window-specific data as well as form data for tabs. 3898
browser_394759_behavior.js Test helper function that opens a series of windows, closes them and then checks the closed window data from SessionStore against expected results. @param windowsToOpen (Array) An array of Objects, where each object must define a single property "isPopup" for whether or not the opened window should be a popup. @param expectedResults (Array) An Object with two properies: mac and other, where each points at yet another Object, with the following properties: popup (int): The number of popup windows we expect to be in the closed window data. normal (int): The number of normal windows we expect to be in the closed window data. @returns Promise 2859
browser_394759_perwindowpb.js 1924
browser_394759_purge.js 6197
browser_423132.js Tests that cookies are stored and restored correctly by sessionstore (bug 423132). 1512
browser_423132_sample.html 339
browser_447951.js Test for Bug 447951 * 2819
browser_447951_sample.html Testcase for bug 447951 107
browser_454908.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1956
browser_454908_sample.html Test for bug 454908 219
browser_456342.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2581
browser_456342_sample.xhtml Test for bug 456342 1583
browser_459906.js eslint-disable mozilla/no-arbitrary-setTimeout 2469
browser_459906_empty.html Cross Domain File for bug 459906 71
browser_459906_sample.html Test for bug 459906 1299
browser_461634.js Test for Bug 461634 * 3695
browser_461743.js Test for Bug 461743 * 1543
browser_461743_sample.html Test for bug 461743 2192
browser_463205.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1206
browser_463205_sample.html bug 463205 115
browser_463206.js let in1ValFrame0_1 = await SpecialPowers.spawn( content.frames[0], [], async function() { return SpecialPowers.spawn(content.frames[1], [], async function() { return content.document.getElementById("in1").value; }); } ); todo_is(in1ValFrame0_1, "", "id prefixes aren't mixed up"); 2807
browser_463206_sample.html Test for bug 463206 495
browser_464199.js Test for Bug 464199 * 4889
browser_464620_a.html Test for bug 464620 (injection on input) 1641
browser_464620_a.js Test for Bug 464620 (injection on input) * 1966
browser_464620_b.html Test for bug 464620 (injection on DOM node insertion) 1762
browser_464620_b.js Test for Bug 464620 (injection on DOM node insertion) * 1979
browser_464620_xd.html Cross Document File for bug 464620 144
browser_465215.js 1048
browser_465223.js Test for Bug 465223 * 1633
browser_466937.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1588
browser_466937_sample.html Test for bug 466937 562
browser_467409-backslashplosion.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2768
browser_477657.js Test for Bug 477657 * 2157
browser_480893.js Tests that we get sent to the right page when the user clicks the "Close" button in about:sessionrestore 1522
browser_485482.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1793
browser_485482_sample.html 0
browser_485563.js Test for Bug 485563 * 988
browser_490040.js 2531
browser_491168.js 3261
browser_491577.js Test for Bug 491577 * 5232
browser_495495.js Test for Bug 495495 * 1398
browser_500328.js 5253
browser_506482.js eslint-disable mozilla/no-arbitrary-setTimeout 2728
browser_514751.js Test for Bug 514751 (Wallpaper) * 993
browser_522375.js 658
browser_522545.js Test for Bug 522545 * 12715
browser_524745.js Test for Bug 524745 * 1845
browser_526613.js Test for Bug 526613 * 2450
browser_528776.js 639
browser_579868.js 1064
browser_579879.js 759
browser_580512.js 3193
browser_581937.js 671
browser_586068-apptabs.js 2852
browser_586068-apptabs_ondemand.js 3073
browser_586068-browser_state_interrupted.js 5816
browser_586068-cascade.js 2683
browser_586068-multi_window.js 3302
browser_586068-reload.js 3351
browser_586068-select.js 3379
browser_586068-window_state.js 3170
browser_586068-window_state_override.js 3115
browser_586147.js 1854
browser_588426.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1519
browser_589246.js Test for Bug 589246 - Closed window state getting corrupted when closing and reopening last browser window without exiting browser * 8515
browser_590268.js Test for Bug 590268 - Provide access to sessionstore tab data sooner * 5091
browser_590563.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 3267
browser_595601-restore_hidden.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4334
browser_597071.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1233
browser_600545.js Test for Bug 600545 * 3653
browser_601955.js 1827
browser_607016.js Bug 607016 - If a tab is never restored, attributes (eg. hidden) aren't updated correctly * 5072
browser_615394-SSWindowState_events_duplicateTab.js Test for Bug 615394 - Session Restore should notify when it is beginning and ending a restore * 2037
browser_615394-SSWindowState_events_setBrowserState.js Test for Bug 615394 - Session Restore should notify when it is beginning and ending a restore * 4267
browser_615394-SSWindowState_events_setTabState.js Test for Bug 615394 - Session Restore should notify when it is beginning and ending a restore * 1859
browser_615394-SSWindowState_events_setWindowState.js Test for Bug 615394 - Session Restore should notify when it is beginning and ending a restore * 1954
browser_615394-SSWindowState_events_undoCloseTab.js 1912
browser_615394-SSWindowState_events_undoCloseWindow.js Test for Bug 615394 - Session Restore should notify when it is beginning and ending a restore * 3652
browser_618151.js Test for Bug 618151 - Overwriting state can lead to unrestored tabs * 1981
browser_623779.js 340
browser_624727.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 976
browser_625016.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 3261
browser_628270.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1214
browser_635418.js 1788
browser_636279.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 3078
browser_637020.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2560
browser_637020_slow.sjs Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 524
browser_645428.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 558
browser_659591.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 850
browser_662743.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4156
browser_662743_sample.html Test 662743 459
browser_662812.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1027
browser_665702-state_session.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 689
browser_682507.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 708
browser_687710.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1542
browser_687710_2.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2821
browser_694378.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 967
browser_701377.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1423
browser_705597.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2563
browser_707862.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2919
browser_739531.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1482
browser_739531_frame.html 28
browser_739531_sample.html 489
browser_739805.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1501
browser_819510_perwindowpb.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4759
browser_906076_lazy_tabs.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4495
browser_911547.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2775
browser_911547_sample.html Test 911547 495
browser_911547_sample.html^headers^ 43
browser_1234021.js 517
browser_1234021_page.html 74
browser_1284886_suspend_tab.html 145
browser_1284886_suspend_tab.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 3228
browser_1284886_suspend_tab_2.html 126
browser_1446343-windowsize.js 1315
browser_aboutPrivateBrowsing.js 758
browser_aboutSessionRestore.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2104
browser_async_duplicate_tab.js 2492
browser_async_flushes.js 4062
browser_async_remove_tab.js 6848
browser_async_window_flushing.js Tests that if we initially discard a window as not interesting to save in the closed windows array, that we revisit that decision after a window flush has completed. 7171
browser_attributes.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2942
browser_background_tab_crash.js These tests the behaviour of the browser when background tabs crash, while the foreground tab remains. The current behavioural rule is this: if only background tabs crash, then only the first tab shown of that group should show the tab crash page, and subsequent ones should restore on demand. 8879
browser_backup_recovery.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 9796
browser_bfcache_telemetry.js clear 1322
browser_broadcast.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4536
browser_capabilities.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 3153
browser_cleaner.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 5780
browser_closed_objects_changed_notifications_tabs.js This test is for the sessionstore-closed-objects-changed notifications. 3810
browser_closed_objects_changed_notifications_windows.js This test is for the sessionstore-closed-objects-changed notifications. 3870
browser_closed_tabs_closed_windows.js 10593
browser_closed_tabs_windows.js 9541
browser_closedId.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 3111
browser_cookies.js 2347
browser_cookies_legacy.js 2163
browser_cookies_privacy.js isHttpOnly = 3737
browser_cookies_sameSite.js Tests that cookie.sameSite flag is stored and restored correctly by sessionstore. 2379
browser_crashedTabs.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 15938
browser_docshell_uuid_consistency.js 3784
browser_duplicate_history.js 969
browser_duplicate_tab_in_new_window.js 1040
browser_dying_cache.js This test ensures that after closing a window we keep its state data around as long as something keeps a reference to it. It should only be possible to read data after closing - writing should fail. 2434
browser_dynamic_frames.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 3681
browser_firefoxView_restore.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1241
browser_firefoxView_selected_restore.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2192
browser_focus_after_restore.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 692
browser_forget_async_closings.js Creates a tab in the current window worth storing in the closedTabs array, and then closes it. Runs a synchronous forgetFn passed in that should cause us to forget the tab, and then ensures that after the tab has sent its final update message that we didn't accidentally store it in the closedTabs array. @param forgetFn (function) A synchronous function that should cause the tab to be forgotten. @returns Promise 5110
browser_forget_closed_tab_window_byId.js 4497
browser_formdata.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 6925
browser_formdata_cc.js This test ensures that credit card numbers in form data will not be collected, while numbers that don't look like credit card numbers will still be collected. 2756
browser_formdata_face.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4873
browser_formdata_format.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4508
browser_formdata_format_sample.html Test formdata format 163
browser_formdata_max_size.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4349
browser_formdata_password.js Ensures that <input>s that are/were type=password are not saved. 1831
browser_formdata_sample.html browser_formdata_sample.html 469
browser_formdata_xpath.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 6685
browser_formdata_xpath_sample.html Test for bug 346337 1002
browser_frame_history.js eslint-disable mozilla/no-arbitrary-setTimeout 7149
browser_frame_history_a.html 45
browser_frame_history_b.html 280
browser_frame_history_c.html 45
browser_frame_history_c1.html 46
browser_frame_history_c2.html 46
browser_frame_history_index.html 260
browser_frame_history_index_blank.html 32
browser_frame_history_index2.html 79
browser_frametree.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4239
browser_frametree_sample.html browser_frametree_sample.html 198
browser_frametree_sample_frameset.html browser_frametree_sample_frameset.html 339
browser_frametree_sample_iframes.html browser_frametree_sample_iframes.html 299
browser_global_store.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1354
browser_history_persist.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 5103
browser_ignore_updates_crashed_tabs.js Open a tab, crash it, navigate it to a remote uri, and check that it is removed from a crashed set. 3266
browser_label_and_icon.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1586
browser_movePendingTabToNewWindow.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 3913
browser_multiple_navigateAndRestore.js 1528
browser_multiple_select_after_load.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1422
browser_newtab_userTypedValue.js Test that when restoring an 'initial page' with session restore, it produces an empty URL bar, rather than leaving its URL explicitly there as a 'user typed value'. 3040
browser_not_collect_when_idle.js Test for Bug 1305950 * 3623
browser_old_favicon.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1691
browser_page_title.js 1300
browser_parentProcessRestoreHash.js Test that switching from a remote to a parent process browser correctly clears the userTypedValue 3159
browser_pending_tabs.js 1157
browser_pinned_tabs.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 10064
browser_privatetabs.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2105
browser_purge_shistory.js This test checks that pending tabs are treated like fully loaded tabs when purging session history. Just like for fully loaded tabs we want to remove every but the current shistory entry. 1966
browser_remoteness_flip_on_restore.js This set of tests checks that the remoteness is properly set for each browser in a window when that window has session state loaded into it. 9189
browser_reopen_all_windows.js 4406
browser_replace_load.js Bug 1100223. Calling browser.loadURI() while a tab is loading causes sessionstore to override the desired target URL. This test ensures that calling loadURI() on a pending tab causes the tab to no longer be marked as pending and correctly finish the instructed load while keeping the restored history around. 1847
browser_restore_container_tabs_oa.js import-globals-from ../../../base/content/test/tabs/helper_origin_attrs_testing.js 8165
browser_restore_cookies_noOriginAttributes.js Bug 1267910 - The regression test case for session cookies. 5215
browser_restore_pageProxyState.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2125
browser_restore_private_tab_os.js 1940
browser_restore_redirect.js Ensure that a http redirect leaves a working tab. 1934
browser_restore_reversed_z_order.js 3212
browser_restore_srcdoc.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1120
browser_restore_tabless_window.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1802
browser_restored_window_features.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4963
browser_restoreLastActionCorrectOrder.js Tests that the _lastClosedAction list is truncated correctly by removing oldest actions in SessionStore._addClosedAction 2907
browser_restoreLastClosedTabOrWindowOrSession.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 8323
browser_restoreTabContainer.js 2336
browser_revive_crashed_bg_tabs.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1917
browser_scrollPositions.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 7754
browser_scrollPositions_readerModeArticle.html Article title 11979
browser_scrollPositions_sample.html browser_scrollPositions_sample.html 204
browser_scrollPositions_sample_frameset.html browser_scrollPositions_sample_frameset.html 357
browser_scrollPositions_sample2.html browser_scrollPositions_sample.html 204
browser_scrollPositionsReaderMode.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2396
browser_send_async_message_oom.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2167
browser_sessionHistory.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 10086
browser_sessionHistory_slow.sjs Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 524
browser_sessionStorage.html browser_sessionStorage.html 827
browser_sessionStorage.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 8832
browser_sessionStorage_size.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1131
browser_sessionStoreContainer.js 4536
browser_should_restore_tab.js 4034
browser_sizemodeBeforeMinimized.js 1362
browser_speculative_connect.html Dummy html page to test speculative connect 138
browser_speculative_connect.js This will open tabs in browser. This will also make the last tab inserted to be the selected tab. 4218
browser_swapDocShells.js 1050
browser_switch_remoteness.js 1779
browser_tab_label_during_restore.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 6499
browser_tabicon_after_bg_tab_crash.js Tests that if a background tab crashes that it doesn't lose the favicon in the tab. 1374
browser_tabs_in_urlbar.js Tests that tabs which aren't displayed yet (i.e. need to be reloaded) are still displayed in the address bar results. 4569
browser_undoCloseById.js eslint-disable mozilla/no-arbitrary-setTimeout 5021
browser_undoCloseById_targetWindow.js This test verifies SessionStore.undoCloseById behavior when passed the targetWindow argument 3029
browser_unrestored_crashedTabs.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2460
browser_upgrade_backup.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4963
browser_urlbarSearchMode.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1579
browser_userTyped_restored_after_discard.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1435
browser_windowRestore_perwindowpb.js 940
browser_windowStateContainer.js 5296
coop_coep.html 51
coop_coep.html^headers^ 83
coopHeaderCommon.sjs 931
empty.html 73
file_async_duplicate_tab.html 22
file_async_flushes.html 22
file_formdata_password.html 502
file_sessionHistory_hashchange.html 27
head.js Wait until session restore has finished collecting its data and is has written that data ("sessionstore-state-write-complete"). @param {function} aCallback If sessionstore-state-write-complete is sent within buffering interval + 100 ms, the callback is passed |true|, otherwise, it is passed |false|. 19223
marionette
restore_redirect_http.html 0
restore_redirect_http.html^headers^ 66
restore_redirect_js.html 218
restore_redirect_target.html Test page 118
SessionStoreTestUtils.sys.mjs Running this init allows helpers to access test scope helpers, like Assert and SimpleTest. Tests should call this init() before using the helpers which rely on properties assign here. @param {object} scope The global scope where tests are being run. @param {DOmWindow} scope The global window object, for acessing gBrowser etc. 6262
unit