Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust
Rust ai-agentsai-toolsbrowserbrowser-automationcloud-browserheadlessheadless-browserkitesurfplaywrightpuppeteerrustservoweb-crawlerweb-crawlingweb-scraperweb-scraping
use super::{
CursorDirection, CursorSnapshotEntry, DatabaseInfo,
INDEXED_DB_DATABASE_UPGRADE_TRANSACTION_SLOT, INDEXED_DB_PENDING_CURSOR_POSITION_SLOT,
INDEXED_DB_PENDING_CURSOR_SLOT, INDEXED_DB_PENDING_ERROR_SLOT, INDEXED_DB_PENDING_RESULT_SLOT,
INDEXED_DB_REQUEST_BLOCKED_DISPATCHED_SLOT, INDEXED_DB_REQUEST_ERROR_SLOT,
INDEXED_DB_REQUEST_READY_STATE_SLOT, INDEXED_DB_REQUEST_RESULT_SLOT,
INDEXED_DB_REQUEST_TRANSACTION_SLOT, INDEXED_DB_TRANSACTION_ABORT_DISPATCHED_SLOT,
INDEXED_DB_TRANSACTION_ABORTED_SLOT, INDEXED_DB_TRANSACTION_ACTIVE_SLOT,
INDEXED_DB_TRANSACTION_COMMIT_SCHEDULED_SLOT, INDEXED_DB_TRANSACTION_FINISHED_SLOT,
INDEXED_DB_TRANSACTION_HANDLE_SLOT, INDEXED_DB_TRANSACTION_PENDING_SLOT,
INDEXED_DB_TRANSACTION_START_SCHEDULED_SLOT, INDEXED_DB_TRANSACTION_STARTED_SLOT,
IdbKeyRangeQuery, IndexInfo, IndexedDbCursorOpenOperation, IndexedDbCursorSource,
IndexedDbError, IndexedDbPendingTransactionOperation, IndexedDbRuntimeArray,
IndexedDbStorageScope, IndexedDbTransactionOperation, OpenOptions,
PreparedObjectStoreWriteError, TransactionHandle, TransactionMode,
apply_index_collection_direction, apply_object_store_collection_direction,
close_indexed_db_database_connection, create_database_object, create_transaction_object,
database_handle_from_value, database_registry_key, define_non_enumerable_value_property,
deserialize_js_value, dispatch_idb_named_event, dispatch_version_change_event,
dom_exception_value, dom_string_list_values, enforce_object_store_unique_constraints,
enqueue_version_change_to_open_connections, flush_databases_settle_task,
has_open_database_connections_for_key, index_cursor_snapshot, indexed_db_blocked_task_payload,
indexed_db_index_info, indexed_db_open_task_payload, indexed_db_request_dispatch_task_request,
indexed_db_request_transaction_object, indexed_db_runtime_array,
indexed_db_runtime_array_contains_object, indexed_db_transaction_task_transaction,
indexed_db_typed_execution_owner, indexed_db_typed_owner_scope,
indexed_db_typed_task_execution_context, indexed_db_typed_task_execution_owner,
indexed_db_typed_task_id, indexed_db_typed_task_kind, indexed_db_typed_task_owner_scope,
indexed_db_typed_task_storage_scope, key_in_range, key_to_js_value,
materialize_cursor_result_in_request_realm, object_bool_property, object_hidden_value,
object_number_property, object_property_as_object, object_store_cursor_snapshot,
object_string_property, parse_idb_key, pop_first_indexed_db_task, prepare_object_store_write,
push_indexed_db_operation_waiting_for_start, push_object_to_indexed_db_runtime_array,
push_unique_object_to_indexed_db_runtime_array, readwrite_transaction_can_start,
refresh_cursor_surface, refresh_database_surface, register_blocked_database_context,
replace_indexed_db_runtime_array, request_error_object, scan_index_entries,
scan_object_store_entries, serialize_js_value, set_indexed_db_request_surface_value,
set_indexed_db_slot_value, signal_worker_indexed_db_task_wake,
storage_bucket_quota_check_for_object_store, storage_bucket_quota_check_for_transaction,
take_indexed_db_operations_waiting_for_start, take_indexed_db_task_by_id, transaction_db_key,
transaction_handle_from_value, unregister_blocked_database_context,
unregister_readwrite_transaction, v8str, validate_storage_bucket_scope,
with_indexed_db_manager,
};
use crate::util::enqueue_host_microtask;
use moli_indexeddb::OpenDisposition;
use super::{
IndexedDbTaskKind, register_indexed_db_blocked_delete_task,
register_indexed_db_blocked_open_task, register_indexed_db_open_task,
register_indexed_db_request_dispatch_task, register_indexed_db_task,
register_indexed_db_transaction_task, release_indexed_db_request_dispatch_refs,
release_indexed_db_transaction_dispatch_refs, unregister_indexed_db_task,
};
mod dispatch;
mod open_delete;
mod operations;
mod queue;
pub(super) use self::dispatch::*;
pub(crate) use self::dispatch::{
discard_indexed_db_task_by_id, flush_indexed_db_task_by_id, flush_next_indexed_db_task,
};
pub(super) use self::open_delete::*;
pub(super) use self::operations::*;
pub(super) use self::queue::*;