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

Failed to read the 'frame' property from 'Window' #13218

@richburdon

Description

@richburdon

I have a simple Angular app that is loaded within an iframe within a Chrome Extension.

The app runs fine when loaded in an iframe outside of the extension, but when loaded via the unpacked extension, I get the following error:

Uncaught SecurityError: Failed to read the 'frame' property from 'Window': 
Blocked a frame with origin "chrome-extension://xxx" from accessing a frame with origin "https://google.com".  
The frame requesting access has a protocol of "chrome-extension", the frame being accessed has a protocol of "https". Protocols must match.

I'm starting to look into the Angular codebase, but can anyone suggest why the window.frame is being accessed (and if I can suppress this)?

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