Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221390
This commit is contained in:
@@ -157,6 +157,10 @@ add_task(async function test_navigation_via_back_button() {
|
||||
false,
|
||||
serpUrl
|
||||
);
|
||||
await SpecialPowers.spawn(browser, [], () => {
|
||||
content.document.notifyUserGestureActivation();
|
||||
});
|
||||
|
||||
BrowserTestUtils.startLoadingURIString(browser, serpUrl);
|
||||
await pageLoadPromise;
|
||||
info("Serp is now loaded.");
|
||||
|
||||
Reference in New Issue
Block a user