Skip to content

Setting onreadystatechange / onload after send() is called results in Zone not completing #183

@matthewp

Description

@matthewp

Example code:

var xhr = new XMLHttpRequest();
xhr.open("GET", "http://chat.donejs.com/api/messages");
xhr.send();
xhr.onreadystatechange = function(){
	if(xhr.readyState === 4) {
		zone.data.worked = true;
	}
};

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions