Closed Bug 1615364 Opened 5 years ago Closed 5 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

(Blocks 1 open bug)

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: 5 years ago
Resolution: --- → DUPLICATE
Component: CDP: Runtime → CDP
You need to log in before you can comment on or make changes to this bug.