Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: regression in serialization #2928

Merged
merged 2 commits into from
Jan 2, 2025
Merged

fix: regression in serialization #2928

merged 2 commits into from
Jan 2, 2025

Conversation

OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Dec 22, 2024

Deeply nested nodes do not include values in CDP, thus, Object.hasOwn throws an error because only objects are allowed as the first arg.

Drive-by: improve types
Caused by: #2622
Addresses: puppeteer/puppeteer#13433
WPT test: https://github.com/web-platform-tests/wpt/pull/49821/files

@OrKoN OrKoN requested a review from sadym-chromium December 22, 2024 20:20
@OrKoN OrKoN enabled auto-merge (squash) December 22, 2024 20:29
@sadym-chromium
Copy link
Collaborator

@OrKoN I extended an e2e test

@sadym-chromium sadym-chromium force-pushed the orkon/fix-serialization-issue branch from 0bdf075 to 6c604e9 Compare January 2, 2025 10:56
@sadym-chromium sadym-chromium force-pushed the orkon/fix-serialization-issue branch from 6c604e9 to 163246a Compare January 2, 2025 13:31
@OrKoN OrKoN merged commit 84f9983 into main Jan 2, 2025
50 checks passed
@OrKoN OrKoN deleted the orkon/fix-serialization-issue branch January 2, 2025 13:38
sadym-chromium pushed a commit that referenced this pull request Jan 3, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.12.0](chromium-bidi-v0.11.1...chromium-bidi-v0.12.0)
(2025-01-03)


### Features

* provide proper network timings
([#2919](#2919))
([22e096b](22e096b))


### Bug Fixes

* regression in serialization
([#2928](#2928))
([84f9983](84f9983))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants