mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Use stream in file read operation (#35969)
* use read_all_bytes in file read operation Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * add docs Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> --------- Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
This commit is contained in:
parent
d8fc1d8bb8
commit
3ecd1c0699
2 changed files with 98 additions and 36 deletions
|
@ -210,7 +210,8 @@ DOMInterfaces = {
|
|||
},
|
||||
|
||||
'FileReader': {
|
||||
'canGc': ['Abort'],
|
||||
'canGc': ['Abort', 'ReadAsArrayBuffer', 'ReadAsDataURL', 'ReadAsText'],
|
||||
'inRealms': ['ReadAsArrayBuffer', 'ReadAsDataURL', 'ReadAsText'],
|
||||
},
|
||||
|
||||
'FileReaderSync': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue