Higher performance.now() precision (closer to FFs behavior)

Much better v8 object debugging/printing in debug mode

Window.requestIdleCallback and cancelIdleCallback

Don't prematurely close stream on empty read - queue promises.
This commit is contained in:
Karl Seguin
2025-12-05 16:09:00 +08:00
parent ff9f9bae1d
commit dd3781a1ea
12 changed files with 182 additions and 102 deletions

View File

@@ -548,7 +548,7 @@ pub fn milliTimestamp(comptime mode: TimestampMode) u64 {
return @as(u64, @intCast(ts.sec)) * 1000 + @as(u64, @intCast(@divTrunc(ts.nsec, 1_000_000)));
}
fn timespec() posix.timespec {
pub fn timespec() posix.timespec {
if (comptime is_posix == false) {
@compileError("`timespec` should not be called when `is_posix` is false");
}