NoopZone throws errors when Zone.js is not included · Issue #23428 · angular/angular · GitHub
Skip to content

NoopZone throws errors when Zone.js is not included #23428

Description

@robwormald

I'm submitting a...

[x] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
[ ] Other... Please describe:

Current behavior

NgZone throws a ReferenceError: Zone is not defined error when { ngZone: 'noop' } is used to bootstrap a module.

Expected behavior

Using the noop ngZone should not require Zone.js to be loaded.

I believe the regression was introduced here : #16863

We should probably have some kind of integration test for this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues related to the framework runtimefreq1: lowregressionIndicates than the issue relates to something that worked in a previous versiontype: bug/fix

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions