RESOLVED FIXED 65761
Web Inspector: constrain maximum depth for returnByValue objects
https://bugs.webkit.org/show_bug.cgi?id=65761
Summary Web Inspector: constrain maximum depth for returnByValue objects
Yury Semikhatsky
Reported 2011-08-05 02:24:18 PDT
Result of evaluation may well be self referencing structure, we need to fail gracefully in that case if the evaluation was requested with returnByValue flag.
Attachments
Patch (12.81 KB, patch)
2011-08-05 02:27 PDT, Yury Semikhatsky
pfeldman: review+
Yury Semikhatsky
Comment 1 2011-08-05 02:27:48 PDT
Pavel Feldman
Comment 2 2011-08-05 02:32:01 PDT
Comment on attachment 103054 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=103054&action=review > Source/WebCore/inspector/InspectorValues.h:51 > + static const int maxDepth = 20; 1000?
Yury Semikhatsky
Comment 3 2011-08-05 02:35:19 PDT
(In reply to comment #2) > (From update of attachment 103054 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=103054&action=review > > > Source/WebCore/inspector/InspectorValues.h:51 > > + static const int maxDepth = 20; > > 1000? Done.
Yury Semikhatsky
Comment 4 2011-08-05 02:38:36 PDT
Note You need to log in before you can comment on or make changes to this bug.