Closed bohrium272 closed 8 months ago
@bohrium272, the file changed will be overwritten after ./v2/gcdapigen/build.sh is run. This command regenerates the gcdapi folder based on the downloaded protocol.json file.
getDOMStorageItems
in the protocol.json looks correct, it returns an array where each element is an Item
. An Item is an array of strings. It seems the gcdapigen.go isn't creating the correct return type given this information.
Closing in preference to https://github.com/wirepair/gcd/pull/74.
GCD response for GetDOMStorageItems with a 2D array
[[key1, value1], [key2, value2]]
. This PR changes the type ofEntries
to[][]string
to properly parse this response.Example: