You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***2. Initialization succeeds, but scan/load shows blank images***
33
+
#### **2) Initialization succeeds, but scanning / loading returns blank**
34
+
Initialization appears successful, but scanned or loaded images are blank.
35
+
36
+
The browser console (F12 → Console) may show a CORS denial similar to:
34
37
35
-
The browser console (F12 → Console) shows a CORS rejection similar to:
36
38
```shell
37
-
Access to fetch at 'https://127.0.0.1:18623/fa/VersionInfo?ts=1761893667670' from origin 'https://your-domain.com' has been blocked by CORS policy: Permission was denied for this request to access the `unknown` address space.
39
+
Access to fetch at 'https://127.0.0.1:18623/fa/VersionInfo?ts=1761893667670'
40
+
from origin 'https://your-domain.com' has been blocked by CORS policy:
41
+
Permission was denied for this request to access the `unknown` address space.
38
42
```
39
43
44
+
---
45
+
46
+
#### Version-Specific Behavior
47
+
The observed behavior depends on Chromium browser version and Dynamic Web TWAIN (DWT) version:
48
+
49
+
| Browser Version | DWT Version | Resulting Symptom |
> (*) **Chromium 144 has not been officially released.**
56
+
> Behavior is based on pre-release testing and may change once the final release becomes available.
57
+
40
58
### Root Cause
41
59
42
60
Chromium 142 introduces a new [Local Network Access security policy](https://chromestatus.com/feature/5152728072060928) requirement.
@@ -67,26 +85,36 @@ Please refer to:
67
85
68
86
***3. Developer Notes***
69
87
70
-
**a) Check Permission Programmatically**
88
+
**a) If Running Inside an `iframe`**
71
89
72
-
```javascript
73
-
let status =awaitnavigator.permissions.query({ name:"local-network-access" });
74
-
console.log(status.state);
75
-
```
90
+
> [!IMPORTANT]
91
+
> If Dynamic Web TWAIN is running inside an iframe from a different origin (cross-origin), you must explicitly grant local-network access in the iframe.
92
+
> If the iframe is same-origin, no additional configuration is required.
76
93
77
-
If not granted, guide users to:
94
+
To enable access, specify the `allow` attribute.
95
+
For security reasons, it is recommended to allow only the necessary origin rather than using a wildcard.
78
96
79
-
Chrome → Settings → Privacy and Security → Site Settings → Local network access
0 commit comments