Skip to content

TypeError: toISOString is not a function #598

@artem-v-shamsutdinov

Description

@artem-v-shamsutdinov

Hello,

I'm assuming this is related to:

#315

However, it works (on Windows 7) with:
Version 70.0.3538.67 (Official Build) (64-bit)
Devtools 2.15.5

And is broken (on Windows 10) with:
Version 70.0.3538.102 (Official Build) (64-bit)
Devtools 2.16.4

I'm not sure exactly when it broke but I assume very recently - just got first report this morning.

Details:

core.js:1449 ERROR Error: Uncaught (in promise): TypeError: toISOString is not a function
TypeError: toISOString is not a function
at String.toJSON ()
at Object.eval (_ctx.js:18)
at derez (:1:67530)
at derez (:1:68151)
at derez (:1:68151)
at derez (:1:68151)
at derez (:1:67969)
at derez (:1:68151)
at derez (:1:68151)
at derez (:1:68151)
at String.toJSON ()
at Object.eval (_ctx.js:18)
at derez (:1:67530)
at derez (:1:68151)
at derez (:1:68151)
at derez (:1:68151)
at derez (:1:67969)
at derez (:1:68151)
at derez (:1:68151)
at derez (:1:68151)
at resolvePromise (zone.js:814)
at resolvePromise (zone.js:771)
at eval (zone.js:873)
at ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:4751)
at ZoneDelegate.invokeTask (zone.js:420)
at Zone.runTask (zone.js:188)
at drainMicroTaskQueue (zone.js:595)
at ZoneTask.invokeTask [as invoke] (zone.js:500)
at invokeTask (zone.js:1540)

Action:

{
action: {
payload: {
event: {
id: 49843783
state: RouterStateSnapshot {_root: TreeNode, url: "/foo-bar/foo-bar-bar"}
url: "/foo-bar/foo-bar-bar"
urlAfterRedirects: "/foo-bar/foo-bar-bar"
},
routerState: {
root: // getter
url: "/foo-bar/foo-bar-bar"
_root: // additional data with circular dependencies
}
},
type: "ROUTER_NAVIGATION"
}
timestamp: undefined
type: "PERFORM_ACTION"
}

The action cannot be serialized via general methods:

VM22530:1 Uncaught TypeError: Converting circular structure to JSON
at JSON.stringify ()
at eval (eval at (_ctx.js:20), :1:6)
at Object.eval (_ctx.js:18)
at derez (:1:67530)
at derez (:1:68151)
at derez (:1:68151)
at derez (:1:68151)
at derez (:1:67969)
at derez (:1:68151)
at derez (:1:68151)

Any help would be greatly appreciated.

Thanks, :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions