Skip to content

[release/6.0] [wasm][debugger] Never send messages from our internal protocol extensions to the browser - #77620

Merged
carlossanlop merged 1 commit into
dotnet:release/6.0from
thaystg:thays_fix_1644970_6.0
Nov 3, 2022
Merged

[release/6.0] [wasm][debugger] Never send messages from our internal protocol extensions to the browser#77620
carlossanlop merged 1 commit into
dotnet:release/6.0from
thaystg:thays_fix_1644970_6.0

Conversation

@thaystg

@thaystgthaystg commented Oct 28, 2022

Copy link
Copy Markdown
Member

Backport of #77616 to release/6.0

/cc @thaystg

Customer Impact

Messages like this are printed in the console:
fail: Microsoft.WebAssembly.Diagnostics.DevToolsProxy[0] sending error response for id: msg-B7CCCEF5694F2EF11713AE7F86743A45:::1017 -> [Result: IsOk: False, IsErr: True, Value: , Error: { "code": -32601, "message": "'DotnetDebugger.setDebuggerProperty' wasn't found" } ]

Testing

Manually tested.

Risk

Low risk, In this PR we avoid sending DotnetDebugger.* commands that are our own extension, and unknown to the browser.

IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #77616 to release/6.0

/cc @thaystg

Customer Impact

Testing

Risk

IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

Author:thaystg
Assignees:-
Labels:

area-Debugger-mono

Milestone:-

@thaystgthaystg added the Servicing-consider Issue for next servicing release review label Oct 28, 2022
@radicalradical changed the title [release/6.0] [wasm][debugger] Ignore messages from protocol extensions even if it's from an unknown context[release/6.0] [wasm][debugger] Never send messages from our internal protocol extensions to the browserOct 28, 2022
@carlossanlop

Copy link
Copy Markdown
Contributor

@thaystg I see this was approved for 7.0 via email, but I don't see it was approved for 6.0. Can you please confirm it's approved for 6.0 as well?

@marek-safarmarek-safar added this to the 6.0.x milestone Nov 3, 2022
@rbhandarbhanda added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Nov 3, 2022
@rbhandarbhanda modified the milestones: 6.0.x, 6.0.12Nov 3, 2022
@thaystg

Copy link
Copy Markdown
MemberAuthor

The CI failures are unrelated.

@carlossanlop

Copy link
Copy Markdown
Contributor

Thanks. Ready to merge.

@carlossanlop
carlossanlop merged commit 46d3beb into dotnet:release/6.0Nov 3, 2022
@ghostghost locked as resolved and limited conversation to collaborators Dec 4, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Debugger-monoServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@thaystg@carlossanlop@radical@marek-safar@rbhanda