Repository navigation
Note an unresponsive frame in the browser snapshot and refuse dragged files through the gateway - #571
Merged
Merged
Conversation
…ad the rest of the page
…scribe what a Workspace behind another answers
…en the browser display notes
…e, and send no drag release after an unanswered move
…real cause when an unanswered input's probe fails
… it again, and never read it as gone
… could read, and never place the keyboard focus by guesswork
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #557
Summary
Input.dispatchDragEventwith a non-emptydata.files, as it refusesDOM.setFileInputFiles; drags without files pass, and a native HTML5 drag naming files failsdrag_carries_filesbefore any replay.# OOPIF unresponsive origin=...after the top document and the rest of the page is read;dialog_openstays for a blocked top document or a dialog event the command saw.waitpoll) asks the silent ones again.Page.enable, tags, reads, tag checks, baselines,waitpolls), so hung frames cost one step between them per round.wait --gone @tag:Nis not met by a frame that is only slow; a change check that could not read a frame says so and adds no stall.# unread:), never counted as added or removed content;typeandpressthat cannot tell which frame holds the focus (a frame did not answer) send nothing and failpage_unresponsive; a ref that may be a child of a frame whose own frames could not be looked for is unknown, not stale or gone.next_actionsays so, and an unanswered drag move sends no release afterwards.docs/BROWSER_DISPLAYS.mdandhide browser helpdescribe all of it.Review
dialog_open. Observed: such a dialog does not hold the top document, a top-document click ran while a frame'sconfirmwas open; the top document's own dialog still failsdialog_open.hided/src/browser_page/page.rs- the frame model (Known,frames(),lookup): which calls count as silence (only an unanswered one; a closed connection still fails) and that nothing marks a frame gone.hided/src/browser_page/cdp.rs-call_alland the shared message reader thatcall_innernow uses.desktop/src/main/browserCdp.ts- gateway boundary check ondata.files.page_unresponsive.Evidence
hidedtests against a scripted gateway: a hung frame noted and the rest read, five hung frames within three steps, a closed connection not read as silence, a frame that stops mid-read or mid-baseline, the silent notes in the baseline, a dialog event and a hung top document stilldialog_open, frames answering a kind of request only once all have asked (Page.enable, tags, reads, baselines,waitpolls), a frame slow to attach or to read once being read by the next call, a ref unknown while a frame has not answered and a--gonewait not met by it, a change check naming an unread frame, a frame readable before the action and silent after (and the reverse) read as no change and named,type/pressfailing silent when the focus frame cannot be told and finding the focused frame beside a silent one, a ref under a frame whose scan did not answer unknown forwait --gone, click and lookup, a batch above the gateway's cap in rounds, a drag with no release and no interception switch after an unanswered move, and a release after an answered one; requests of each kind sent before any answer is read (by order: frames answer only once all have asked); a probe that finds the connection closed reporting that cause,drag_carries_files, andwait --textpast a silent frame; the hung-frame test failed against the old behavior.browser-agent.spec.ts(isolated candidate app, private HOME and Herdr, no OS input): a frame hung past 8 s, a frame dialog, a native HTML5 drag replayed through the gateway with no files, a Workspace behind another (click, fill, screenshot answered, counters unchanged after it returns), and a press held 12 s (page_unresponsive, press delivered, no release or click later).cargo fmt,clippy -p hided,cargo test -p hided, desktop typecheck, lint, unit tests, workstation-identity check.cargo test, Linux and Windows runs; the Workspace-behind observation is macOS Electron only and was not tried against a remote device display.