diff options
author | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2023-03-01 01:39:54 +0000 |
---|---|---|
committer | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2023-03-01 01:42:49 +0000 |
commit | d2eeed132bcb6dbd9264f98a871e5da3c092eb71 (patch) | |
tree | 83f4c9a26e7df3c5e1abe584e40fef580b99cfb9 /tests/wpt/web-platform-tests/FileAPI/blob | |
parent | 94c4e1cd1a243e3569a7edd83e469d908273f70f (diff) | |
download | servo-d2eeed132bcb6dbd9264f98a871e5da3c092eb71.tar.gz servo-d2eeed132bcb6dbd9264f98a871e5da3c092eb71.zip |
Update web-platform-tests to revision b'49287d0e660dd6704c508ef20c9d53c13aee296b'
Diffstat (limited to 'tests/wpt/web-platform-tests/FileAPI/blob')
-rw-r--r-- | tests/wpt/web-platform-tests/FileAPI/blob/Blob-stream-sync-xhr-crash.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/FileAPI/blob/Blob-stream-sync-xhr-crash.html b/tests/wpt/web-platform-tests/FileAPI/blob/Blob-stream-sync-xhr-crash.html new file mode 100644 index 00000000000..fe54fb615b1 --- /dev/null +++ b/tests/wpt/web-platform-tests/FileAPI/blob/Blob-stream-sync-xhr-crash.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<script> + const blob = new Blob([1, 2]); + const readable = blob.stream() + const writable = new WritableStream({}, { + size() { + let xhr = new XMLHttpRequest() + xhr.open("POST", "1", false) + xhr.send() + } + }) + readable.pipeThrough({ readable, writable }) +</script> |