mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 14:33:47 +00:00
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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user