Closed Bug 1634237 Opened 4 years ago Closed 2 years ago

`TypeError: can't access property "scrollIntoView", selectedRow is null` when opening the All Tabs panel with a pinned tab selected

Categories

(Firefox :: Tabbed Browser, defect, P3)

defect

Tracking

()

VERIFIED FIXED
99 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox97 --- wontfix
firefox98 --- wontfix
firefox99 --- verified

People

(Reporter: kernp25, Assigned: aminomancer)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached image firefox_OFq8oNTPQr.png
Flags: needinfo?(dao+bmo)

My browser: 77.0a1 (2020-04-28) (64-Bit)

Flags: needinfo?(dao+bmo)

Hi kernp25 if you do manage to reproduce this issue can you please provide some steps and maybe a reduced case where we can reproduce it on our end as well ?

Flags: needinfo?(kernp25)
Blocks: tab-manager
Severity: -- → S4
Priority: -- → P3

It seems to happen, if the current/active tab is pinned.

STR:

  1. Open a new tab
  2. Pin the new tab
  3. Click on the all tabs button
Flags: needinfo?(kernp25) → needinfo?(dao+bmo)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(dao+bmo)
Regressed by: 1446101
Summary: TypeError: can't access property "scrollIntoView", selectedRow is null → `TypeError: can't access property "scrollIntoView", selectedRow is null` when opening the All Tabs panel with a pinned tab selected
Has Regression Range: --- → yes

Thanks for the steps kernp25, I was able to get a regression range and it seems that this is the First Bad build:

https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=32d6e8a34f39f8f00e2eae7fd1b01186f80e182c&tochange=e8d220dbe0299d90441b3dce6587a5b174f24644

It seems Bug 1259822 might be the cause of it.

Older builds would only show the "Selected row is null" error when clicking the "all tabs" button.

I did another regression range for when I wouldnt see any errors in Browser Console and here are the results:

Last known good:
app_name: firefox
build_date: 2018-06-22
build_file: C:\Users\rares.doghi.mozilla\mozregression\persist\2018-06-22--mozilla-central--firefox-62.0a1.en-US.win64.zip
build_type: nightly
build_url: https://archive.mozilla.org/pub/firefox/nightly/2018/06/2018-06-22-22-01-19-mozilla-central/firefox-62.0a1.en-US.win64.zip
changeset: 16a0430796894ad4b9cb86bde55f07cf57453b56
pushlog_url: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=16a0430796894ad4b9cb86bde55f07cf57453b56&tochange=1c235a552c32ba6c97e6030c497c49f72c7d48a8
repo_name: mozilla-central
repo_url: https://hg.mozilla.org/mozilla-central

First known bad:
app_name: firefox
build_date: 2018-06-23
build_file: C:\Users\rares.doghi.mozilla\mozregression\persist\2018-06-23--mozilla-central--firefox-62.0a1.en-US.win64.zip
build_type: nightly
build_url: https://archive.mozilla.org/pub/firefox/nightly/2018/06/2018-06-23-22-01-15-mozilla-central/firefox-62.0a1.en-US.win64.zip
changeset: 5dc06b87c88ef4707aeebdd9f8b8c6935edda0c4
pushlog_url: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=16a0430796894ad4b9cb86bde55f07cf57453b56&tochange=5dc06b87c88ef4707aeebdd9f8b8c6935edda0c4
repo_name: mozilla-central
repo_url: https://hg.mozilla.org/mozilla-central

I would have gone deeper but ther was not enough data to bisect.

The All Tabs Menu tries to scroll the selected tab element into view
when the All Tabs view is shown. But depending on user prefs, pinned
tabs are elided from the menu, resulting in no selected tab element.
So this can invoke undefined.scrollIntoView and result in an error.

Assignee: nobody → shmediaproductions
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6165859eb269
Resolve a benign error in the All Tabs Menu. r=dao
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch

This issue is Verified as Fixed in our latest build 99.0a1 (2022-02-10).

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: