Some pointers to the code base: 1) Here is the place where the panel evaluates `window` expression in the target and gets the root grip https://searchfox.org/mozilla-central/rev/581466eef9269afb03d8a0dba2f50215f3a9026c/devtools/client/dom/panel.js#187 2) Here is the place where the grip is sent to panel content frame https://searchfox.org/mozilla-central/rev/581466eef9269afb03d8a0dba2f50215f3a9026c/devtools/client/dom/panel.js#117 3) The content frame is rendering all the properties (using reps) and fetching new properties as the user is expanding objects The place where the props are fetched from the backend is here https://searchfox.org/mozilla-central/rev/581466eef9269afb03d8a0dba2f50215f3a9026c/devtools/client/dom/panel.js#164-166 @Alex, can you please provide some instructions about how the TargetList API should be used here (e.g. some pointers to existing code base for inspiration/examples) Thanks! Honza
Bug 1598566 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Some pointers to the code base: 1) Here is the place where the panel evaluates `window` expression in the target and gets the root grip https://searchfox.org/mozilla-central/rev/581466eef9269afb03d8a0dba2f50215f3a9026c/devtools/client/dom/panel.js#187 2) Here is the place where the grip is sent to panel content frame https://searchfox.org/mozilla-central/rev/581466eef9269afb03d8a0dba2f50215f3a9026c/devtools/client/dom/panel.js#117 3) The content frame is rendering all the properties (using reps) and fetching new properties as the user is expanding objects The place where the props are fetched from the backend is here https://searchfox.org/mozilla-central/rev/581466eef9269afb03d8a0dba2f50215f3a9026c/devtools/client/dom/panel.js#164-166 @Alex, can you please provide some instructions about how the TargetList API should be used here (e.g. some pointers to existing code base for inspiration/examples) This might be good-second-bug Thanks! Honza