Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Fix renderer crash issue in PortalListComponent test in Electron 3.0 #438

Closed

Description

@daviwil

Description

It seems that there's an issue with window.fetch in Atom, built on Electron 3.0, which causes a renderer process crash in the "PortalListComponent initialization" test when TeletypeClient.initialize gets called. I've tracked this down to the usage of window.fetch inside of teletype-client's RestGateway.fetch method. This problem doesn't occur when Atom is built with Electron 2.0 and below.

Strangely, I'm able to use Teletype with no issues inside of Atom so I suspect that this might be an issue with how Teletype's tests are configured and executed.

Steps to Reproduce

  1. Download an Atom Dev build or build it from master
  2. Follow steps in README.md to clone Teletype package and set up test DB
  3. Run atom --test test in the teletype repo folder (use the Atom Dev build for this)
  4. Observe renderer process crash at the "PortalListComponent initialization" test

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions