Shared Storage: Log fine-grained non-web-visible worklet error types [chromium/src : main]

1 view
Skip to first unread message

Cammie Smith Barnes (Gerrit)

unread,
Apr 19, 2024, 11:01:14 PMApr 19
to Yao Xiao, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, dpr...@google.com, kinuko...@chromium.org
Attention needed from Yao Xiao

Cammie Smith Barnes voted and added 1 comment

Votes added by Cammie Smith Barnes

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Cammie Smith Barnes . resolved

yaoxia@, PTAL, thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Yao Xiao
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
Gerrit-Change-Number: 5462289
Gerrit-PatchSet: 3
Gerrit-Owner: Cammie Smith Barnes <cam...@chromium.org>
Gerrit-Reviewer: Cammie Smith Barnes <cam...@chromium.org>
Gerrit-Reviewer: Yao Xiao <yao...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Yao Xiao <yao...@chromium.org>
Gerrit-Comment-Date: Sat, 20 Apr 2024 03:01:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Dominique Fauteux-Chapleau (Gerrit)

unread,
Apr 22, 2024, 1:21:49 PMApr 22
to Cammie Smith Barnes, dpr...@google.com, Yao Xiao, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
Attention needed from Yao Xiao

Dominique Fauteux-Chapleau removed dpr...@google.com from this change

Deleted Reviewers:
Open in Gerrit

Related details

Attention is currently required from:
  • Yao Xiao
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: deleteReviewer
satisfied_requirement
unsatisfied_requirement
open
diffy

Yao Xiao (Gerrit)

unread,
Apr 22, 2024, 1:54:08 PMApr 22
to Cammie Smith Barnes, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
Attention needed from Cammie Smith Barnes

Yao Xiao voted and added 5 comments

Votes added by Yao Xiao

Code-Review+1

5 comments

Patchset-level comments
Yao Xiao . resolved

LGTM % comments

File content/browser/shared_storage/shared_storage_worklet_host.cc
Line 15, Patchset 3 (Latest):#include "base/containers/contains.h"
Yao Xiao . unresolved

Not needed if using equality checks (see the comment below).

