Skip to content

Commit 3eae628

Browse files
authored
[wasm][debugger] Pass-through all scriptParsed events, including those with empty URLs (#76187)
* Send log with empty url as well. * Passing `scriptParsed` method without any action.
1 parent e2bee8a commit 3eae628

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -213,22 +213,6 @@ protected override async Task<bool> AcceptEvent(SessionId sessionId, JObject par
213213
break;
214214
}
215215

216-
case "Debugger.scriptParsed":
217-
{
218-
string url = args?["url"]?.Value<string>() ?? "";
219-
220-
switch (url)
221-
{
222-
case var _ when url == "":
223-
{
224-
logger.LogTrace($"ignoring empty: Debugger.scriptParsed {url}");
225-
return true;
226-
}
227-
}
228-
logger.LogTrace($"proxying Debugger.scriptParsed ({sessionId.sessionId}) {url} {args}");
229-
break;
230-
}
231-
232216
case "Target.attachedToTarget":
233217
{
234218
if (args["targetInfo"]["type"]?.ToString() == "page")

0 commit comments

Comments
 (0)