v8/test/inspector/runtime/evaluate-unserializable-expected.txt
Erik Luo bf505e6065 [inspector] support BigInt in inspector
- Label as "bigint" in DevTools heap snapshot viewer
- Treat as new primitive in injected-script-source
- Show primitive value as property for BigIntObject
- Adds the "n" suffix onto description, both with/without inspector
  being present

Bug: v8:7486
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I47a02e32f9bdd9124a6c91056965574ecd443867
Reviewed-on: https://chromium-review.googlesource.com/940804
Commit-Queue: Erik Luo <luoe@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Reviewed-by: Alexei Filippov <alph@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51855}
2018-03-09 21:28:00 +00:00

57 lines
944 B
Plaintext

Tests Runtime.evaluate with unserializable results.
-0
{
id : <messageId>
result : {
result : {
description : -0
type : number
unserializableValue : -0
}
}
}
NaN
{
id : <messageId>
result : {
result : {
description : NaN
type : number
unserializableValue : NaN
}
}
}
Infinity
{
id : <messageId>
result : {
result : {
description : Infinity
type : number
unserializableValue : Infinity
}
}
}
-Infinity
{
id : <messageId>
result : {
result : {
description : -Infinity
type : number
unserializableValue : -Infinity
}
}
}
1n
{
id : <messageId>
result : {
result : {
description : 1n
type : bigint
unserializableValue : 1n
}
}
}