Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

feat(common): add missing globals #992

@CaerusKaru

Description

@CaerusKaru

I'm submitting a ...

- [ ] bug report <!-- Please search GitHub for a similar issue or PR before submitting -->
- [x] feature request
- [ ] Support request => Please do not submit support request here, instead see https://github.com/angular/universal/blob/master/CONTRIBUTING.md#question

What modules are related to this Issue?

- [ ] aspnetcore-engine
- [x] common
- [ ] express-engine
- [ ] hapi-engine
- [ ] module-map-ngfactory-loader

Current behavior?

Globals like document and window are available in Domino, but are not patched before app render

Expected behavior?

These globals should be available to applications and libraries during render, via a proxy patch (so that each request gets its own document and window)

Minimal reproduction with instructions

Access document.body in any part of the application

Environment:

@nguniversal versions

  • common: 6.0.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions