keithamus/observable-polyfill
在 GitHub 查看tearDown order needs to be upstream->downstream on consumer-initiated unsubscription
Open
#30 创建于 2025年7月30日
bughelp wanted
仓库指标
- Star
- (16 star)
- PR 合并指标
- (PR 指标待抓取)
描述
About
- wpt test "Teardowns are called in upstream->downstream order on consumer-initiated unsubscription" fails
Expected behavior
- tearDown order:
- "upstream abort handler"
- "upstream teardown. reason: Abort!"
- "middle abort handler"
- "middle teardown. reason: Abort!"
- "downstream abort handler"
- "downstream teardown. reason: Abort!"
Current behavior
- tearDown order:
- "downstream abort handler"
- "middle abort handler"
- "upstream abort handler"
- "upstream teardown. reason: Abort!"
- "middle teardown. reason: Abort!"
- "downstream teardown. reason: Abort!"
How to reproduce
npm run test-serveand inspect wpt test results in the browser