-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[BUG] Firefox: strange undefined toJSON property on JS objects #7015
Labels
Comments
Caused by #6767 |
Oh gosh, this reminds me old issues you guys might not even heard about 😄 That library taught all of us one thing - you should never modify objects you don't own. |
This was the original reason why we implemented this fix (prototype.js) to bypass a broken |
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jun 10, 2021
The hand-written JSON serializer works in user context and doesn't invoke `toJSON` methods. References microsoft#7015
aslushnikov
pushed a commit
that referenced
this issue
Jun 11, 2021
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jun 11, 2021
References microsoft#7015
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jun 11, 2021
Cherry-Pick microsoft#7067 SHA d6831df NOTE: this cherry-pick updates only firefox-stable build revision and keeps the firefox-beta as-is since it's been rolled already. Thus, the new test is explicitly skipped on firefox-beta. Fixes microsoft#7015
aslushnikov
added a commit
that referenced
this issue
Jun 11, 2021
1 task
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jun 17, 2021
The hand-written JSON serializer works in user context and doesn't invoke `toJSON` methods. References microsoft#7015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context:
Describe the bug
After evaluating some custom code in the context of the page, some of JS objects receive strange
toJSON
property, which isundefined
. Started to happen after upgrade to 1.12. And this happens on Firefox ONLY.The text was updated successfully, but these errors were encountered: