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

Bug: Support properties that don't take a function #17

@tbosch

Description

@tbosch

Setting xhr.responseType = 'document' is a noop right now (given xhr = new XMLHttpRequest()).

In https://github.com/angular/zone.js/blob/master/zone.js#L347 the else case is missing, i.e.

           if (typeof fn === 'function') {
              this._o[prop] = zone.bind(fn);
            } else {
              this._o[prop] = fn;
            }

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions