Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 24, 2021

Backport of #36925 to release/6.0

/cc @SteveSandersonMS

Description

Supports some additional nonbubbling DOM media events.

Customer Impact

Without this fix, certain DOM events on media elements can't fire Blazor's .NET event handlers. This specifically affects a key vendor demo scenario.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

This is just adding some new event names to a list that configures how we handle events. I've manually verified that none of these event names are also used by unrelated DOM elements in bubbling ways by checking each of them in https://developer.mozilla.org/en-US/docs/Web/Events.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

Fixes #24323 and #20983

@github-actions github-actions bot requested a review from a team as a code owner September 24, 2021 15:47
@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Sep 24, 2021
@SteveSandersonMS
Copy link
Member

@mkArtakMSFT This is approved and ready to merge (or be marked for auto-merge). Can you merge it please?

@mkArtakMSFT mkArtakMSFT linked an issue Sep 24, 2021 that may be closed by this pull request
@SteveSandersonMS
Copy link
Member

/backport to release/6.0-rc2

@github-actions
Copy link
Contributor Author

Started backporting to release/6.0-rc2: https://github.com/dotnet/aspnetcore/actions/runs/1278560101

@github-actions
Copy link
Contributor Author

@SteveSandersonMS backporting to release/6.0-rc2 failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: Support more nonbubbling media events
Applying: Update .js files
warning: Cannot merge binary files: src/Components/Web.JS/dist/Release/blazor.server.js (HEAD vs. Update .js files)
Using index info to reconstruct a base tree...
M	src/Components/Web.JS/dist/Release/blazor.server.js
Falling back to patching base and 3-way merge...
Auto-merging src/Components/Web.JS/dist/Release/blazor.server.js
CONFLICT (content): Merge conflict in src/Components/Web.JS/dist/Release/blazor.server.js
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0002 Update .js files
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@mkArtakMSFT mkArtakMSFT added Servicing-approved Shiproom has approved the issue and removed Servicing-approved Shiproom has approved the issue labels Sep 27, 2021
@TanayParikh
Copy link
Contributor

Closing this out in favor of #37013.

@BrennanConroy BrennanConroy deleted the backport/pr-36925-to-release/6.0 branch October 7, 2021 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blazor WASM media onPlay event not firing
3 participants