Skip to content

live-viewer: expose the impl to the console#313

Merged
domenic merged 2 commits into
jsdom:mainfrom
nektro:patch-1
Feb 4, 2026
Merged

live-viewer: expose the impl to the console#313
domenic merged 2 commits into
jsdom:mainfrom
nektro:patch-1

Conversation

@nektro

@nektro nektro commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

can help debugging by seeing the inner struct values

image

@domenic domenic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems reasonably. Would you mind:

  • Renaming to whatwgURL. (It seems presumptuous to claim window.whatwg.)
  • Adding a source comment explaining why this is useful so I don't just delete it in 6 months.
  • Maybe, updating index.html with some paragraph at the bottom explaining that the package's main module is available at window.whatwgURL if you want to play around with it in the console.

Sorry, I know this turns a quick drive-by GitHub edit into more of a chore. I'll take care of these it's too much trouble, just let me know.

Comment thread live-viewer/live-viewer.mjs Outdated
@domenic domenic merged commit b1a3c3c into jsdom:main Feb 4, 2026
7 checks passed
@nektro nektro deleted the patch-1 branch February 4, 2026 06:00
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