@nexum-hub/browser 0.0.3-next.23 → 0.0.3
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.
|
@@ -4417,12 +4417,16 @@ export function createBrowserRouter(
|
|
|
4417
4417
|
ctx.pendingInfo.nativeNetworkTabId = tabId;
|
|
4418
4418
|
let result;
|
|
4419
4419
|
try {
|
|
4420
|
-
// A native Runtime.evaluate can stay suspended behind a modal dialog
|
|
4421
|
-
//
|
|
4422
|
-
//
|
|
4423
|
-
//
|
|
4420
|
+
// A native Runtime.evaluate can stay suspended behind a modal dialog.
|
|
4421
|
+
// A raw cdp.send Network.loadNetworkResource can also remain pending
|
|
4422
|
+
// after debugger detach (notably on Windows). The lease still confirms
|
|
4423
|
+
// native input release and debugger detach before reporting closure.
|
|
4424
|
+
// Internal document exports must await the native response so any
|
|
4425
|
+
// returned stream can be closed; IO.read and IO.close likewise retain
|
|
4426
|
+
// their actual settlement.
|
|
4424
4427
|
result =
|
|
4425
|
-
method === "Runtime.evaluate"
|
|
4428
|
+
method === "Runtime.evaluate" ||
|
|
4429
|
+
(method === "Network.loadNetworkResource" && ctx.method === "cdp.send")
|
|
4426
4430
|
? await nativeWithStop(ctx.signal, () =>
|
|
4427
4431
|
chrome.debugger.sendCommand(source, method, params),
|
|
4428
4432
|
)
|
|
@@ -4417,12 +4417,16 @@ export function createBrowserRouter(
|
|
|
4417
4417
|
ctx.pendingInfo.nativeNetworkTabId = tabId;
|
|
4418
4418
|
let result;
|
|
4419
4419
|
try {
|
|
4420
|
-
// A native Runtime.evaluate can stay suspended behind a modal dialog
|
|
4421
|
-
//
|
|
4422
|
-
//
|
|
4423
|
-
//
|
|
4420
|
+
// A native Runtime.evaluate can stay suspended behind a modal dialog.
|
|
4421
|
+
// A raw cdp.send Network.loadNetworkResource can also remain pending
|
|
4422
|
+
// after debugger detach (notably on Windows). The lease still confirms
|
|
4423
|
+
// native input release and debugger detach before reporting closure.
|
|
4424
|
+
// Internal document exports must await the native response so any
|
|
4425
|
+
// returned stream can be closed; IO.read and IO.close likewise retain
|
|
4426
|
+
// their actual settlement.
|
|
4424
4427
|
result =
|
|
4425
|
-
method === "Runtime.evaluate"
|
|
4428
|
+
method === "Runtime.evaluate" ||
|
|
4429
|
+
(method === "Network.loadNetworkResource" && ctx.method === "cdp.send")
|
|
4426
4430
|
? await nativeWithStop(ctx.signal, () =>
|
|
4427
4431
|
chrome.debugger.sendCommand(source, method, params),
|
|
4428
4432
|
)
|
|
@@ -4417,12 +4417,16 @@ export function createBrowserRouter(
|
|
|
4417
4417
|
ctx.pendingInfo.nativeNetworkTabId = tabId;
|
|
4418
4418
|
let result;
|
|
4419
4419
|
try {
|
|
4420
|
-
// A native Runtime.evaluate can stay suspended behind a modal dialog
|
|
4421
|
-
//
|
|
4422
|
-
//
|
|
4423
|
-
//
|
|
4420
|
+
// A native Runtime.evaluate can stay suspended behind a modal dialog.
|
|
4421
|
+
// A raw cdp.send Network.loadNetworkResource can also remain pending
|
|
4422
|
+
// after debugger detach (notably on Windows). The lease still confirms
|
|
4423
|
+
// native input release and debugger detach before reporting closure.
|
|
4424
|
+
// Internal document exports must await the native response so any
|
|
4425
|
+
// returned stream can be closed; IO.read and IO.close likewise retain
|
|
4426
|
+
// their actual settlement.
|
|
4424
4427
|
result =
|
|
4425
|
-
method === "Runtime.evaluate"
|
|
4428
|
+
method === "Runtime.evaluate" ||
|
|
4429
|
+
(method === "Network.loadNetworkResource" && ctx.method === "cdp.send")
|
|
4426
4430
|
? await nativeWithStop(ctx.signal, () =>
|
|
4427
4431
|
chrome.debugger.sendCommand(source, method, params),
|
|
4428
4432
|
)
|
package/implementation.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexum-hub/browser",
|
|
3
|
-
"version": "0.0.3
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Nexum 可选浏览器客户端与受管扩展",
|
|
6
6
|
"type": "module",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public",
|
|
15
|
-
"tag": "
|
|
15
|
+
"tag": "latest"
|
|
16
16
|
},
|
|
17
17
|
"engines": {
|
|
18
18
|
"node": ">=24.22.1 <25"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"ws": "8.23.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@nexum-hub/sdk": "0.0.3
|
|
68
|
+
"@nexum-hub/sdk": "0.0.3"
|
|
69
69
|
},
|
|
70
70
|
"peerDependenciesMeta": {
|
|
71
71
|
"@nexum-hub/sdk": {
|