load aboutblank doc

This commit is contained in:
sjorsdonkers
2025-05-20 11:49:42 +02:00
committed by Sjors
parent fc0281b563
commit 0929bd217d
3 changed files with 30 additions and 16 deletions

View File

@@ -9,6 +9,7 @@ pub const URL = struct {
raw: []const u8,
pub const empty = URL{ .uri = .{ .scheme = "" }, .raw = "" };
pub const about_blank = URL{ .uri = .{ .scheme = "" }, .raw = "about:blank" };
// We assume str will last as long as the URL
// In some cases, this is safe to do, because we know the URL is short lived.