New issue
Advanced search Search tips

Issue 863922 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 31
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Lifecycles/discarding needs to track WebUSB API usage

Project Member Reported by chrisha@chromium.org, Jul 16

Issue description

Sites that are actively using WebUSB should not be discarded, as there's a strong potential to break user expectations (and maybe even devices!)
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jul 18

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4451cbee920aa734d3225ddeaca8d31fe2c07f8f

commit 4451cbee920aa734d3225ddeaca8d31fe2c07f8f
Author: Nicolas Ouellet-payeur <nicolaso@chromium.org>
Date: Wed Jul 18 17:05:24 2018

Don't discard tabs with active WebUSB connections

To keep track of WebUSB state, use the same backend as the WebUSB tab-strip
icon.

Bug:  863922 
Change-Id: I89e346c3a310cfb76618a7492e2d89821c758106
Reviewed-on: https://chromium-review.googlesource.com/1140281
Reviewed-by: Sébastien Marchand <sebmarchand@chromium.org>
Reviewed-by: Chris Hamilton <chrisha@chromium.org>
Commit-Queue: Nicolas Ouellet-Payeur <nicolaso@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576098}
[modify] https://crrev.com/4451cbee920aa734d3225ddeaca8d31fe2c07f8f/chrome/browser/resource_coordinator/tab_lifecycle_unit.cc
[modify] https://crrev.com/4451cbee920aa734d3225ddeaca8d31fe2c07f8f/chrome/browser/resource_coordinator/tab_lifecycle_unit_unittest.cc

Cc: sebmarchand@chromium.org
+sebmarchand@

Can we mark this issue fixed?
Status: Fixed (was: Assigned)
Yep!

Sign in to add a comment