Skip to content

Require secure contexts for model loading and rendering - #167

Merged
cabanier merged 1 commit into
immersive-web:mainfrom
cabanier:require-model-secure-contexts
Oct 20, 2026
Merged

cabanier merged 1 commit into
immersive-web:mainfrom
cabanier:require-model-secure-contexts

Conversation

@cabanier

@cabanier cabanier commented Oct 14, 2026 •

Copy link
Copy Markdown
Member
  • Restrict HTMLModelElement exposure with SecureContext and gate model and environment-map fetching, decoding, and rendering using HTML's exact secure-context definition.

  • Define DOM adopting steps that stop loading and rendering and reject pending readiness promises with SecurityError when a model moves into an insecure document. Show fallback content when model loading is blocked.

  • Explain same-origin adoption across secure and insecure contexts and preserve standard localhost and loopback support. Reference Fetch and Mixed Content without introducing a resource URL scheme whitelist.

Fixes #109.


Preview | Diff

Restrict HTMLModelElement exposure with SecureContext and gate model and
environment-map fetching, decoding, and rendering using HTML's exact
secure-context definition.

Define DOM adopting steps that stop loading and rendering and reject pending
readiness promises with SecurityError when a model moves into an insecure
document. Show fallback content when model loading is blocked.

Explain same-origin adoption across secure and insecure contexts and preserve
standard localhost and loopback support. Reference Fetch and Mixed Content
without introducing a resource URL scheme whitelist.

Refs immersive-web#109.

Validation: strict Bikeshed build and source/reference checks.
@cabanier
cabanier force-pushed the require-model-secure-contexts branch from e957525 to 978e4f2 Compare October 15, 2026 21:59
@cabanier
cabanier merged commit bce284f into immersive-web:main Oct 20, 2026
3 checks passed
@cabanier
cabanier deleted the require-model-secure-contexts branch October 20, 2026 18:56
github-actions Bot added a commit that referenced this pull request Oct 20, 2026
SHA: bce284f
Reason: push, by cabanier

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

Require HTTPS?

1 participant