gree / gree/unity-webview

Cross origin frame

Open
#900 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C++
Stars
2.7k
Forks
734
Avg merge
11h 39m
Merged PRs (30d)
1

Description

Hi,
When I am trying to access a http file on my own server, i get a pop up error that says "Invoking error handler due to
SecurityError: Blocked a frame with origin "https://myServer" from accessing a cross-origin frame.
Error: Blocked a frame with origin "https://myServer" from accessing a cross-origin frame."

Although, when I use a simple iframe with the http link, it works fine. Only happens when I use the webview, I get this pop up error. How do I resolve this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no file, test, or entry point. Start by reproducing the webview case using the HTTP resource and compare it with the working iframe behavior. Done means the webview no longer shows the reported cross-origin SecurityError, or the project documents a confirmed limitation and resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
unity
Domain
security, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.