izuzak/pmrpc — Issue #5: iframe calling procedure defined in parent window doesn't work!
Author: topliceanu
Created: 2012-02-19 08:23:53+00:00
State: open

I'm trying to run this code
```javascript
// in iframe
pmrpc.call({
destination: window.parent,
publicProcedureName: 'test',
onSuccess: .....
....
});
```
but i keep getting this error:
```
Unsafe JavaScript attempt to access frame with URL from frame with URL . Domains, protocols and ports must match.
```

Is there any way to call a procedure defined in a parent window from an iframe using pmrpc?
Thanks,
Alex T