mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6677] [Issue]: Expression sprite e2e fails on mobile-webkit (visual-novel) with access-control console errors #3738
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3738
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Sep 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6677
Originally assigned to: @kolacheee on GitHub.
Summary
The e2e spec
e2e/expression-active-sprites.e2e.ts:11("Expression sprite filtering waits for completed results (visual-novel)") fails on mobile-webkit. Its finalexpect(errors).toEqual([])(line 328) collects WebKit console errors of the form "Fetch API cannot load … due to access control checks" for app endpoints the page was still fetching when the spec reloaded it.This is the same WebKit behaviour #6628 reported for the roleplay whisper spec (fixed by https://github.com/Pasta-Devs/Marinara-Engine/pull/6644, which removed a duplicate reload). This spec reloads several times with requests in flight.
Expected behavior
The spec passes on mobile-webkit, as it does on the other projects and in its classic presentation.
Actual behavior
On mobile-webkit, visual-novel variant only,
errorsholds WebKit's "… due to access control checks" messages for/api/chats,/api/chats/<id>/message-count,/api/chats/<id>/messages?limit=20,/api/chats/<id>/game-stateand/api/generate/status/<id>. WebKit reports a fetch that is cut off mid-flight this way, which is what areload()does to requests still running. So either the spec should wait for the page to settle before each reload, or its console-error collector should ignore aborted fetches on WebKit.Steps to reproduce
staging, run the Playwright spece2e/expression-active-sprites.e2e.tsunder themobile-webkitproject.expect(errors).toEqual([]). It does not fail every time.Environment
7c03e045e(2.4.6 line)Logs, screenshots, or video
/generate/status,/messages,/game-state)./api/chats,/message-count,/generate/status,/messages).Additional context
Reported from another PR's CI rather than worked on there. That PR (Game Mode ruleset checks) does not touch expression sprites, chat loading or the visual-novel display.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: