dom/fetch/EmptyBody.cpp
0 → 100644
+82
−0
dom/fetch/EmptyBody.h
0 → 100644
+89
−0
+45
−1
+6
−3
+3
−10
Loading
The fetch spec treats null bodies specially. Their Body cannot become disturbed or locked and a fresh empty ReadableStream is returned whenever an attempt is made to consume the body. We currently fail a number of WPT tests in this area because we do mark the body consumed as exposed via bodyUsed.