[Extensions] Silence unhandled promise rejections in extensions-sidebar [chromium/src : main]

0 views
Skip to first unread message

Justin Lulejian (Gerrit)

unread,
Jul 1, 2026, 5:34:18 PM (5 days ago) Jul 1
to Oliver Dunk, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, devtools...@chromium.org, blink-...@chromium.org, chromium-a...@chromium.org, devtools-re...@chromium.org, extension...@chromium.org
Attention needed from Oliver Dunk

Justin Lulejian voted Auto-Submit+1

Auto-Submit+1
Open in Gerrit

Related details

Attention is currently required from:
  • Oliver Dunk
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
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: I5574e34c39da8f6b160ea263f16b3b443578a15a
Gerrit-Change-Number: 8032701
Gerrit-PatchSet: 1
Gerrit-Owner: Justin Lulejian <jlul...@chromium.org>
Gerrit-Reviewer: Justin Lulejian <jlul...@chromium.org>
Gerrit-Reviewer: Oliver Dunk <olive...@chromium.org>
Gerrit-Attention: Oliver Dunk <olive...@chromium.org>
Gerrit-Comment-Date: Wed, 01 Jul 2026 21:34:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Oliver Dunk (Gerrit)

unread,
Jul 2, 2026, 7:48:15 AM (4 days ago) Jul 2
to Justin Lulejian, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, devtools...@chromium.org, blink-...@chromium.org, chromium-a...@chromium.org, devtools-re...@chromium.org, extension...@chromium.org
Attention needed from Justin Lulejian

Oliver Dunk added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Oliver Dunk . resolved

Would you be able to share a link to an example test failure you are trying to fix? This doesn't seem completely unreasonable, but it is hard to tell if this is the right solution based on just the other CLs linked.

Open in Gerrit

Related details

Attention is currently required from:
  • Justin Lulejian
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
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: I5574e34c39da8f6b160ea263f16b3b443578a15a
Gerrit-Change-Number: 8032701
Gerrit-PatchSet: 1
Gerrit-Owner: Justin Lulejian <jlul...@chromium.org>
Gerrit-Reviewer: Justin Lulejian <jlul...@chromium.org>
Gerrit-Reviewer: Oliver Dunk <olive...@chromium.org>
Gerrit-Attention: Justin Lulejian <jlul...@chromium.org>
Gerrit-Comment-Date: Thu, 02 Jul 2026 11:47:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Justin Lulejian (Gerrit)

unread,
9:48 AM (6 hours ago) 9:48 AM
to Oliver Dunk, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, devtools...@chromium.org, blink-...@chromium.org, chromium-a...@chromium.org, devtools-re...@chromium.org, extension...@chromium.org
Attention needed from Oliver Dunk

Justin Lulejian added 1 comment

Patchset-level comments
Oliver Dunk . unresolved

Would you be able to share a link to an example test failure you are trying to fix? This doesn't seem completely unreasonable, but it is hard to tell if this is the right solution based on just the other CLs linked.

Justin Lulejian

Hi Oliver!

Here's a link to the test failure: [failed - devtools_frontend_linux_blink_light_rel_fastbuild 42207](https://ci.chromium.org/ui/p/devtools-frontend/builders/try/devtools_frontend_linux_blink_light_rel_fastbuild/42207/overview). This is technically from patchset 16 of [\[Extensions\] Promisify chrome.devtools.panels namespace (7802276)](https://crrev.com/c/7802276/16?tab=checks) since I'm hitting some different failures on the latest patchset.

You'll see it in the text diff. The failure shows `Uncaught exception in extension context: Script error. [:0]` which is the uncaught promise error throwing.

Open in Gerrit

Related details

Attention is currently required from:
  • Oliver Dunk
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    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: I5574e34c39da8f6b160ea263f16b3b443578a15a
    Gerrit-Change-Number: 8032701
    Gerrit-PatchSet: 1
    Gerrit-Owner: Justin Lulejian <jlul...@chromium.org>
    Gerrit-Reviewer: Justin Lulejian <jlul...@chromium.org>
    Gerrit-Reviewer: Oliver Dunk <olive...@chromium.org>
    Gerrit-Attention: Oliver Dunk <olive...@chromium.org>
    Gerrit-Comment-Date: Mon, 06 Jul 2026 13:48:12 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Oliver Dunk <olive...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Oliver Dunk (Gerrit)

    unread,
    9:58 AM (6 hours ago) 9:58 AM
    to Justin Lulejian, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, devtools...@chromium.org, blink-...@chromium.org, chromium-a...@chromium.org, devtools-re...@chromium.org, extension...@chromium.org
    Attention needed from Justin Lulejian

    Oliver Dunk added 1 comment

    Patchset-level comments
    Oliver Dunk . unresolved

    Would you be able to share a link to an example test failure you are trying to fix? This doesn't seem completely unreasonable, but it is hard to tell if this is the right solution based on just the other CLs linked.

    Justin Lulejian

    Hi Oliver!

    Here's a link to the test failure: [failed - devtools_frontend_linux_blink_light_rel_fastbuild 42207](https://ci.chromium.org/ui/p/devtools-frontend/builders/try/devtools_frontend_linux_blink_light_rel_fastbuild/42207/overview). This is technically from patchset 16 of [\[Extensions\] Promisify chrome.devtools.panels namespace (7802276)](https://crrev.com/c/7802276/16?tab=checks) since I'm hitting some different failures on the latest patchset.

    You'll see it in the text diff. The failure shows `Uncaught exception in extension context: Script error. [:0]` which is the uncaught promise error throwing.

    Oliver Dunk

    Hmm, I'm still a bit confused here. It seems like `extension_testElementsSidebarSetObject` is failing. Doesn't that mean an API call is returning a rejected Promise unexpectedly?

    Maybe I am misunderstanding but I'm a bit worried we are just bypassing the test failure here and letting a genuine failing test behave as a pass.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Justin Lulejian
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    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: I5574e34c39da8f6b160ea263f16b3b443578a15a
    Gerrit-Change-Number: 8032701
    Gerrit-PatchSet: 1
    Gerrit-Owner: Justin Lulejian <jlul...@chromium.org>
    Gerrit-Reviewer: Justin Lulejian <jlul...@chromium.org>
    Gerrit-Reviewer: Oliver Dunk <olive...@chromium.org>
    Gerrit-Attention: Justin Lulejian <jlul...@chromium.org>
    Gerrit-Comment-Date: Mon, 06 Jul 2026 13:58:21 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Justin Lulejian <jlul...@chromium.org>
    Comment-In-Reply-To: Oliver Dunk <olive...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages