ext-apps/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Chafik e8a4ea5f89
fix(pdf-server): detached-buffer on range re-request + stale e2e assertion (#561)
* fix(pdf-server): slice bytes before onDataRange to avoid detached buffer

PDF.js transfers the ArrayBuffer to its worker via postMessage, detaching
it in the main thread. When the same range is re-requested (common on
iOS/WKWebView under memory pressure during scroll/zoom/navigate), the
cached Uint8Array now wraps a detached buffer and onDataRange throws
'Buffer is already detached'.

Fix: pass result.bytes.slice() so the rangeCache entry stays valid.

* test(e2e): update pdf-annotations assertion for new display_pdf prompt text

The 91880a6d prompt rewrite changed the interact-enabled result text from
'Displaying PDF (viewUUID: ...)' to 'PDF opened. viewUUID: ...'. The e2e
test was still asserting the old string.
2026-03-23 20:17:25 +00:00
..
basic-host chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
basic-server-preact chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
basic-server-react chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
basic-server-solid chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
basic-server-svelte chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
basic-server-vanillajs chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
basic-server-vue chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
budget-allocator-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
cohort-heatmap-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
customer-segmentation-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
debug-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
integration-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
map-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
pdf-server fix(pdf-server): detached-buffer on range re-request + stale e2e assertion (#561) 2026-03-23 20:17:25 +00:00
qr-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
quickstart chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
say-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
scenario-modeler-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
shadertoy-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
sheet-music-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
system-monitor-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
threejs-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
transcript-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
video-resource-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
wiki-explorer-server chore: bump ext-apps to 1.3.0 (#560) 2026-03-23 20:09:27 +00:00
run-all.ts add EXAMPLE=folder-name support for tests & basic-host (#292) 2026-01-19 20:16:37 +00:00