-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS13 ios-webkit-debug-proxy will disconnected Once the Json is over 200k #344
Comments
After some inverstgation i found there are 2 problems. hope someone can tell me the reason.
The code like this: I am not good at C and ssl. Hope someone could help me. |
hi @liu6x6 interesting observation 🤔 I got back from holidays, will take a look possible this weekend. what OS are you using? |
Hi @artygus , I'm working with @liu6x6 and I've experienced similar issue on any platform, macOS, linux, and windows. The issue is happening as soon as the idevice is running on iOS13+. Any idea what have changed there ? I know that from iOS13+ we are obliged to use SSL for the web inspector communication it's probably linked. |
hi there
today i found an issue on iOS13, and i am using the wdp_client.html to send json string to the safari. Once the JSON size is over than 200KB, then iOS-webkit-debug-proxy will disconnected.
the error logs like:
_
_
my json command look like:
{"id":8,"method":"Target.sendMessageToTarget","params":{"objectGroup":"console","includeCommandLineAPI":true,"doNotPauseOnExceptionsAndMuteConsole":true,"message":"{"method":"Runtime.evaluate","params":{"expression":"var func = function(){console.debug(\"touch\");console.debug(\"touch\"); ...
;}, true);};func();"},"id":8}","id":8,"targetId":"page-6"}}
I add lot of console.debug(\"touch\"); to make sure the json size is big enough.
it's the SSL problem? how can i fix this?
The text was updated successfully, but these errors were encountered: