Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

11.9 KB
Raw Blame

Share #1653: manual checks for F1–F5 and native delivery

No checks in this record have been executed. This is the manual route for jslib behavior; EditMode delegates do not execute either jslib or prove trusted activation. tools/tests/test_share_shot_jslib.py (#1897) runs ShareShot.jslib in node against a stubbed page; it checks late clipboard callbacks and a synchronous share throw, and proves no real-browser activation or delivery. Keep #1653 open until the owner/coordinator supplies the device evidence.

Execution prerequisites and record

Coordinator supplies an approved post-fix WebGL build identifier and exact playable HTTPS URL for each top-level and itch iframe context. Neither an approved URL/build nor confirmed installed targets has been supplied for this change. The itch page is a candidate location, not an approved build. Confirm installed targets and an executor before running a cell. Use a distinctive game state A and a visibly different recaptured state B. Redact recipient identities in attachments.

For every case record: case ID, executor/time in UTC, build/URL/context, OS/browser/target versions, EN/HE, pointer/touch/hardware keyboard, event order and elapsed time, counts of sheets/download requests/saved files/site tabs, preview/file name/type/dimensions/bytes, note text, evidence path, and result (pass/fail/unverified/unavailable). A clicked download anchor is only a request; open the saved PNG. A resolved share promise or visible sheet is not recipient delivery. Optional passive debugging may observe capabilities, tickets, tokens and promise ordering; do not pause away activation or alter live permissions to fabricate a pass.

Physical platform/browser Native targets, separately Contexts Input
iPhone/iPad Safari Apple Mail, Messages approved top-level and itch embedded URLs/builds pending touch; hardware Enter only if available
Android Chrome Gmail, WhatsApp same, pending touch; hardware Enter only if available
macOS Chrome Apple Mail, Messages if exposed same, pending mouse and physical Enter
macOS Safari Apple Mail, Messages if exposed same, pending mouse and physical Enter

All cells start unverified. Unsupported file sharing is fallback-only, unavailable targets remain unavailable, and mobile Enter remains unverified without a hardware keyboard. Expand each row into separate target/context/input/language records.

Release eligibility and cancellation (F1/F5)

  1. Open Settings → Share and wait for the preview. Use physical Enter down for 0.2–0.5 seconds, then Enter up on main Share; expect one current sheet or download. Repeat with pointer release and Instagram, then Copy. Repeat quick Enter and a hold longer than 1.5 seconds, recording actual ordering. The long hold may expire the arm; do not report it as ordinary Enter success.
  2. Within the arm timeout, release Shift before Enter; Shift must do nothing and leave the arm available for Enter. Repeat Tab keyup without moving focus if physically obtainable. A real Tab focus switch is allowed to cancel the old ticket via focus-out; distinguish that from keyup filtering. Single-space and legacy Spacebar key values are accepted; the literal Space key value is ignored. If the device cannot produce a legacy/literal value, record that subcase unverified. Do not manufacture a JS event and call it trusted input.
  3. Arm, press Escape keydown, then release Escape and Enter. Expect no old action. Repeat Close before release, focus-out before release, fresh canvas pointerdown, pointercancel if obtainable, window blur/resize/visibility change, and timeout. A subsequent release must not revive that ticket. For main Share/Copy this does not add ExternalLink's pointer rectangle/identity/button validation: main pointerup eligibility otherwise stays as before. Record drag-off separately; do not claim geometry parity. For main Share, Instagram and Copy, explicitly try pointer-arm → unrelated keyup (Shift) → pointerup: the keyup must leave the ticket armed and pointerup must act once. Then try keyboard-arm → pointerup: pointerup must act once because these arms are intentionally mode-less. Finally try eligible keyup → pointerup on the same ticket: the keyup consumes it, so pointerup must add zero actions. Keep each sequence within the timeout without intervening focus-out or a new arm; if physically unreachable, record it unverified.
  4. Before 1.5 seconds expires, replace an armed main Share with each of X/Facebook/WhatsApp/Telegram/LinkedIn, then release Enter: only the current site's image-copy/download plus one site open, zero main action. Reverse the order. Repeat Instagram/site and Copy/site both directions, Share/Instagram both directions, Share/Copy, site/site, and same-control replacement. Every new arm must cancel the previous ticket. If the UI cannot produce an overlap sequence, mark it unverified/unreachable in that run; do not substitute an assumed deterministic result.
  5. Where observable, deliver an old owner's focus-out/cancel/timeout after another control has armed. Only the old ticket may be cancelled; the current release must still work once. Close with a site ticket current, reopen without Send, and release: zero old actions. Dispose/rebuild the UI with an arm pending and repeat. Check for extra tabs/sheets/downloads and orphan listeners/timers through passive diagnostics if available. Include a non-share ExternalLink (for example Star) in replacement checks where physically reachable: it shares the same release slot.

Failure reporting and attempt isolation (F2/F3/F4)

  1. In a native-capable cell, obtain a real non-Abort refusal delayed beyond three seconds while the panel remains open. Expect exactly the current fallback note and one current-file download request. Repeat Instagram: only its note may appear. Current success/cancel remains silent; its Failed-only observer stays alive until failure, a new action, Close or Dispose. Cancel the sheet, wait at least five seconds, confirm no fallback, then retry. Record no-target Abort separately. If a delayed refusal cannot be obtained, leave it unverified.
  2. Where capability legitimately changes from true at panel-open to false/missing/throwing at release, expect the current failure flag before the download request and then the fallback note. Use passive inspection if possible to establish flag/request ordering. Stable unsupported capability should immediately show the existing attach note and request a PNG on release. If the capability transition cannot be produced on an approved build, mark that transition unverified; do not edit host permissions or install a runner as part of this check.
  3. Release share A and, only where its native promise actually remains pending, Close → recapture B → press/release B → observe non-Abort rejection A. There must be no A download, no A failure flag attributed to B and no A note. A current B refusal should request only File B and show only B's note. Repeat A rejection after B press but before B release; B resolves then A rejects; B aborts then A rejects. Repeat replacing A with Copy, Instagram and each site; Keep, Close and Dispose must invalidate A as well. If any A/B settlement ordering cannot be obtained, it remains unverified. No synthetic promise harness is included, and no deterministic substitute is claimed.
  4. Native-sheet focus transfer after the normal release must not invalidate that same attempt: a current non-Abort refusal may still download its own file on return. Focus-out before release cancels only its still-armed ticket. Close/reopen without Send must not revive a poll or note. Switch Share → Instagram and reverse, then Copy and each site while a share result is pending: only the latest observer may report. Repeat UI disposal while the visual tree remains alive where an approved diagnostic build permits it; do not claim runtime coverage from EditMode alone.

Owner's attachment and site acceptance checks

  1. Preview A must depict the game state without the panel. Obtain a saved PNG using main “Download the picture” when shown, or the X button in the approved itch iframe where image copying is confirmed blocked. That route must both save the picture and open X from one release. If neither control is available, mark the saved-PNG control unavailable. Open the PNG and verify name, PNG type, dimensions, bytes and recognizable game content. Repeat opening from the turn report.
  2. For every native target/context/input cell, share via main Share with the existing files-plus-text payload. Check that both the composer and the received message/post contain the recognizable screenshot, and record text/both links. Repeat physical Enter independently of pointer, cancellation/retry, EN/HE, landscape and a detailed/high-DPR scene exercising the 1920 cap. A target-specific dropped attachment remains an open issue even if F1–F5 checks pass.
  3. For all five sites, verify copy → open → pasteable picture and the matching note when image copying is allowed. Where blocked, verify one saved PNG plus site open and the downloaded-picture note. Repeat pointer and physical Enter; Instagram follows the main share path and its own note. A site pass never substitutes for main Share delivery. For each site, explicitly repeat pointer-arm → unrelated keyup → primary pointerup inside its rectangle: keyup must retain the ticket, then pointerup performs one copy/download and one open. Try keyboard-arm → pointerup: pointerup must do nothing and leave the ticket available for an eligible keyup. After that eligible keyup consumes the ticket, a further pointerup must add zero actions. Unlike main's mode-less arms, ExternalLink restricts release to the arm's input mode. Separately probe a pointer arm dragged outside the site rectangle before primary release: zero copy/download/open, ticket consumed; a later release must not revive it. Probe non-primary pointerup (isPrimary false or button other than 0) while pointer-armed: zero actions, ticket retained for a primary release inside the rectangle. With a keyboard site arm, Shift keyup must retain the ticket for Enter; Escape keydown must cancel it so subsequent Enter/pointerup causes zero actions. Record counts and physically unavailable sequences honestly; do not introduce a synthetic JS runner.
  4. If a target still drops the picture with a valid PNG, route environment/target evidence via the coordinator. Only a separately approved diagnostic may compare files+text with files-only on separate fresh gestures using the same File. No automatic retry, payload change, size limit or UA policy is part of this patch. The owner must decide any files-only tradeoff.

Agreed fallback (owner ruling, 27 Oct 2026)

Current owner ruling for #1653, 27 Oct 2026, verbatim: "Ship C319 as is (Recommended)", recorded on #1653 (comment of 2026-10-27T04:21Z). The share keeps its files-plus-text payload for every target, as is. A picture-only fallback is approved only for a target shown to drop the picture when text is attached. This is evidence-driven: this PR makes no code change for it, and a picture-only route is added later only for a target where the step 13 evidence shows the drop. The device, browser and app of the original report are not known.

Earlier answer, 26 Oct 2026, verbatim: "Picture-only is OK". The 27 Oct ruling above is the one in force.

Remaining gates

All runtime/device cases above are owed by the owner/coordinator; no saved-file, native-delivery, activation, permission or stale-promise result is claimed here. Record unavailable orderings honestly. Future deterministic JS coverage would need separately approved tooling/scope. Run full Unity EditMode and a WebGL build on the merged tree under the coordinator gate, then run this matrix against the approved resulting build. Attach matched game-state screenshots of the changed fallback notes and event evidence to the PR. Use “Refs #1653” until delivery acceptance is evidenced.