Line 65, Patchset 3 (Latest): if (base::Contains(error_message,
blink::kSharedStorageModuleScriptNotLoadedErrorMessage)) {
Yao Xiao . unresolved

Can we just check `if (error_message == blink::kSharedStorageModuleScriptNotLoadedErrorMessage) { ... }`. This should be faster.

Same below.

File third_party/blink/public/common/shared_storage/shared_storage_utils.h
Line 53, Patchset 3 (Latest):// for example,insert "OBSOLETE_" in the value's name after the inistial "k" to
Yao Xiao . unresolved

Add a space after comma

File tools/metrics/histograms/metadata/storage/enums.xml
Line 223, Patchset 3 (Latest): <int value="1" label="AddModuleNonWebVisible">
Yao Xiao . unresolved

Per [this guideline](https://chromium.googlesource.com/chromium/src/tools/+/HEAD/metrics/histograms/README.md#remove-the-entry ), should this be updated to `(Obsolete) AddModuleNonWebVisible. Replaced by finer-grained types in 2024/04.`?

Same for `RunNonWebVisible` and `SelectURLNonWebVisible`.

Open in Gerrit

Related details

Attention is currently required from:
  • Cammie Smith Barnes
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
Gerrit-Change-Number: 5462289
Gerrit-PatchSet: 3
Gerrit-Owner: Cammie Smith Barnes <cam...@chromium.org>
Gerrit-Reviewer: Cammie Smith Barnes <cam...@chromium.org>
Gerrit-Reviewer: Yao Xiao <yao...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Cammie Smith Barnes <cam...@chromium.org>
Gerrit-Comment-Date: Mon, 22 Apr 2024 17:53:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Cammie Smith Barnes (Gerrit)

unread,
Apr 22, 2024, 3:06:35 PMApr 22
to Yao Xiao, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org

Cammie Smith Barnes added 4 comments

File content/browser/shared_storage/shared_storage_worklet_host.cc
Line 15, Patchset 3:#include "base/containers/contains.h"
Yao Xiao . resolved

Not needed if using equality checks (see the comment below).

Cammie Smith Barnes

Done

Line 65, Patchset 3: if (base::Contains(error_message,
blink::kSharedStorageModuleScriptNotLoadedErrorMessage)) {
Yao Xiao . resolved

Can we just check `if (error_message == blink::kSharedStorageModuleScriptNotLoadedErrorMessage) { ... }`. This should be faster.

Same below.

Cammie Smith Barnes

Done

File third_party/blink/public/common/shared_storage/shared_storage_utils.h
Line 53, Patchset 3:// for example,insert "OBSOLETE_" in the value's name after the inistial "k" to
Yao Xiao . resolved

Add a space after comma

Cammie Smith Barnes

Done

File tools/metrics/histograms/metadata/storage/enums.xml
Line 223, Patchset 3: <int value="1" label="AddModuleNonWebVisible">
Yao Xiao . resolved

Per [this guideline](https://chromium.googlesource.com/chromium/src/tools/+/HEAD/metrics/histograms/README.md#remove-the-entry ), should this be updated to `(Obsolete) AddModuleNonWebVisible. Replaced by finer-grained types in 2024/04.`?

Same for `RunNonWebVisible` and `SelectURLNonWebVisible`.

Cammie Smith Barnes

Done

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
Gerrit-Change-Number: 5462289
Gerrit-PatchSet: 4
Gerrit-Owner: Cammie Smith Barnes <cam...@chromium.org>
Gerrit-Reviewer: Cammie Smith Barnes <cam...@chromium.org>
Gerrit-Reviewer: Yao Xiao <yao...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Comment-Date: Mon, 22 Apr 2024 19:06:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Yao Xiao <yao...@chromium.org>
satisfied_requirement
open
diffy

Cammie Smith Barnes (Gerrit)

unread,
Apr 22, 2024, 6:48:48 PMApr 22
to Ayu Ishii, Yao Xiao, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
Attention needed from Ayu Ishii

Cammie Smith Barnes voted and added 1 comment

Votes added by Cammie Smith Barnes

Commit-Queue+1

1 comment

Patchset-level comments
Cammie Smith Barnes . resolved

ayui@, PTAL at enums, thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Ayu Ishii
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
Gerrit-Change-Number: 5462289
Gerrit-PatchSet: 10
Gerrit-Owner: Cammie Smith Barnes <cam...@chromium.org>
Gerrit-Reviewer: Ayu Ishii <ay...@chromium.org>
Gerrit-Reviewer: Cammie Smith Barnes <cam...@chromium.org>
Gerrit-Reviewer: Yao Xiao <yao...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Ayu Ishii <ay...@chromium.org>
Gerrit-Comment-Date: Mon, 22 Apr 2024 22:48:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Cammie Smith Barnes (Gerrit)

unread,
Apr 22, 2024, 6:53:03 PMApr 22
to Ayu Ishii, Yao Xiao, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
Attention needed from Ayu Ishii

Cammie Smith Barnes added 1 comment

Patchset-level comments
Cammie Smith Barnes . resolved

(Ignore compile failures on ios simulator for now, as it's a broader CQ issue, unrelated to this CL.)

Open in Gerrit

Related details

Attention is currently required from:
  • Ayu Ishii
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
Gerrit-Change-Number: 5462289
Gerrit-PatchSet: 10
Gerrit-Owner: Cammie Smith Barnes <cam...@chromium.org>
Gerrit-Reviewer: Ayu Ishii <ay...@chromium.org>
Gerrit-Reviewer: Cammie Smith Barnes <cam...@chromium.org>
Gerrit-Reviewer: Yao Xiao <yao...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Ayu Ishii <ay...@chromium.org>
Gerrit-Comment-Date: Mon, 22 Apr 2024 22:52:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Yao Xiao (Gerrit)

unread,
Apr 22, 2024, 8:07:52 PMApr 22
to Cammie Smith Barnes, Ayu Ishii, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
Attention needed from Ayu Ishii and Cammie Smith Barnes

Yao Xiao voted and added 3 comments

Votes added by Yao Xiao

Code-Review+1

3 comments

File content/browser/shared_storage/shared_storage_worklet_host.cc
Line 665, Patchset 10 (Latest): std::move(callback).Run(/*success=*/true, /*error_message=*/{});
Yao Xiao . unresolved

How about recording the `kSuccess` metric in the browser and not the renderer? That seems straightforward -- only 3 additions and 3 removals.

The flaw exists in today's recording anyway: "NonWebVisible" errors are captured in the browser before the renderer callback executes -- they can be recorded even if the callback does not invoke (e.g. racing with renderer shut down, etc). So, moving 'kSuccess' to the browser won't introduce new error types.

But if we double counting, it's a new type of error. The bucket proportions would all be wrong by a little / we would need to manually recalculate, which isn't great. WDYT?

File tools/metrics/histograms/metadata/storage/enums.xml
Line 264, Patchset 10 (Latest): Error in `run()` not visible to the document: croos-origin worklet operation
Yao Xiao . unresolved

"cross". Same for `SelectURLNonWebVisibleCrossOriginSharedStorageDisabled` below.

Line 266, Patchset 10 (Latest): site..
Yao Xiao . unresolved

Remove the extra period. Same for `SelectURLNonWebVisibleCrossOriginSharedStorageDisabled` below.

Open in Gerrit

Related details

Attention is currently required from:
  • Ayu Ishii
  • Cammie Smith Barnes
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
    Gerrit-Change-Number: 5462289
    Gerrit-PatchSet: 10
    Gerrit-Owner: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Ayu Ishii <ay...@chromium.org>
    Gerrit-Reviewer: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Yao Xiao <yao...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Attention: Ayu Ishii <ay...@chromium.org>
    Gerrit-Attention: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Comment-Date: Tue, 23 Apr 2024 00:07:42 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Cammie Smith Barnes (Gerrit)

    unread,
    Apr 23, 2024, 12:10:57 PMApr 23
    to Ayu Ishii, Yao Xiao, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
    Attention needed from Ayu Ishii

    Cammie Smith Barnes added 3 comments

    File content/browser/shared_storage/shared_storage_worklet_host.cc
    Line 665, Patchset 10: std::move(callback).Run(/*success=*/true, /*error_message=*/{});
    Yao Xiao . resolved

    How about recording the `kSuccess` metric in the browser and not the renderer? That seems straightforward -- only 3 additions and 3 removals.

    The flaw exists in today's recording anyway: "NonWebVisible" errors are captured in the browser before the renderer callback executes -- they can be recorded even if the callback does not invoke (e.g. racing with renderer shut down, etc). So, moving 'kSuccess' to the browser won't introduce new error types.

    But if we double counting, it's a new type of error. The bucket proportions would all be wrong by a little / we would need to manually recalculate, which isn't great. WDYT?

    Cammie Smith Barnes

    Sounds good, will move kSuccess logging for the three operations in question to the browser.

    I've decided to do that in a separate CL, so here I just add in the error types to the enum that I plan to use, so that the numbering is nice, and I update the TODOs to note which ones should go where.

    (I discovered while writing tests that it was just a little fiddly, and it seems that it merits its own CL.)

    File tools/metrics/histograms/metadata/storage/enums.xml
    Line 264, Patchset 10: Error in `run()` not visible to the document: croos-origin worklet operation
    Yao Xiao . resolved

    "cross". Same for `SelectURLNonWebVisibleCrossOriginSharedStorageDisabled` below.

    Cammie Smith Barnes

    Done

    Line 266, Patchset 10: site..
    Yao Xiao . resolved

    Remove the extra period. Same for `SelectURLNonWebVisibleCrossOriginSharedStorageDisabled` below.

    Cammie Smith Barnes

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ayu Ishii
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
    Gerrit-Change-Number: 5462289
    Gerrit-PatchSet: 11
    Gerrit-Owner: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Ayu Ishii <ay...@chromium.org>
    Gerrit-Reviewer: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Yao Xiao <yao...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Attention: Ayu Ishii <ay...@chromium.org>
    Gerrit-Comment-Date: Tue, 23 Apr 2024 16:10:45 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Yao Xiao <yao...@chromium.org>
    satisfied_requirement
    open
    diffy

    Ayu Ishii (Gerrit)

    unread,
    Apr 23, 2024, 12:24:09 PMApr 23
    to Cammie Smith Barnes, Yao Xiao, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
    Attention needed from Cammie Smith Barnes

    Ayu Ishii voted and added 1 comment

    Votes added by Ayu Ishii

    Code-Review+1

    1 comment

    Patchset-level comments
    File-level comment, Patchset 11 (Latest):
    Ayu Ishii . resolved

    LGTM - enums

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Cammie Smith Barnes
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
    Gerrit-Change-Number: 5462289
    Gerrit-PatchSet: 11
    Gerrit-Owner: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Ayu Ishii <ay...@chromium.org>
    Gerrit-Reviewer: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Yao Xiao <yao...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Attention: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Comment-Date: Tue, 23 Apr 2024 16:23:54 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Yao Xiao (Gerrit)

    unread,
    Apr 23, 2024, 5:12:57 PMApr 23
    to Cammie Smith Barnes, Ayu Ishii, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, bmcquad...@chromium.org, haoliu...@chromium.org, loading-rev...@chromium.org, speed-metr...@chromium.org, csharris...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
    Attention needed from Ayu Ishii and Cammie Smith Barnes

    Yao Xiao voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ayu Ishii
    • Cammie Smith Barnes
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
    Gerrit-Change-Number: 5462289
    Gerrit-PatchSet: 13
    Gerrit-Owner: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Ayu Ishii <ay...@chromium.org>
    Gerrit-Reviewer: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Yao Xiao <yao...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Attention: Ayu Ishii <ay...@chromium.org>
    Gerrit-Attention: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Comment-Date: Tue, 23 Apr 2024 21:12:45 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Cammie Smith Barnes (Gerrit)

    unread,
    Apr 24, 2024, 12:22:52 PMApr 24
    to Yao Xiao, Ayu Ishii, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, bmcquad...@chromium.org, haoliu...@chromium.org, loading-rev...@chromium.org, speed-metr...@chromium.org, csharris...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
    Attention needed from Ayu Ishii

    Cammie Smith Barnes voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ayu Ishii
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
    Gerrit-Change-Number: 5462289
    Gerrit-PatchSet: 13
    Gerrit-Owner: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Ayu Ishii <ay...@chromium.org>
    Gerrit-Reviewer: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Yao Xiao <yao...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Attention: Ayu Ishii <ay...@chromium.org>
    Gerrit-Comment-Date: Wed, 24 Apr 2024 16:22:35 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Apr 24, 2024, 12:26:37 PMApr 24
    to Cammie Smith Barnes, Yao Xiao, Ayu Ishii, Chromium Metrics Reviews, AyeAye, chromium...@chromium.org, bmcquad...@chromium.org, haoliu...@chromium.org, loading-rev...@chromium.org, speed-metr...@chromium.org, csharris...@chromium.org, blundell+...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    Shared Storage: Log fine-grained non-web-visible worklet error types

    Previously in shared storage worklet UMA metrics, we had broad error
    buckets for the method and whether or not the error is web-visible.

    The web-visible errors are something that developers can get feedback
    on directly. But in a recent spike of non-web-visible errors, it would
    have been nice to have finer-grained buckets to help see what was
    going on. Here we split up the non-web-visible errors into more
    specific buckets.
    Bug: 335923910
    Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
    Reviewed-by: Yao Xiao <yao...@chromium.org>
    Commit-Queue: Cammie Smith Barnes <cam...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1291918}
    Files:
    • M chrome/browser/storage/shared_storage_browsertest.cc
    • M content/browser/shared_storage/shared_storage_document_service_impl.cc
    • M content/browser/shared_storage/shared_storage_worklet_host.cc
    • M third_party/blink/public/common/shared_storage/shared_storage_utils.h
    • M third_party/blink/renderer/modules/shared_storage/shared_storage_worklet_global_scope.cc
    • M tools/metrics/histograms/metadata/storage/enums.xml
    Change size: L
    Delta: 6 files changed, 308 insertions(+), 55 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Yao Xiao
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I6609dc2aa888b8eafc76b4cb7924b894fba16f5e
    Gerrit-Change-Number: 5462289
    Gerrit-PatchSet: 14
    Gerrit-Owner: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Ayu Ishii <ay...@chromium.org>
    Gerrit-Reviewer: Cammie Smith Barnes <cam...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Yao Xiao <yao...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages