Closed Bug 1914382 Opened 6 months ago Closed 2 months ago

Back button doesn't works when switching tabs

Categories

(Core :: DOM: Navigation, defect)

Firefox 131
Desktop
All
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox131 --- affected

People

(Reporter: zstimi, Unassigned)

References

(Blocks 1 open bug)

Details

Found in

  • Firefox 131.0a1

Affected versions

  • Firefox 131.0a1

Tested platforms

  • Affected platforms: Windows 10, Ubuntu 22, macOS 12

Preconditions

  • Set the pref browser.navigation.requireUserInteraction = true.

Steps to reproduce

  1. Open Tab 1 and navigate to: 1. https://www.mlb.com/tv/g632367?affiliateId=SCORES
    2. https://answers.microsoft.com/en-us/msoffice/forum/all/account-locked-for-weeks-no-reasonnotice-and-no/04bc4b41-a70d-4b5a-b494-7488379b1e7c in the same tab.
    3. https://support.microsoft.com/en-us/topic/windows-10-update-assistant-3550dfb2-a015-7765-12ea-fba2ac36fb3f in the same tab
  2. Open Tab 2 and navigate to: 1. https://support.microsoft.com/en-us/windows/manage-background-activity-for-apps-in-windows-4f32dffe-b97c-40e8-a790-3ca10373a1ef
    2. Go to https://drakowltest.000webhostapp.com/page1.html in the same tab
    3. Go to https://www.aajtak.in/entertainment/television/photo/krushna-abhishek-birthday-love-story-with-kashmira-shah-affair-govinda-tmov-1263266-2021-05-30-3 in the same tab.
  3. Go to Tab 1. Press the back button (←) to navigate back. Moves back to answers.microsoft.com.
  4. Go to Tab 2. Press the back button (←) to navigate back. Moves back to drakowltest.com.
  5. Go back to Tab 1. Press the back button (←) again. Moves back to mlb.com.
  6. Go to Tab 2. Press the forward button (→).

Expected result

  • Moves forward to aajtak.in.

Actual result

  • Forward button doesn't work.

Regression range

  • I will come back with regression range ASAP.

Additional note

  • Some websites are skipped while navigation though the visited websites in a tab, without switching tabs.

Andreas, can you please write a test for this?

Flags: needinfo?(afarre)

Turns out that writing a test for this wasn't as straightforward as I expected. It is the microsoft site that is misbehaving, not regular navigation.

Flags: needinfo?(afarre)

Closing as WFM, if not using sites with misbehavior, works as expected.

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.