Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Cannot read property 'contentWindow' of null #201

@StephenEsser

Description

@StephenEsser

Issue Description

The sandbox iframe can be unmounted when a request is made to find its content window.

https://github.com/cerner/kaiju/blob/master/rails/client/app/bundles/kaiju/components/Project/utilities/messenger.js#L4

Error

Cannot read property 'contentWindow' of null

Issue Type

  • New Feature
  • Enhancement
  • Bug
  • Other

Expected Behavior

The Sandbox iframe should not be requested when it is unavailable.

Current Behavior

A request to fetch the Sandbox iframe is made when it is not present on the screen.

Steps to Reproduce

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-relicErrors uncovered from new-relic monitoring

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions