-
Notifications
You must be signed in to change notification settings - Fork 649
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Runtime.getProperties#accessorPropertiesOnly
Summary: Chrome DevTools requests object properties as a [combination of two `getProperties` calls](https://github.com/facebookexperimental/rn-chrome-devtools-frontend/blob/35aa264a622e853bb28b4c83a7b5cc3b2a9747bc/front_end/core/sdk/RemoteObject.ts#L170-L173): 1. `accessorPropertiesOnly: true, ownProperties: false` 2. `accessorPropertiesOnly: false, ownProperties: true` Hermes currently doesn't support the [`accessorPropertiesOnly`](https://cdpstatus.reactnative.dev/devtools-protocol/tot/Runtime#:~:text=accessorPropertiesOnly) parameter and therefore erroneously includes all data properties in the first request. Here, we add support for `accessorPropertiesOnly`. Reviewed By: mattbfb Differential Revision: D57614120 fbshipit-source-id: 3412a1c9e1464f454b1c13596a0953aa853fb057
- Loading branch information
1 parent
0949bd5
commit 9d67f17
Showing
6 changed files
with
51 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters