mirror of
https://github.com/lexmount/moli.git
synced 2026-10-07 08:01:00 +00:00
Centralize navigation dependency decisions for readiness probing and snapshot draining. Replacement actions can reach the owner that cancels the pending request even when earlier observations wait for that load, while exact owner authorization remains mandatory. Keep retirement admission policy beside publication ownership. Extend coverage for stale owners, cancellation, reused frontend ids, duplicate terminals, and late results without reviving retired notifications or remote objects. The new queue regression fails before the scheduler fix. Validation: cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast (18833 passed, 16 skipped on the final change set).
51 lines
2.3 KiB
Rust
51 lines
2.3 KiB
Rust
//! Protocol-neutral DevTools owner and dispatch layer for Moli.
|
|
//!
|
|
//! This crate is being split away from the Chrome DevTools Protocol wire shape.
|
|
//! It still contains transitional CDP-named owner types, but protocol-specific
|
|
//! parsing and Chrome protocol metadata belong in
|
|
//! `moli-protocol-cdp`.
|
|
|
|
mod cdp_projection;
|
|
pub mod conn;
|
|
pub mod devtools_runtime;
|
|
pub mod domains;
|
|
#[cfg(feature = "test-support")]
|
|
pub mod test_support;
|
|
#[cfg(test)]
|
|
pub mod testing;
|
|
pub mod version;
|
|
|
|
pub use devtools_runtime::*;
|
|
|
|
pub use conn::{
|
|
BackgroundCommandResponsePayload, BackgroundProtocolEvent, CdpCommandTaskStep, CdpConnection,
|
|
CdpInitialStoragePartition, CdpRendererCommandAccess, CdpRendererCommandReplacement,
|
|
CdpRendererCommandReplayDispatch, CdpRendererOwnerTurnOutcome, CdpSchedulerEvent,
|
|
CdpTargetHostLifecycleDelta, CdpTargetHostLifecycleObserver, CdpTurnOutcome,
|
|
CommandDispatchContext, CommandResponseFlushContext, CommandResponseFlushPermit,
|
|
CompletedCdpCommandDispatch, CompletedDeferredMainDocumentLoadCompletion,
|
|
CompletedRuntimeProtocolMessageDispatch, DEFAULT_CDP_PAGE_TARGET_ID, DEFAULT_CDP_TAB_TARGET_ID,
|
|
DeferredMainDocumentLoadCompletionOutputAction,
|
|
DeferredMainDocumentLoadCompletionOutputInterest, DeferredMainDocumentLoadObservationId,
|
|
DeferredMainDocumentLoadPredecessorCandidate, DevToolsCommandDispatchOutcome,
|
|
DevToolsDocumentLifecycleWaitKey, DevToolsDocumentLifecycleWaitState,
|
|
DevToolsDocumentNavigationState, DevToolsPageResidenceIdentity, ParsedCdpCommand,
|
|
PendingCdpCommandDispatch, PendingDeferredMainDocumentLoadCompletion,
|
|
PendingRuntimeProtocolMessageDispatch,
|
|
};
|
|
pub use domains::activity::{
|
|
ProtocolNavigationDependency, ProtocolSchedulerWork, ProtocolSchedulerWorkKind,
|
|
ProtocolWorkPublishSequence, RuntimeCommandOutputBarrierCompletion,
|
|
RuntimeCommandOutputBarrierPermit, RuntimeCommandOutputBarrierTerminal,
|
|
RuntimeCommandOutputBarriers,
|
|
};
|
|
pub use domains::page::{
|
|
BackgroundNavigationCompletion, CompletedPageScreencastCapture,
|
|
PageScreencastCaptureCompletion, PageScreencastCaptureStart, PageScreencastRegistration,
|
|
PageScreencastSubscriptionStatus, PendingPageScreencastCapture, build_default_raster_pdf,
|
|
};
|
|
pub use domains::runtime::{
|
|
CompletedDevToolsRuntimeCommandDispatch, DevToolsRuntimeCommandTaskStep,
|
|
PendingDevToolsRuntimeCommandDispatch,
|
|
};
|