Skip to content

Conversation

rayslava
Copy link
Contributor

@rayslava rayslava commented Feb 4, 2025

At least in Firefox the documentScripts[i].src is read as "" when there's no src attribute, this leads to attempt to evaluate the whole document HTML.

Without this I get error

Unexpected EOF [jscl.js:47215:108](http://172.18.0.2:8080/jscl.js)
Uncaught Error: Variable <!DOCTYPE is unbound.

when the prelude.js attempt to evaluate the whole document instead of script.

At least in Firefox the documentScripts[i].src is read as "" when there's no
src attribute, this leads to attempt to evaluate the whole document HTML.
@davazp davazp merged commit 0a375b7 into jscl-project:master Feb 4, 2025
1 check passed
@rayslava
Copy link
Contributor Author

rayslava commented Feb 5, 2025

And the GitHub Pages action failed, it seems the ssh key needs an update.

@rayslava rayslava deleted the eval-fix branch February 5, 2025 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants