cdp-tunnel 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -44,6 +44,8 @@ var SpecialHandler = (function() {
|
|
|
44
44
|
var sessionId = CDPUtils.generateSessionId();
|
|
45
45
|
State.mapSession(sessionId, tabId, targetId);
|
|
46
46
|
|
|
47
|
+
addTabToAutomationGroup(tabId);
|
|
48
|
+
|
|
47
49
|
return { sessionId: sessionId };
|
|
48
50
|
});
|
|
49
51
|
});
|
|
@@ -341,7 +343,7 @@ function checkTabVisibility(tabId) {
|
|
|
341
343
|
var sessionId = CDPUtils.generateSessionId();
|
|
342
344
|
State.mapSession(sessionId, target.tabId, targetId);
|
|
343
345
|
|
|
344
|
-
|
|
346
|
+
addTabToAutomationGroup(target.tabId);
|
|
345
347
|
|
|
346
348
|
if (config.waitForDebuggerOnStart) {
|
|
347
349
|
State.addPendingDebuggerTab(target.tabId);
|
|
@@ -380,6 +382,8 @@ function checkTabVisibility(tabId) {
|
|
|
380
382
|
var sessionId = CDPUtils.generateSessionId();
|
|
381
383
|
State.mapSession(sessionId, tabId, targetId);
|
|
382
384
|
|
|
385
|
+
addTabToAutomationGroup(tabId);
|
|
386
|
+
|
|
383
387
|
var config = State.getAutoAttachConfig();
|
|
384
388
|
if (config.waitForDebuggerOnStart) {
|
|
385
389
|
State.addPendingDebuggerTab(tabId);
|