Skip to content

Fix #2426 - Do not warn about window and document#2434

Merged
WebReflection merged 1 commit intopyscript:mainfrom
WebReflection:issue-2426
Jan 22, 2026
Merged

Fix #2426 - Do not warn about window and document#2434
WebReflection merged 1 commit intopyscript:mainfrom
WebReflection:issue-2426

Conversation

@WebReflection
Copy link
Copy Markdown
Contributor

Description

This MR fixes #2426 by checking sync_main_only field in the config which, if provided and true, will not show the warning in console.

Changes

  • updated polyscript to its latest
  • added a check around sync_main_only in config

Checklist

  • I have checked make build works locally.
  • I have created / updated documentation for this change (if applicable).

@WebReflection WebReflection merged commit d47b6ed into pyscript:main Jan 22, 2026
2 checks passed
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.

'Unable to use window or document' warning even if sync_main_only = true

2 participants