Community
Participate
Working Groups
code from HEAD consider the following evaluate response: 1971 \r\n { "command":"evaluate", "type":"response", "request_seq":12, "seq":13, "running":true, "success":true, "body":{ "evaluate":{ "handle":1, "constructorFunction":{"ref":2}, "prototypeObject":{"ref":3}, "className":"Object", "properties":[ {"ref":6,"name":"line6"}, ..<snip>.., {"ref":61,"name":"line1"}], "type":"object" } } } "constructorFunction":{"ref":2} does not need to be a serialized object, it should follow suit with other id-able items and just be "constructorFunction":2. The same change should be made for "prototypeObject":{"ref":3} -> "prototypeObject":3
Created attachment 175538 [details] fix the patch changes the two attributes to be simply numbers and not serialized objects. This increases parsing performance for ObjectReferences and decreases packet size.
applied patch to HEAD