Commit cf73ee3c authored by Sebastien Marchand's avatar Sebastien Marchand Committed by Commit Bot

RC: Document the fact that using WS doesn't prevent freezing/discarding

The fact that the LIVE_STATE_USING_WEB_SOCKETS reason exists might
confuse some devs who could assume that using a WebSocket will protect
their page, this add a comment to specify that this heuristic isn't
currently used.

Change-Id: Ibc6034a53c87291993dfa66094b69a2fa55aa0cf
Reviewed-on: https://chromium-review.googlesource.com/c/1319771Reviewed-by: default avatarFrançois Doray <fdoray@chromium.org>
Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org>
Cr-Commit-Position: refs/heads/master@{#605750}
parent 9ddf2d50
......@@ -63,6 +63,7 @@ enum class DecisionFailureReason : int32_t {
LIVE_STATE_PLAYING_AUDIO,
// The tab is opted out of the intervention as it is currently using
// WebSockets.
// NOTE: This heuristic isn't used in the freezing/discarding interventions.
LIVE_STATE_USING_WEB_SOCKETS,
// The tab is opted out of the intervention as it is currently WebUSB.
LIVE_STATE_USING_WEB_USB,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment