6

URL text is selected when switching from a loaded tab and not selected when swit...

 1 year ago
source link: https://bugzilla.mozilla.org/show_bug.cgi?id=1836051
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Details

(Keywords: regression, Whiteboard: [snt-scrubbed] [search-papercut])

attachment.cgi?id=9336749

Found in

  • 115.0a1

Affected versions

  • 115.0a1 (2023-05-31)
  • 114.0RC2
  • 113.0.2

Tested platforms

  • Affected platforms: Windows10 x64, Ubuntu 20.04, macOS 12
  • Unaffected platforms: none

Preconditions

  • new profile
  • have a random webpage loaded in a new tab
  • have a new tab opened with an empty URL bar

Steps to reproduce

  1. Open a new tab and type a random text inside the URL bar.
  2. Switch to the tab that has the loaded webpage and back and observe the URL bar.
  3. Switch to the new tab with the empty URL bar and back and observe the URL bar.

Expected result

  • Switching from a new tab or a loaded tab back to the tab that contains the text behaves the same.

Actual result

  • switching from a loaded tab will select the text inside the URL bar
  • switching from a new tab will not select the text and will move the caret to the left side

Regression range

  • Reproduced with Firefox 111.0a1 (2023-02-02) as well. I will search for one ASAP if there is one.

Additional notes

  • Attached a screen recording.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK