pmrpc icon indicating copy to clipboard operation
pmrpc copied to clipboard

Failed RPC from sandboxed iframe to a content script in a Chrome packaged app

Open liborbus opened this issue 10 years ago • 0 comments

RPC calls initiated from a sandboxed iframe fail with message:

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

Reason is that sandboxed iframe has null origin thus "*" shall be used instead null.

liborbus avatar May 21 '14 08:05 liborbus