Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /webtransport/datagram-cancel-crash.https.window.html - WPT Dashboard Interop Dashboard
// crash then the test passed.
test(() => {
const iframeTag = document.createElement('iframe');
document.body.appendChild(iframeTag);
iframeTag.remove();
const datagrams = wt.datagrams;
const reader = datagrams.readable;
reader.cancel();
}, 'call cancel() on stream in destroyed realm');