diff options
author | Graham Lowe <588088+glowe@users.noreply.github.com> | 2025-05-05 03:06:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-05 07:06:32 +0000 |
commit | 21df8b875ba2a798e21665bbba9415dd175a08c5 (patch) | |
tree | 0174022a7f925e5a21184cb8a3bc1063ba4215a4 /components/script/dom/htmlscriptelement.rs | |
parent | 5051d52796a745794b5c44f415fd4de4ed227957 (diff) | |
download | servo-21df8b875ba2a798e21665bbba9415dd175a08c5.tar.gz servo-21df8b875ba2a798e21665bbba9415dd175a08c5.zip |
Remove unspecified early return in MessagePort::Close (#36836)
This change removes the early return in `MessagePort::Close` that
occurred when the message port was detached. The
[spec](https://html.spec.whatwg.org/multipage/web-messaging.html#dom-messageport-close)
doesn't prescribe this behaviour for detached ports for this operation,
so the early return was unnecessary.
Testing: Runs ./mach test-wpt /webmessaging/ and ./mach test-wpt
/streams/
Fixes: [servo-36765](https://github.com/servo/servo/issues/36765)
Signed-off-by: Graham Lowe <graham.lowe@gmail.com>
Co-authored-by: Graham Lowe <graham.lowe@gmail.com>
Diffstat (limited to 'components/script/dom/htmlscriptelement.rs')
0 files changed, 0 insertions, 0 deletions