-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluation failed: DOMException: Blocked a frame with origin "null" from accessing a cross-origin frame. #358
Comments
Hello, I wonder if this has anything to do with a previous (fixed) bug related to external iframe documents: I am not sure what could have triggered this bug from v1.2.2 to v1.2.3 !? So, same request as before: may I please have a copy of your EPUB so I can attempt to reproduce the bug? Thank you :) |
Ah, I am able to reproduce the bug using |
|
That's great - I was about to send another sample file. Yes, using the previous sample should trigger this error. |
I have come across the following axe-core issue and I am wondering it's not related to these ones. dequelabs/axe-core#3096 |
I fixed this bug via a patch to the DAISY fork of Axe. Both Ace's Electron and Puppeteer Axe "runners" yield identical validation reports, with the following execution time (reminder: external HTTP iframes are skipped / ignored):
|
DAISY Axe fork code reference: Related API: |
Axe's |
This should be fixed in Ace https://github.com/daisy/ace/releases/tag/v1.2.4 |
Good morning @danielweck. |
When running the latest daisy release v 1.2.3 I get the error message Evaluation failed: DOMException: Blocked a frame with origin "null" from accessing a cross-origin frame when a html page contains an iframe.
full details as below:
ace -v
command).node -v
command).daisy error log.txt]
I am able to process the same epub file when using Ace v1.2.2 and below. I am also able to get at least a report when I run Ace v1.2.3 using Electron (ace-electron -V path/to/epub) even though I get the follwoing error messages the processing doesn't stop in constrast to running the default ace -V path/to/epub : electron: Failed to load URL: https://myIframe.com/htmlfile.htnl with error: ERR_BLOCKED_BY_CLIENT
The text was updated successfully, but these errors were encountered: