Open Bug 1641814 Opened 4 years ago Updated 3 years ago

The tab switch warning is also displayed when clicking on an already visually sharing tab from another window

Categories

(Firefox :: Site Permissions, defect, P3)

78 Branch
Desktop
All
defect

Tracking

()

Tracking Status
firefox76 --- unaffected
firefox77 --- affected
firefox78 --- affected

People

(Reporter: danibodea, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file, 1 obsolete file)

Attached video incorrectly displayed warning.webm (obsolete) (deleted) —

Note

  • The tab-switch-warning is incorrectly displayed for a tab of another window that is already in the viewport on the screen.

Affected versions

  • Nightly v78.0a1
  • Beta v77.0 (RC)

Affected platforms

  • ALL

Steps to reproduce
Required prefs:

  • Flip privacy.webrtc.allowSilencingNotifications to true
  • Flip privacy.webrtc.legacyGlobalIndicator to false
  • Flip privacy.webrtc.sharedTabWarning to true
  1. Engage in a WebRTC meeting.
  2. Have another window on the screen that you'll be sharing.
  3. Share the whole screen.
  4. Click on a different tab from the same window to skip the first tab switch when the warning is not shown.
  5. Click on the focused tab from the other window from the screen.

Expected result

  • The tab-switch-warning is not displayed.

Actual result

  • The tab-switch-warning is displayed, even though the tab was already sharing the content of that tab.
  • The tab can properly be used for navigation, but when clicking the tab area, the warning gets displayed.

Regression range

  • This is a feature implementation issue.
Flags: behind-pref+
Attached image incorrectly displayed warning.gif (deleted) —
Attachment #9152669 - Attachment is obsolete: true

I can still reproduce this on latest Nightly. However privacy.webrtc.sharedTabWarning is still behind a pref.

Priority: -- → P3
Group: mozilla-employee-confidential
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: