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.

Maximum Call Stack Exceeded when checking Document type #5

Open

Description

@jeffbcross

When using assert.is, I'm running into a Maximum Call Stack Exceeded RangeError when the value is of type Document. All other types work fine. This is because prettyprint is seeing it as typeof "object" and is trying to recurse over its properties to print them. I can submit a fix for this later.

var doc = document.implementation.createDocument(null, 'doc');
assert(doc).is(DataView, Blob, Document);

Activity

  1. self-assigned this
    on Apr 17, 2014
  2. vojtajina commented on Apr 18, 2014

    @vojtajina
    Contributor

    prettyPrint has to handle circular refs.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions