-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch allows creating buffer from owned memory by simply transfering the ownership rather than copying memory.
- Loading branch information
Showing
4 changed files
with
71 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
tests/wpt-harness/expectations/fetch/api/request/request-disturbed.any.js.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"Request's body: initial state": { | ||
"status": "PASS" | ||
}, | ||
"Request without body cannot be disturbed": { | ||
"status": "PASS" | ||
}, | ||
"Check cloning a disturbed request": { | ||
"status": "FAIL" | ||
}, | ||
"Check creating a new request from a disturbed request": { | ||
"status": "PASS" | ||
}, | ||
"Check creating a new request with a new body from a disturbed request": { | ||
"status": "PASS" | ||
}, | ||
"Input request used for creating new request became disturbed": { | ||
"status": "FAIL" | ||
}, | ||
"Input request used for creating new request became disturbed even if body is not used": { | ||
"status": "FAIL" | ||
}, | ||
"Check consuming a disturbed request": { | ||
"status": "PASS" | ||
}, | ||
"Request construction failure should not set \"bodyUsed\"": { | ||
"status": "FAIL" | ||
} | ||
} |