Lightpanda: the headless browser designed for AI and automation
cleanup rebase
Karl Seguin958bea53de4d
diff --git a/src/Config.zig b/src/Config.zigindex 9143569ec..c5c574f8b 100644--- a/src/Config.zig+++ b/src/Config.zig@@ -85,10 +85,6 @@ fn logLevelValidator(_: Allocator, args: *std.process.ArgIterator) !?log.Level {}/// Common CLI args.-<<<<<<< HEAD-<<<<<<< HEAD-=======->>>>>>> ed18d6ede (fix broken zig fmt)const CommonOptions = .{.{ .name = "obey_robots", .type = bool },.{ .name = "proxy_bearer_token", .type = ?[:0]const u8 },diff --git a/src/browser/webapi/storage/idb/IDBCursor.zig b/src/browser/webapi/storage/idb/IDBCursor.zigindex e347f0557..5e54e8798 100644--- a/src/browser/webapi/storage/idb/IDBCursor.zig+++ b/src/browser/webapi/storage/idb/IDBCursor.zig@@ -439,9 +439,9 @@ pub const JsApi = struct {pub const primaryKey = bridge.accessor(IDBCursor.getPrimaryKey, null, .{ .null_as_undefined = true });pub const direction = bridge.accessor(IDBCursor.getDirection, null, .{});pub const source = bridge.accessor(IDBCursor.getSource, null, .{});- pub const @"continue" = bridge.function(IDBCursor.@"continue", .{ });- pub const continuePrimaryKey = bridge.function(IDBCursor.continuePrimaryKey, .{ });- pub const advance = bridge.function(IDBCursor.advance, .{ });- pub const update = bridge.function(IDBCursor.update, .{ });- pub const delete = bridge.function(IDBCursor.delete, .{ });+ pub const @"continue" = bridge.function(IDBCursor.@"continue", .{});+ pub const continuePrimaryKey = bridge.function(IDBCursor.continuePrimaryKey, .{});+ pub const advance = bridge.function(IDBCursor.advance, .{});+ pub const update = bridge.function(IDBCursor.update, .{});+ pub const delete = bridge.function(IDBCursor.delete, .{});};diff --git a/src/browser/webapi/storage/idb/IDBIndex.zig b/src/browser/webapi/storage/idb/IDBIndex.zigindex 9aa342120..9e08bf0fc 100644--- a/src/browser/webapi/storage/idb/IDBIndex.zig+++ b/src/browser/webapi/storage/idb/IDBIndex.zig@@ -245,12 +245,12 @@ pub const JsApi = struct {pub const unique = bridge.accessor(IDBIndex.getUnique, null, .{});pub const multiEntry = bridge.accessor(IDBIndex.getMultiEntry, null, .{});pub const objectStore = bridge.accessor(IDBIndex.getObjectStore, null, .{});- pub const get = bridge.function(IDBIndex.get, .{ .dom_exception = true });- pub const getKey = bridge.function(IDBIndex.getKey, .{ .dom_exception = true });- pub const getAll = bridge.function(IDBIndex.getAll, .{ .dom_exception = true });- pub const getAllKeys = bridge.function(IDBIndex.getAllKeys, .{ .dom_exception = true });- pub const getAllRecords = bridge.function(IDBIndex.getAllRecords, .{ .dom_exception = true });- pub const count = bridge.function(IDBIndex.count, .{ .dom_exception = true });- pub const openCursor = bridge.function(IDBIndex.openCursor, .{ .dom_exception = true });- pub const openKeyCursor = bridge.function(IDBIndex.openKeyCursor, .{ .dom_exception = true });+ pub const get = bridge.function(IDBIndex.get, .{});+ pub const getKey = bridge.function(IDBIndex.getKey, .{});+ pub const getAll = bridge.function(IDBIndex.getAll, .{});+ pub const getAllKeys = bridge.function(IDBIndex.getAllKeys, .{});+ pub const getAllRecords = bridge.function(IDBIndex.getAllRecords, .{});+ pub const count = bridge.function(IDBIndex.count, .{});+ pub const openCursor = bridge.function(IDBIndex.openCursor, .{});+ pub const openKeyCursor = bridge.function(IDBIndex.openKeyCursor, .{});};diff --git a/src/browser/webapi/storage/idb/IDBObjectStore.zig b/src/browser/webapi/storage/idb/IDBObjectStore.zigindex 31034f08e..47d7ad65b 100644--- a/src/browser/webapi/storage/idb/IDBObjectStore.zig+++ b/src/browser/webapi/storage/idb/IDBObjectStore.zig@@ -618,7 +618,7 @@ pub const JsApi = struct {pub const openCursor = bridge.function(IDBObjectStore.openCursor, .{});pub const openKeyCursor = bridge.function(IDBObjectStore.openKeyCursor, .{});pub const indexNames = bridge.accessor(IDBObjectStore.getIndexNames, null, .{});- pub const createIndex = bridge.function(IDBObjectStore.createIndex, .{ });- pub const deleteIndex = bridge.function(IDBObjectStore.deleteIndex, .{ });- pub const index = bridge.function(IDBObjectStore.index, .{ });+ pub const createIndex = bridge.function(IDBObjectStore.createIndex, .{});+ pub const deleteIndex = bridge.function(IDBObjectStore.deleteIndex, .{});+ pub const index = bridge.function(IDBObjectStore.index, .{});};