gecko-dev/docshell/test/navigation
Sean Feng 1b47ab6415 Bug 1863246 - Make the page that enters BFCache not asking the parent process to update the active browsing context r=peterv,dom-core
Currently, when a page enters BFCache, it updates the parent process
for the active BC; however, the page that is about to show will do the
same. These two operations are triggered in different processes with
different active id, they are racy and problematic.

This patch fixes the above issue by not updating the parent process
when a page enters BFCache.

This only applies to BFCacheInParent is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D215818
2024-08-14 19:48:17 +00:00
..
blank.html
bluebox_bug430723.html
browser_bfcache_activebc.js Bug 1863246 - Make the page that enters BFCache not asking the parent process to update the active browsing context r=peterv,dom-core 2024-08-14 19:48:17 +00:00
browser_bug343515.js Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao 2023-09-15 09:16:34 +00:00
browser_bug1757458.js Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao 2023-09-15 09:16:34 +00:00
browser_ghistorymaxsize_is_0.js Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao 2023-09-15 09:16:34 +00:00
browser_test_bfcache_eviction.js Bug 1865891 p11. Rename OnContentViewerEvicted to match nsIDocumentViewer's new name. r=emilio 2023-11-22 08:08:16 +00:00
browser_test_shentry_wireframe.js Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao 2023-09-15 09:16:34 +00:00
browser_test_simultaneous_normal_and_history_loads.js Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao 2023-09-15 09:16:34 +00:00
browser_test-content-chromeflags.js Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu 2023-05-20 12:26:53 +00:00
browser.toml Bug 1863246 - Make the page that enters BFCache not asking the parent process to update the active browsing context r=peterv,dom-core 2024-08-14 19:48:17 +00:00
bug343515_pg1.html
bug343515_pg2.html
bug343515_pg3_1_1.html
bug343515_pg3_1.html
bug343515_pg3_2.html
bug343515_pg3.html
cache_control_max_age_3600.sjs
file_beforeunload_and_bfcache.html
file_blockBFCache.html
file_bug386782_contenteditable.html
file_bug386782_designmode.html
file_bug462076_1.html
file_bug462076_2.html
file_bug462076_3.html
file_bug508537_1.html
file_bug534178.html
file_bug1300461_back.html
file_bug1300461_redirect.html
file_bug1300461_redirect.html^headers^
file_bug1300461.html
file_bug1326251_evict_cache.html Bug 1865891 p2. Rename EvictAllContentViewers to match nsIDocumentViewer's new name. r=emilio 2023-11-22 08:08:12 +00:00
file_bug1326251.html Bug 1864896: Autofix unused function arguments (docshell). r=nika 2024-03-02 15:26:00 +00:00
file_bug1364364-1.html
file_bug1364364-2.html
file_bug1375833-frame1.html
file_bug1375833-frame2.html
file_bug1375833.html Bug 1864896: Autofix unused function arguments (docshell). r=nika 2024-03-02 15:26:00 +00:00
file_bug1379762-1.html
file_bug1536471.html
file_bug1583110.html
file_bug1609475.html Bug 1864896: Autofix unused function arguments (docshell). r=nika 2024-03-02 15:26:00 +00:00
file_bug1706090.html Bug 1802505 - Add disable next line for all docshell/test/mochitest and docshell/test/chrome r=smaug 2022-12-29 12:24:15 +00:00
file_bug1745638.html
file_bug1750973.html
file_bug1758664.html
file_contentpolicy_block_window.html
file_docshell_gotoindex.html
file_document_write_1.html
file_evict_from_bfcache.html
file_fragment_handling_during_load_frame1.html
file_fragment_handling_during_load_frame2.sjs
file_fragment_handling_during_load.html
file_load_history_entry_page_with_one_link.html
file_load_history_entry_page_with_two_links.html
file_meta_refresh.html Bug 1858673 - Remove now unnecessary disabling of ESLint no-unsanitized/* rules from test files. r=freddyb,media-playback-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,places-reviewers,aosmond,sgalich,dao,padenot 2023-10-24 08:48:41 +00:00
file_navigation_type.html
file_nested_frames_innerframe.html
file_nested_frames.html
file_nested_srcdoc.html
file_new_shentry_during_history_navigation_1.html
file_new_shentry_during_history_navigation_1.html^headers^
file_new_shentry_during_history_navigation_2.html
file_new_shentry_during_history_navigation_2.html^headers^
file_new_shentry_during_history_navigation_3.html
file_new_shentry_during_history_navigation_3.html^headers^
file_new_shentry_during_history_navigation_4.html
file_online_offline_bfcache.html
file_reload_large_postdata.sjs Bug 1858148 - Remove Cu.importGlobalProperties from sjs files as it is no longer needed. r=mossop,webdriver-reviewers,necko-reviewers,search-reviewers,devtools-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,dao,daleharvey,valentin 2023-11-04 09:29:27 +00:00
file_reload_nonbfcached_srcdoc.sjs Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
file_reload.html
file_same_url.html
file_scrollRestoration_bfcache_and_nobfcache_part2.html
file_scrollRestoration_bfcache_and_nobfcache_part2.html^headers^
file_scrollRestoration_bfcache_and_nobfcache.html
file_scrollRestoration_navigate.html
file_scrollRestoration_part1_nobfcache.html
file_scrollRestoration_part1_nobfcache.html^headers^
file_scrollRestoration_part2_bfcache.html
file_scrollRestoration_part3_nobfcache.html Bug 1864896: Autofix unused function arguments (docshell). r=nika 2024-03-02 15:26:00 +00:00
file_scrollRestoration_part3_nobfcache.html^headers^
file_session_history_on_redirect_2.html Bug 1864896: Autofix unused function arguments (docshell). r=nika 2024-03-02 15:26:00 +00:00
file_session_history_on_redirect_2.html^headers^
file_session_history_on_redirect.html Bug 1864896: Autofix unused function arguments (docshell). r=nika 2024-03-02 15:26:00 +00:00
file_session_history_on_redirect.html^headers^
file_sessionhistory_iframe_removal.html
file_sessionstorage_across_coop.html Bug 1790666 - Propagate session storage across COOP switches without SHIP, r=smaug,asuth 2023-09-20 20:01:32 +00:00
file_sessionstorage_across_coop.html^headers^ Bug 1790666 - Propagate session storage across COOP switches without SHIP, r=smaug,asuth 2023-09-20 20:01:32 +00:00
file_shiftReload_and_pushState.html
file_ship_beforeunload_fired.html
file_static_and_dynamic_1.html
file_tell_opener.html
file_triggeringprincipal_frame_1.html
file_triggeringprincipal_frame_2.html
file_triggeringprincipal_iframe_iframe_window_open_frame_a_nav.html
file_triggeringprincipal_iframe_iframe_window_open_frame_a.html
file_triggeringprincipal_iframe_iframe_window_open_frame_b.html
file_triggeringprincipal_parent_iframe_window_open_base.html
file_triggeringprincipal_parent_iframe_window_open_nav.html
file_triggeringprincipal_subframe_nav.html
file_triggeringprincipal_subframe_same_origin_nav.html
file_triggeringprincipal_subframe.html
file_triggeringprincipal_window_open.html
frame0.html
frame1.html
frame2.html
frame3.html
frame_1_out_of_6.html
frame_2_out_of_6.html
frame_3_out_of_6.html
frame_4_out_of_6.html
frame_5_out_of_6.html
frame_6_out_of_6.html
frame_load_as_example_com.html
frame_load_as_example_org.html
frame_load_as_host1.html
frame_load_as_host2.html
frame_load_as_host3.html
frame_recursive.html
goback.html
iframe_slow_onload_inner.html
iframe_slow_onload.html
iframe_static.html
iframe.html Bug 1858673 - Remove now unnecessary disabling of ESLint no-unsanitized/* rules from test files. r=freddyb,media-playback-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,places-reviewers,aosmond,sgalich,dao,padenot 2023-10-24 08:48:41 +00:00
mochitest.toml Bug 1881925 - standardize on more manifest conditions. r=aryx,credential-management-reviewers,devtools-reviewers,dom-storage-reviewers,omc-reviewers,nchevobbe,janv,issammani 2024-03-05 02:14:17 +00:00
navigate.html Bug 1858673 - Remove now unnecessary disabling of ESLint no-unsanitized/* rules from test files. r=freddyb,media-playback-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,places-reviewers,aosmond,sgalich,dao,padenot 2023-10-24 08:48:41 +00:00
navigation_target_popup_url.html
navigation_target_url.html
NavigationUtils.js
object_recursive_load.html
open.html Bug 1858673 - Remove now unnecessary disabling of ESLint no-unsanitized/* rules from test files. r=freddyb,media-playback-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,places-reviewers,aosmond,sgalich,dao,padenot 2023-10-24 08:48:41 +00:00
parent.html
redbox_bug430723.html
redirect_handlers.sjs
redirect_to_blank.sjs
slow.sjs Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
test_aboutblank_change_process.html
test_beforeunload_and_bfcache.html
test_blockBFCache.html Bug 1864896: Autofix unused function arguments (docshell). r=nika 2024-03-02 15:26:00 +00:00
test_bug13871.html Bug 1864896: Autofix unused function arguments (docshell). r=nika 2024-03-02 15:26:00 +00:00
test_bug145971.html
test_bug270414.html Bug 1858673 - Remove now unnecessary disabling of ESLint no-unsanitized/* rules from test files. r=freddyb,media-playback-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,places-reviewers,aosmond,sgalich,dao,padenot 2023-10-24 08:48:41 +00:00
test_bug278916.html
test_bug279495.html
test_bug344861.html Bug 1824173 - Automatically fix some ESLint issues raised by the valid-jsdoc configuration. r=mossop,webcompat-reviewers,denschub 2023-03-24 19:35:24 +00:00
test_bug386782.html Bug 1824173 - Automatically fix some ESLint issues raised by the valid-jsdoc configuration. r=mossop,webcompat-reviewers,denschub 2023-03-24 19:35:24 +00:00
test_bug430624.html Bug 1824173 - Automatically fix some ESLint issues raised by the valid-jsdoc configuration. r=mossop,webcompat-reviewers,denschub 2023-03-24 19:35:24 +00:00
test_bug430723.html Bug 1824173 - Automatically fix some ESLint issues raised by the valid-jsdoc configuration. r=mossop,webcompat-reviewers,denschub 2023-03-24 19:35:24 +00:00
test_bug1300461.html
test_bug1326251.html
test_bug1364364.html Bug 1824173 - Automatically fix some ESLint issues raised by the valid-jsdoc configuration. r=mossop,webcompat-reviewers,denschub 2023-03-24 19:35:24 +00:00
test_bug1375833.html
test_bug1379762.html
test_bug1536471.html
test_bug1583110.html
test_bug1609475.html
test_bug1699721.html Bug 1864896: Autofix unused function arguments (docshell). r=nika 2024-03-02 15:26:00 +00:00
test_bug1706090.html
test_bug1745638.html
test_bug1747019.html
test_bug1750973.html
test_bug1758664.html
test_child.html
test_contentpolicy_block_window.html Bug 1864896: Autofix unused function arguments (docshell). r=nika 2024-03-02 15:26:00 +00:00
test_docshell_gotoindex.html
test_dynamic_frame_forward_back.html
test_evict_from_bfcache.html
test_fragment_handling_during_load.html
test_grandchild.html
test_load_history_entry.html Bug 1864896: Autofix unused function arguments (docshell). r=nika 2024-03-02 15:26:00 +00:00
test_meta_refresh.html
test_navigation_type.html
test_nested_frames.html
test_new_shentry_during_history_navigation.html
test_not-opener.html Bug 1802505 - Add disable next line for all docshell/test/mochitest and docshell/test/chrome r=smaug 2022-12-29 12:24:15 +00:00
test_online_offline_bfcache.html
test_open_javascript_noopener.html
test_opener.html Bug 1802505 - Add disable next line for all docshell/test/mochitest and docshell/test/chrome r=smaug 2022-12-29 12:24:15 +00:00
test_performance_navigation.html
test_popup-navigates-children.html
test_rate_limit_location_change.html Bug 1824173 - Automatically fix some ESLint issues raised by the valid-jsdoc configuration. r=mossop,webcompat-reviewers,denschub 2023-03-24 19:35:24 +00:00
test_recursive_frames.html Bug 1802505 - Add disable next line for all docshell/test/mochitest and docshell/test/chrome r=smaug 2022-12-29 12:24:15 +00:00
test_reload_large_postdata.html
test_reload_nonbfcached_srcdoc.html
test_reload.html
test_reserved.html
test_same_url.html
test_scrollRestoration.html
test_session_history_entry_cleanup.html
test_session_history_on_redirect.html
test_sessionhistory_document_write.html
test_sessionhistory_iframe_removal.html
test_sessionhistory.html
test_sessionstorage_across_coop.html Bug 1790666 - Propagate session storage across COOP switches without SHIP, r=smaug,asuth 2023-09-20 20:01:32 +00:00
test_shiftReload_and_pushState.html
test_ship_beforeunload_fired_2.html
test_ship_beforeunload_fired_3.html
test_ship_beforeunload_fired.html
test_sibling-matching-parent.html
test_sibling-off-domain.html
test_state_size.html
test_static_and_dynamic.html
test_triggeringprincipal_frame_nav.html Bug 1802505 - Add disable next line for all docshell/test/mochitest and docshell/test/chrome r=smaug 2022-12-29 12:24:15 +00:00
test_triggeringprincipal_frame_same_origin_nav.html Bug 1802505 - Add disable next line for all docshell/test/mochitest and docshell/test/chrome r=smaug 2022-12-29 12:24:15 +00:00
test_triggeringprincipal_iframe_iframe_window_open.html
test_triggeringprincipal_parent_iframe_window_open.html
test_triggeringprincipal_window_open.html