Skip to content

Raven doesn't work in Chrome App #157

Closed
@fanzeyi

Description

@fanzeyi

Chrome blocked the image requesting in Chrome App for improving security. So the function makeRequest doesn't work in Chrome App.

I patched raven-js for using it in Chrome App here

But there are two problems with my patch:

  1. HTTP GET requesting doesn't have an Origin or a Referer header. So I have to use client secret here to pass the authorization check.
  2. Sentry doesn't allow to set Allowed domain into Chrome App URL like chrome-extension://*/. So I have to use a single wildcard here.

Any better solutions? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions