[CE] Add onerror attribute and change error type for HTMLUserMediaElement. [chromium/src : main]

0 views
Skip to first unread message

Ravjit Uppal (Gerrit)

unread,
May 29, 2026, 10:12:34 AM (3 days ago) May 29
to Guido Urdaneta, Thomas Nguyen, srirama chandra sekhar, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, tommyw+w...@chromium.org, blink-revie...@chromium.org, jmedle...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, eric.c...@apple.com
Attention needed from Guido Urdaneta and Thomas Nguyen

Ravjit Uppal voted

Auto-Submit+1
Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Guido Urdaneta
  • Thomas Nguyen
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: If97f8a5a087b6546c22dc76e898a5821b4bd96d9
Gerrit-Change-Number: 7881459
Gerrit-PatchSet: 3
Gerrit-Owner: Ravjit Uppal <rav...@chromium.org>
Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
Gerrit-Reviewer: Ravjit Uppal <rav...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Guido Urdaneta <gui...@chromium.org>
Gerrit-Comment-Date: Fri, 29 May 2026 14:12:15 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Ravjit Uppal (Gerrit)

unread,
May 29, 2026, 10:53:13 AM (3 days ago) May 29
to Guido Urdaneta, Thomas Nguyen, srirama chandra sekhar, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, tommyw+w...@chromium.org, blink-revie...@chromium.org, jmedle...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, eric.c...@apple.com
Attention needed from Guido Urdaneta and Thomas Nguyen

Ravjit Uppal voted

Auto-Submit+1
Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Guido Urdaneta
  • Thomas Nguyen
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: If97f8a5a087b6546c22dc76e898a5821b4bd96d9
Gerrit-Change-Number: 7881459
Gerrit-PatchSet: 4
Gerrit-Owner: Ravjit Uppal <rav...@chromium.org>
Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
Gerrit-Reviewer: Ravjit Uppal <rav...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Guido Urdaneta <gui...@chromium.org>
Gerrit-Comment-Date: Fri, 29 May 2026 14:52:58 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Thomas Nguyen (Gerrit)

unread,
5:54 AM (10 hours ago) 5:54 AM
to Ravjit Uppal, Guido Urdaneta, srirama chandra sekhar, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, tommyw+w...@chromium.org, blink-revie...@chromium.org, jmedle...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, eric.c...@apple.com
Attention needed from Guido Urdaneta and Ravjit Uppal

Thomas Nguyen voted and added 1 comment

Votes added by Thomas Nguyen

Code-Review+1

1 comment

File third_party/blink/renderer/modules/mediastream/user_media_request_provider_impl.cc
Line 58, Patchset 4 (Latest): dom_exception = error->GetAsOverconstrainedError();
Thomas Nguyen . unresolved

While an OverconstrainedError is not anticipated (because we will filter the constraints before calling gUM), it might be possible since our behavior is entirely dependent on the gUM call.

Rather than using a harsh CHECK, we can include a note and a reasonable console log for this case. WDYT?

Open in Gerrit

Related details

Attention is currently required from:
  • Guido Urdaneta
  • Ravjit Uppal
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement 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: If97f8a5a087b6546c22dc76e898a5821b4bd96d9
    Gerrit-Change-Number: 7881459
    Gerrit-PatchSet: 4
    Gerrit-Owner: Ravjit Uppal <rav...@chromium.org>
    Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
    Gerrit-Reviewer: Ravjit Uppal <rav...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
    Gerrit-Attention: Ravjit Uppal <rav...@chromium.org>
    Gerrit-Attention: Guido Urdaneta <gui...@chromium.org>
    Gerrit-Comment-Date: Mon, 01 Jun 2026 09:54:32 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Guido Urdaneta (Gerrit)

    unread,
    11:35 AM (4 hours ago) 11:35 AM
    to Ravjit Uppal, Thomas Nguyen, srirama chandra sekhar, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, tommyw+w...@chromium.org, blink-revie...@chromium.org, jmedle...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, eric.c...@apple.com
    Attention needed from Ravjit Uppal

    Guido Urdaneta voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ravjit Uppal
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement 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: If97f8a5a087b6546c22dc76e898a5821b4bd96d9
    Gerrit-Change-Number: 7881459
    Gerrit-PatchSet: 4
    Gerrit-Owner: Ravjit Uppal <rav...@chromium.org>
    Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
    Gerrit-Reviewer: Ravjit Uppal <rav...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
    Gerrit-Attention: Ravjit Uppal <rav...@chromium.org>
    Gerrit-Comment-Date: Mon, 01 Jun 2026 15:35:06 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ravjit Uppal (Gerrit)

    unread,
    12:25 PM (3 hours ago) 12:25 PM
    to Guido Urdaneta, Thomas Nguyen, srirama chandra sekhar, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, tommyw+w...@chromium.org, blink-revie...@chromium.org, jmedle...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, eric.c...@apple.com
    Attention needed from Thomas Nguyen

    Ravjit Uppal added 1 comment

    File third_party/blink/renderer/modules/mediastream/user_media_request_provider_impl.cc
    Line 58, Patchset 4 (Latest): dom_exception = error->GetAsOverconstrainedError();
    Thomas Nguyen . unresolved

    While an OverconstrainedError is not anticipated (because we will filter the constraints before calling gUM), it might be possible since our behavior is entirely dependent on the gUM call.

    Rather than using a harsh CHECK, we can include a note and a reasonable console log for this case. WDYT?

    Ravjit Uppal

    Could you please clarify the comment? I might have misunderstood, but OverconsrainedError can still occur, for example the page sets an exact requirement that the user's webcam doesn't support.
    `video: { width: { exact: 3840 } }` (demanding 4K) on a 1080p webcam.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Thomas Nguyen
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement 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: If97f8a5a087b6546c22dc76e898a5821b4bd96d9
    Gerrit-Change-Number: 7881459
    Gerrit-PatchSet: 4
    Gerrit-Owner: Ravjit Uppal <rav...@chromium.org>
    Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
    Gerrit-Reviewer: Ravjit Uppal <rav...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Mon, 01 Jun 2026 16:25:04 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Thomas Nguyen <tun...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages