summaryrefslogtreecommitdiffstats
path: root/components/devtools_bridge
Commit message (Collapse)AuthorAgeFilesLines
* Implementation of DevTools socket tunneling service for remote debugging.serya2014-09-2417-0/+2316
| | | | | | | | | | | | | | | | | | | | | Test APK in addition to instrumentation tests contains launching activity and foreground service what let duplicate ChromeShell debug socket to a differently named socket. If a device with running ChromeShell and DevToolsBridgeTest's service connect to a Desktop chrome (with USB debugging enabled) then chrome://inspect#devices will show 2 ChromeChell items. Both are debuggable (https://codereview.chromium.org/521573002/ should be applied to Desktop chrome to make the process less surprising). It's suitable for manual tests. This CL doesn't care of a few known issues: 1. Data channel buffer overflow. Data channel automatically closed in this case. 2. Uncontrolled number of pending sockets. DevTools throttles opening sockets and and keeps sockets that exceeds a threshold hanging. 3. Uncontrolled number of threads (it's actually not a problem if #2 solved, thanks to DevTools throttling). To keep this CL reasonably simple this issues will be addressed later. TEST=org.chromium.components.devtools_bridge.SocketTunnelServerTest, see description fro manual testing. BUG=383418 Committed: https://crrev.com/15044609893faf9b2c2a533aa9a136f288ea20a1 Cr-Commit-Position: refs/heads/master@{#296360} Review URL: https://codereview.chromium.org/517233002 Cr-Commit-Position: refs/heads/master@{#296377}
* Revert of DevTools socket tunnel. (patchset #11 id:300001 of ↵phoglund2014-09-2417-2319/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/517233002/) Reason for revert: Fails to compile on Android: https://build.chromium.org/p/chromium.linux/builders/Android%20Arm64%20Builder%20(dbg)/builds/2163 devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/SocketTunnelServerTest.java:291: cannot find symbol symbol: method sleep() sleep(); ^ Original issue's description: > Implementation of DevTools socket tunneling service for remote debugging. > > Test APK in addition to instrumentation tests contains launching activity and foreground service what let duplicate ChromeShell debug socket to a differently named socket. If a device with running ChromeShell and DevToolsBridgeTest's service connect to a Desktop chrome (with USB debugging enabled) then chrome://inspect#devices will show 2 ChromeChell items. Both are debuggable (https://codereview.chromium.org/521573002/ should be applied to Desktop chrome to make the process less surprising). It's suitable for manual tests. > > This CL doesn't care of a few known issues: > 1. Data channel buffer overflow. Data channel automatically closed in this case. > 2. Uncontrolled number of pending sockets. DevTools throttles opening sockets and and keeps sockets that exceeds a threshold hanging. > 3. Uncontrolled number of threads (it's actually not a problem if #2 solved, thanks to DevTools throttling). > > To keep this CL reasonably simple this issues will be addressed later. > > TEST=org.chromium.components.devtools_bridge.SocketTunnelServerTest, see description fro manual testing. > BUG=383418 > > Committed: https://crrev.com/15044609893faf9b2c2a533aa9a136f288ea20a1 > Cr-Commit-Position: refs/heads/master@{#296360} TBR=mnaganov@chromium.org,tedchoc@chromium.org,erikwright@chromium.org,serya@chromium.org NOTREECHECKS=true NOTRY=true BUG=383418 Review URL: https://codereview.chromium.org/597063002 Cr-Commit-Position: refs/heads/master@{#296361}
* Implementation of DevTools socket tunneling service for remote debugging.serya2014-09-2417-0/+2319
Test APK in addition to instrumentation tests contains launching activity and foreground service what let duplicate ChromeShell debug socket to a differently named socket. If a device with running ChromeShell and DevToolsBridgeTest's service connect to a Desktop chrome (with USB debugging enabled) then chrome://inspect#devices will show 2 ChromeChell items. Both are debuggable (https://codereview.chromium.org/521573002/ should be applied to Desktop chrome to make the process less surprising). It's suitable for manual tests. This CL doesn't care of a few known issues: 1. Data channel buffer overflow. Data channel automatically closed in this case. 2. Uncontrolled number of pending sockets. DevTools throttles opening sockets and and keeps sockets that exceeds a threshold hanging. 3. Uncontrolled number of threads (it's actually not a problem if #2 solved, thanks to DevTools throttling). To keep this CL reasonably simple this issues will be addressed later. TEST=org.chromium.components.devtools_bridge.SocketTunnelServerTest, see description fro manual testing. BUG=383418 Review URL: https://codereview.chromium.org/517233002 Cr-Commit-Position: refs/heads/master@{#296360}