Skip to content

Conversation

stroiman
Copy link
Contributor

@stroiman stroiman commented Feb 4, 2025

I created a headless browser in Go, and use the webref to generate primarily JavaScript bindings to Go objects, as well as mapping element tagnames to IDL interface name.

The actual parsing of webref files were extracted as its own library.

It's very early prototype supporting only a very small subset of the standard, but it does support a session-based username/password login flow using HTMX.

So if it's enough to be in the list must be for you to judge :)

Copy link
Member

@dontcallmedom dontcallmedom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the link, and glad to see webref used in a new project! please let us know when you see opportunities for improving webref as you make use of it

@dontcallmedom dontcallmedom merged commit 8c88a47 into w3c:main Feb 4, 2025
1 check failed
@stroiman
Copy link
Contributor Author

stroiman commented Feb 4, 2025

Awesome :)

I already had a discussions, that I'd really like to know if the specs define if a method can result in an error, but it isn't part of the idl standard, yet.

But it's not much of an issue, I already need to have the ability to supply customization to how a method should be generated, so adding a SetNoError() on some of the methods isn't too much of an issue.

#1426

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