servo/components/script_bindings
Kousuke Takaki 8a3f62933b
script: Implement Blob::bytes() (#35151)
* script: Implement Blob.bytes()

Signed-off-by: yoseio <98276492+yoseio@users.noreply.github.com>

* improve read_all_bytes

Signed-off-by: yoseio <98276492+yoseio@users.noreply.github.com>

* fix read_all_bytes

Signed-off-by: yoseio <98276492+yoseio@users.noreply.github.com>

* fix bug

Signed-off-by: yoseio <98276492+yoseio@users.noreply.github.com>

* something went wrong

Signed-off-by: Kousuke Takaki <98276492+yoseio@users.noreply.github.com>

* fix read loop

Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>

* add use of can_gc to promise code following rebase

Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>

* fix rooting of fulfillment handler

Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>

* Update test expectations

Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>

* use dom for reader in read loop fulfillment handler

Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>

* use the global of the reader in read loop fulfillment handler

Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>

* remove FAIl expectations for blob methods in detached iframe

Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>

---------

Signed-off-by: yoseio <98276492+yoseio@users.noreply.github.com>
Signed-off-by: Kousuke Takaki <98276492+yoseio@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
Co-authored-by: gterzian <2792687+gterzian@users.noreply.github.com>
Co-authored-by: Taym Haddadi <haddadi.taym@gmail.com>
2025-02-27 19:25:27 +00:00
..
codegen script: Implement Blob::bytes() (#35151) 2025-02-27 19:25:27 +00:00
webidls script: Implement Blob::bytes() (#35151) 2025-02-27 19:25:27 +00:00
build.rs script: Move code generation and webidl files to new script_bindings crate. (#35157) 2025-01-24 20:47:43 +00:00
callback.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
Cargo.toml Make WebBluetooth an optional feature. (#35479) 2025-02-18 04:13:43 +00:00
constant.rs Move more bindings code to script_bindings (#35578) 2025-02-22 04:46:56 +00:00
conversions.rs Move more bindings code to script_bindings (#35578) 2025-02-22 04:46:56 +00:00
error.rs Move more bindings types to script_bindings (#35620) 2025-02-23 14:25:46 +00:00
inheritance.rs Move more foundational types to script_bindings (#35280) 2025-02-04 10:36:30 +00:00
iterable.rs Move more bindings types to script_bindings (#35620) 2025-02-23 14:25:46 +00:00
lib.rs Move more bindings types to script_bindings (#35620) 2025-02-23 14:25:46 +00:00
like.rs Move more bindings types to script_bindings (#35620) 2025-02-23 14:25:46 +00:00
reflector.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
root.rs bindings: Fix support for interface members in setlike/maplike. (#35651) 2025-02-27 07:04:11 +00:00
script_runtime.rs Move more bindings code to script_bindings (#35578) 2025-02-22 04:46:56 +00:00
str.rs dom: Always replace unpaired surrogates when handling page text (#35381) 2025-02-09 08:56:05 +00:00
trace.rs Move more bindings types to script_bindings (#35620) 2025-02-23 14:25:46 +00:00
utils.rs Move more foundational types to script_bindings (#35280) 2025-02-04 10:36:30 +00:00
weakref.rs Move more bindings types to script_bindings (#35620) 2025-02-23 14:25:46 +00:00