Closed Bug 1615364 Opened 4 years ago Closed 4 years ago

Add support for -0 as unserializable value to Runtime.callFunctionOn

Categories

(Remote Protocol :: CDP, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1615260

People

(Reporter: whimboo, Unassigned)

References

Details

In Chrome this value will be returned 1:1 within the response. But in our implementation it is 0 because converting -0 to a number is 0. I'm not sure right now how to keep this special behavior or if Chrome is behaving strange here.

https://searchfox.org/mozilla-central/rev/a4be2fbe9bd4f405c91cc16e4e3a80400f5a9301/remote/test/puppeteer/test/evaluation.spec.js#145-148

I was actually able to get this done via bug 1615260.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Component: CDP: Runtime → CDP
You need to log in before you can comment on or make changes to this bug.