<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Inspector::InspectorValue class doesn't handle undefined type"
href="https://bugs.webkit.org/show_bug.cgi?id=165506#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Inspector::InspectorValue class doesn't handle undefined type"
href="https://bugs.webkit.org/show_bug.cgi?id=165506">bug 165506</a>
from <span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=296360&action=diff" name="attach_296360" title="Patch">attachment 296360</a> <a href="attachment.cgi?id=296360&action=edit" title="Patch">[details]</a></span>
Patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=296360&action=review">https://bugs.webkit.org/attachment.cgi?id=296360&action=review</a>
<span class="quote">> Source/JavaScriptCore/ChangeLog:4
> + Added undefined type and fixed related issues
> + <a class="bz_bug_link
bz_status_NEW "
title="NEW - Inspector::InspectorValue class doesn't handle undefined type"
href="show_bug.cgi?id=165506">https://bugs.webkit.org/show_bug.cgi?id=165506</a></span >
"undefined" is not a valid JSON value type:
<a href="http://www.json.org">http://www.json.org</a>
<a href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf">http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf</a>
<span class="quote">>>> JSON.stringify({a:undefined})</span >
{}
<span class="quote">>>> JSON.stringify({a:null})</span >
{"a":null}
Is there a specific reason we want to be adding it to InspectorValues?
<span class="quote">> Source/JavaScriptCore/ChangeLog:11
> + * runtime/VM.h:</span >
This looks stale, the diff doesn't show any modifications to VM.h.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>