Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Unable to save a CPU Profile #13767

@lee-dohm

Description

@lee-dohm

Prerequisites

Description

A security error is produced when attempting to collect a CPU Profile through the developer tools in Atom.

Steps to Reproduce

  1. Launch Atom in your local atom repository
  2. Press Alt+Cmd+I to open the Developer Tools
  3. Click the Profiles tab in the Developer Tools
  4. Ensure "Record JavaScript CPU Profile" is selected
  5. Click Start
  6. Do a couple random things in the editor
  7. Click Stop
  8. Observe that a SecurityError regarding temporary storage is displayed
  9. Click the Save link next to the new profile record
  10. Save to ~/Downloads
  11. Get info on the new *.cpuprofile file

Expected behavior: The cpuprofile file to be longer than zero bytes

Actual behavior: The cpuprofile file is always zero bytes

Versions

Atom    : 1.15.0-dev-ae9d949ee
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0

I also reproduced this using v1.13.1 and v1.14.0-beta4.

Additional Information

screen shot 2017-02-07 at 10 28 03 am

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions