@@ -630,7 +630,13 @@ function installNativeToString(w) {
630630 try {
631631 const v = desc . get . call ( obj ) ;
632632 if ( typeof v === "function" ) mask ( v ) ;
633- } catch ( _ ) { }
633+ // Probing a getter can hand back an already-rejected promise (WHATWG
634+ // stream `closed`/`ready` reject when the receiver is the prototype
635+ // rather than an instance). Nobody awaits these, so without a sink
636+ // each probe surfaced as an unhandledRejection on every solve —
637+ // noise that buried real diagnostics.
638+ else if ( v && typeof v . then === "function" ) v . catch ( ( ) => { } ) ;
639+ } catch { }
634640 }
635641 if ( depth < 3 ) {
636642 try {
@@ -1774,7 +1780,12 @@ async function createDom(region, prefix) {
17741780const HOST_CRITICAL_GLOBALS = new Set ( [
17751781 "process" , "Bun" , "console" , "performance" , "crypto" , "fetch" ,
17761782 "queueMicrotask" , "structuredClone" , "TextEncoder" , "TextDecoder" ,
1777- "requestAnimationFrame" , "cancelAnimationFrame" ,
1783+ // NOTE: requestAnimationFrame/cancelAnimationFrame were removed from this
1784+ // list (2026-09-06). Bun has no native rAF, so skipping the alias left a
1785+ // bare `requestAnimationFrame` in the FeiLin bundle unresolvable (9 call
1786+ // sites, only one `typeof`-guarded) — the same silent fingerprint
1787+ // degradation that `print` caused. Aliasing the window's implementation
1788+ // shadows nothing on the host.
17781789 // NOTE: `print` was removed from this list (2026-08-29). The polyfill
17791790 // defines a harmless no-op on the window, but the alias pass skipped it,
17801791 // so under Bun (guest scripts run in the HOST realm) the Aliyun pe risk
0 commit comments