You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Ports/JavaScriptPort/STATUS.md
+26-8Lines changed: 26 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ Current State
15
15
-`CN1SS:SUITE:FINISHED`
16
16
-`TOP_BLOCKER=none|none|none`
17
17
- The screenshot pipeline now decodes/report-generates reliably from logs, but screenshot content is still mostly wrong (white-frame capture path is still being used in CI artifacts).
18
+
- New patch (not yet CI-validated in this document revision): worker-side fallback screenshot path now waits for a host-side UI-settle barrier before ready-callback dispatch and before canvas capture, to avoid pre-paint frame capture.
18
19
19
20
What Was Fixed In This Pass
20
21
---------------------------
@@ -70,6 +71,21 @@ What Was Fixed In This Pass
70
71
- Local check:
71
72
-`JavascriptCn1CoreCompletenessTest#executesMeaningfulCodenameOneCoreSliceInWorkerRuntime` passes locally after this update.
72
73
74
+
7. Added explicit host-side UI settle barrier and wired it into screenshot readiness/capture flow.
- CI showed near-identical screenshot payloads (same hash/size) indicating repeated capture of a stale frame rather than per-test painted UI.
88
+
73
89
Known Failing Symptoms (Latest CI Logs/Artifacts)
74
90
-------------------------------------------------
75
91
@@ -91,16 +107,18 @@ Other CI Signal
91
107
Priority Next Steps
92
108
-------------------
93
109
94
-
1. Eliminate host-canvas screenshot fallback usage for named tests; route through translated screenshot helper path and capture real UI frames.
95
-
2. Fix per-test null receiver/init path (`__classDef` null) at first failing stack, not via broad fallbacks.
96
-
3. Fix missing `Button.initLaf(UIManager)` symbol resolution in worker runtime path.
97
-
4. Fix worker-mode orientation lock path so DOM access is host-bridge mediated (no direct `document` access in worker).
98
-
5. Confirm VM completeness stability in CI with new parser/runtime patches (`expected 7` consistently).
110
+
1. Validate CI output after UI-settle barrier:
111
+
- Expect non-identical PNG hashes for distinct tests.
112
+
- Confirm `settleChanged` and `canvasSig` diagnostics vary across tests.
113
+
2. If white-frame reuse persists, capture and compare per-test `settleSig`/`canvasSig` to identify whether paint is not happening or capture target is wrong.
114
+
3. Fix per-test null receiver/init path (`__classDef` null) at first failing stack, not via broad fallbacks.
115
+
4. Fix missing `Button.initLaf(UIManager)` symbol resolution in worker runtime path.
116
+
5. Fix worker-mode orientation lock path so DOM access is host-bridge mediated (no direct `document` access in worker).
117
+
6. Confirm VM completeness stability in CI with parser/runtime patches (`expected 7` consistently).
0 commit comments