Bun Bun.WebView Blocks View Indefinitely on Alert and Confirm Prompts
Is it fixed? Not yet.
Ongoing since Nov 18, 11:47 UTC. First reported Nov 18, 11:47 UTC.
What happened
In Bun 1.4.4+38afee6c8 on Darwin arm64 using the chrome backend, modal dialogs like alert, confirm, prompt, and beforeunload block the view permanently. Users encounter hanging promises and unresponsive views when these dialogs are triggered.
What caused it?
Under active investigation. No report has identified a root cause yet.
No verified workaround yet
None of the linked reports describe a mitigation. This page updates when one appears.
Timeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on GitHub issue
Bun.WebView (chrome): alert/confirm/prompt/beforeunload block the view forever
Source
Evidence
1 report · 1 GitHubShow
- [1]GitHub First reportBun.WebView (chrome): alert/confirm/prompt/beforeunload block the view forever(opens GitHub issue in a new tab)
What version of Bun is running? 1.4.4+38afee6c8 What platform is your computer? Darwin arm64 (Google Chrome 157.0.8103.79) What steps can reproduce the bug? await using view = new Bun.WebView({ backend: { type: "chrome", url: false } }); await view.navigate("data:text/html,<body>hello</body>"); const result = await Promise.race([ view.evaluate("confirm('Are you sure?')"), Bun.sleep(5000).then(() => "still pending after 5s"), ]); console.log(result); await view.evaluate("1 + 1"); What is the…
by GUMBOKIM 0upvotes 1comments
FAQ
What happened in the Bun issue?
In Bun 1.4.4+38afee6c8 on Darwin arm64 using the chrome backend, modal dialogs like alert, confirm, prompt, and beforeunload block the view permanently. Users encounter hanging promises and unresponsive views when these dialogs are triggered.
What is affected by the Bun issue?
Bun (versions: 1.4.4+38afee6c8).
When did the Bun issue start and end?
It started Nov 18, 11:47 UTC and is still ongoing (16 h 57 min so far). This page updates as it develops.
How do I get alerts for Bun?
Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed
Where does this information come from?
WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.