[Webkit-unassigned] [Bug 55775] Web Inspector: introduce RuntimeAgent::evaluateAsJSON, implement completion, audits and image hover on its basis.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 9 01:38:49 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=55775


Yury Semikhatsky <yurys at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #85144|review?                     |review-
               Flag|                            |




--- Comment #4 from Yury Semikhatsky <yurys at chromium.org>  2011-03-09 01:38:49 PST ---
(From update of attachment 85144)
View in context: https://bugs.webkit.org/attachment.cgi?id=85144&action=review

> Source/WebCore/inspector/InjectedScriptSource.js:253
> +        // FIXME: validate JSON-stringifiable structure.

If returned structure has cycles it will crash the browser. We should add some check here or use custom jsonificator here. Another option is to use hard-coded limit on the structure nesting level. Something like 10-20 levels should work fine for us. Please fix this.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list