Comments (1)
Hey Matthias,
Looking over the issue, I wonder if it has something to do with tighter restrictions on cross-origin messaging.
By default, the postMessage that i'm performing on each frame is assigned to all targets and this is usually frowned upon or not recommended to use for potential security reasons.
The code snippet you mentioned within the clojurescript codebase is here: https://github.com/benzap/flyer.js/blob/master/src-cljs/flyer/storage.cljs#L17
By setting this to undefined, you prevent the frames from being sent a message. I've had issues with this in the past with IE8, and i'm not sure if it's a problem with the pages not being loaded fast enough. However, it might be an issue with the introduction of tighter restrictions when posting messages between different domains.
A possible solution would be to be explicit with your origin when you're sending a broadcast.
So you would change this in domain B:
flyer.broadcast({ channel: "test", topic: "some.topic", data: {} });
to include the target domain:
flyer.broadcast({ channel: "test", topic: "some.topic", data: {}, target: "http://domain-a.somehost.com" });
Hope this helps, and thanks for the feedback!
Ben
from flyer.js.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flyer.js.