mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibWeb: Remove dbgln() left from debugging :^)
This commit is contained in:
parent
ac7953f945
commit
69fe4c2aca
1 changed files with 0 additions and 1 deletions
|
@ -115,7 +115,6 @@ Optional<ByteBuffer> get_buffer_source_copy(JS::Object const& buffer_source)
|
||||||
// 9. For i in the range offset to offset + length − 1, inclusive, set bytes[i − offset] to ! GetValueFromBuffer(esArrayBuffer, i, Uint8, true, Unordered).
|
// 9. For i in the range offset to offset + length − 1, inclusive, set bytes[i − offset] to ! GetValueFromBuffer(esArrayBuffer, i, Uint8, true, Unordered).
|
||||||
for (u64 i = offset; i <= offset + length - 1; ++i) {
|
for (u64 i = offset; i <= offset + length - 1; ++i) {
|
||||||
auto value = es_array_buffer->get_value<u8>(i, true, JS::ArrayBuffer::Unordered);
|
auto value = es_array_buffer->get_value<u8>(i, true, JS::ArrayBuffer::Unordered);
|
||||||
dbgln("value at i = {} is {}", i, value);
|
|
||||||
(*bytes)[i - offset] = (u8)value.as_u32();
|
(*bytes)[i - offset] = (u8)value.as_u32();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue