Skip to content

Infinite loop w/ ReDoc (more specifically zone.js) #1052

Description

@billyvg

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
zone.js and raven-js (with autoBreadcrumbs: { xhr: true }) both try to wrap XMLHttpRequest.prototype.open and is causing an infinite loop between the two.

To repro:

git clone https://github.com/billyvg/ReDoc
npm install && npm start

Activity

  1. ffxsam commented on Sep 22, 2017

    @ffxsam
    Contributor

    Thanks for working on fixing this!

  2. ffxsam commented on Sep 22, 2017

    @ffxsam
    Contributor

    Just to clarify: the documentation says autoBreadcrumbs with an S. Which is it? And I assume this is passed to Raven.config()?

  3. kamilogorek commented on Sep 22, 2017

    @kamilogorek
    Contributor

    Hey, it's a known issue on zone.js side, please see #1016

  4. billyvg commented on Sep 22, 2017

    @billyvg
    MemberAuthor

    @ffxsam it's autoBreadcrumbs, sorry!

  5. ffxsam commented on Sep 22, 2017

    @ffxsam
    Contributor

    Could you guys give us a heads-up here when this is resolved? Looks like it's a zone.js issue and it's fixed, but pending publication to npm's registry.

  6. kamilogorek commented on Sep 22, 2017

    @kamilogorek
    Contributor

    Will do @ffxsam!

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

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