Commit 867ba80
[browser][websocket] Fix for Close Description validation (#45536)
* [browser][websocket] Fix for Close Description validation
- Issue #45531
- The description validation exception was not being percolated through to the unit test
* Remove test code
* Address review comments. Wrap in a try/catch that will catch that exception and store it into a task to be returned.
* Fix merge conflict
* Remove active issue
Co-authored-by: Larry Ewing <lewing@microsoft.com>1 parent 65bcfd0 commit 867ba80
2 files changed
Lines changed: 27 additions & 13 deletions
File tree
- src/libraries/System.Net.WebSockets.Client
- src/System/Net/WebSockets/BrowserWebSockets
- tests
Lines changed: 27 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | 470 | | |
477 | 471 | | |
478 | 472 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
484 | 499 | | |
485 | 500 | | |
486 | 501 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
| |||
0 commit comments