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.

"Out of stack space" in IE #316

Closed
Closed
@HalfLegend

Description

@HalfLegend

I am facing with a "Out of stack space" in IE

SCRIPT28: Out of stack space
File: zone.js, Line: 385, Column: 18
SCRIPT2343: Stack overflow at line: 385

I am working with Angular2 and it is working fine in Chrome and firefox. But an error in IE.
My IE version is IE11 x64

Context of the error code:

            ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {
                try {
                    if (this._scheduleTaskZS) {
                        return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this.zone, targetZone, task);
                    }
                    else if (task.scheduleFn) {
                        task.scheduleFn(task);
                    }
                    else if (task.type == 'microTask') {
                        scheduleMicroTask(task);
                    }
                    else {
                        throw new Error('Task is missing scheduleFn.');
                    }
                    return task; //<--- HERE is the error
                }
                finally {
                    if (targetZone == this.zone) {
                        this._updateTaskCount(task.type, 1);
                    }
                }
            };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions