google / ios-webkit-debug-proxy

A DevTools proxy (Chrome Remote Debugging Protocol) for iOS devices (Safari Remote Web Inspector).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DOM domain was not found

tommy-gilligan opened this issue · comments

I haven't used this tool before. Not sure if this is a problem with my desktop environment or my iOS device.

  1. localhost:9222 displays a list of inspectable views
  2. Navigate to one of these views
  3. Devtools UI loads fine but it never gets filled with any data

Running the proxy with --debug, I get messages like the following:

wi.recv[459]:
 62 70 6C 69 73 74 30 30 D2 01 02 03 0C 5A 5F 5F 61 72 67  bplist00.....Z__arg
 75 6D 65 6E 74 5A 5F 5F 73 65 6C 65 63 74 6F 72 D4 04 05  umentZ__selector...
 06 07 08 09 0A                                            .....
 0B 5F 10 1B 57 49 52 41 70 70 6C 69 63 61 74 69 6F 6E 49  ._..WIRApplicationI
 64 65 6E 74 69 66 69 65 72 4B 65 79 5F 10 15 57 49 52 4D  dentifierKey_..WIRM
 65 73 73 61 67 65 44 61 74 61 54 79 70 65 4B 65 79 5F 10  essageDataTypeKey_.
 11 57 49 52 44 65 73 74 69 6E 61 74 69 6F 6E 4B 65 79 5F  .WIRDestinationKey_
 10 11 57 49 52 4D 65 73 73 61 67 65 44 61 74 61 4B 65 79  ..WIRMessageDataKey
 58 50 49 44 3A 37 32 35 32 5F 10 16 57 49 52 4D 65 73 73  XPID:7252_..WIRMess
 61 67 65 44 61 74 61 54 79 70 65 46 75 6C 6C 5F 10 3B 39  ageDataTypeFull_.;9
 36 31 36 34 33 66 36 65 36 39 34 33 31 65 2D 31 65 31 62  61643f6e69431e-1e1b
 36 63 65 34 2D 34 34 31 31 2D 38 64 32 33 2D 32 64 32 34  6ce4-4411-8d23-2d24
 33 30 64 30 33 33 66 64 30 37 35 39 33 37 66 30 61 38 66  30d033fd075937f0a8f
 34 4F 10 88 7B 22 65 72 72 6F 72 22 3A 7B 22 63 6F 64 65  4O..{"error":{"code
 22 3A 2D 33 32 36 30 31 2C 22 6D 65 73 73 61 67 65 22 3A  ":-32601,"message":
 22 27 44 4F 4D 27 20 64 6F 6D 61 69 6E 20 77 61 73 20 6E  "'DOM' domain was n
 6F 74 20 66 6F 75 6E 64 22 2C 22 64 61 74 61 22 3A 5B 7B  ot found","data":[{
 22 63 6F 64 65 22 3A 2D 33 32 36 30 31 2C 22 6D 65 73 73  "code":-32601,"mess
 61 67 65 22 3A 22 27 44 4F 4D 27 20 64 6F 6D 61 69 6E 20  age":"'DOM' domain 
 77 61 73 20 6E 6F 74 20 66 6F 75 6E 64 22 7D 5D 7D 2C 22  was not found"}]},"
 69 64 22 3A 37 33 7D 5F 10 19 5F 72 70 63 5F 61 70 70 6C  id":73}_.._rpc_appl
 69 63 61 74 69 6F 6E 53 65 6E 74 44 61 74 61 3A 00 08 00  icationSentData:...
 0D 00 18 00 23 00 2C 00 4A 00 62 00 76 00 8A 00 93 00 AC  ....#.,.J.b.v......
 00 EA 01 75 00 00 00 00 00 00 02 01 00 00 00 00 00 00 00  ...u...............
 0D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 91        .................
$ uname -a
Linux hilde 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux

iPhone 12 Pro Max on iOS 17.2.1