SecurityError: Sandbox access violation, safari
- Dominant language
- JavaScript
- Stars
- 4.5k
- Forks
- 688
- PR merge metrics
- No merged PRs in 30d
Description
Can't print in safari Version 18.5 (20621.2.5.11.8), latest as of now.
`SecurityError: Sandbox access violation: Blocked a frame at "https://staging.england.medicus.health" from accessing a cross-origin frame. The frame being accessed is sandboxed and lacks the "allow-same-origin" flag`
Our URL is the same `https://my.url.com`
Works in Chrome and code generated is -
```
```
our code
```
printJS({
printable: url,
type: "pdf",
onError: rej,
onPrintDialogClose: res,
});
```
How can we add the required attributes ? Suggested required are -
` sandbox="allow-same-origin allow-scripts allow-forms allow-popups" `
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.