Open Bug 1790980 Opened 2 years ago Updated 2 years ago

Browser shortcuts don't work when WebSocket message is focused

Categories

(DevTools :: Netmonitor, defect, P3)

Firefox 106
defect

Tracking

(firefox104 affected, firefox105 affected, firefox106 affected)

Tracking Status
firefox104 --- affected
firefox105 --- affected
firefox106 --- affected

People

(Reporter: sebo, Unassigned, Mentored)

References

(Blocks 2 open bugs)

Details

(Keywords: good-first-bug)

What were you doing?

  1. Go to a website that uses WebSockets (e.g. https://stackoverflow.com/)
  2. Open the Network Monitor
  3. Reload the page
  4. Select the WebSocket request
  5. In the sidebar, click on one of the messages
  6. Press F5

What happened?

Nothing.

What should have happened?

The website should reload.

Anything else we should know?

None of the default shortcuts like Ctrl + R to reload the side, Ctrl + W to close the tab or F12 to close the DevTools work when the message list has focus.

This issue only affects the message list. The rest of the UI like the filter field above it or the details view for a message don't affect the shortcuts.

Sebastian

Severity: -- → S3
Priority: -- → P3
Mentor: odvarko
Keywords: good-first-bug

Yes, removing the evt.preventDefault(); call fixes the problem.

You need to log in before you can comment on or make changes to this bug.