Closed
Description
I'm trying to display some content running on a local server (via python http>server, or VSCode's liver-server extensions). The html couldn't be simpler:
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.6.0/p5.js"></script>
<meta charset="utf-8" />
</head>
<body>
<main>
</main>
<script>
function setup(){
print("test")
}
</script>
</body>
</html>
It runs fine in all of the browsers I've installed, but it causes an exception with choc_WebView.h here:
I'm just using the demo code with navigate()
instead of setHTML()
Any ideas? I'm well out of my depth here. Am I correct in assuming that if it runs in Edge it should run fine?
[edit] It seems that it might be something unique to p5js that causes this problem. If I try with another js library, it works fine. I'd still love to know if it could be resolved...
Metadata
Metadata
Assignees
Labels
No labels