fix: page.url() returning empty after extension runs for a while
Target.targetInfoChanged handler was updating parent page's cached targetInfo with child target info (service workers, iframes) because it looked up targets by sessionId instead of targetId. Now correctly iterates connectedTargets to find matching targetId.
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 0.0.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- **Fixed `page.url()` returning empty after extension runs for a while**: The `Target.targetInfoChanged` handler was incorrectly updating the parent page's cached `targetInfo` with child target info (service workers, iframes). Now correctly looks up targets by `targetId` instead of `sessionId`.
|
||||
|
||||
## 0.0.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
Reference in New Issue
Block a user