Comments (2)
I think in your code snippet, you mistyped/misused init
method.
Instead of calling init directly on XFC (XFC.init()
) , you might want to call XFC.Consumer.init()
.
As for the issue you reported, existing examples are using the same logic and they all work fine in Safari/Firefox. Here's an example: https://github.com/cerner/xfc/blob/a74c23f11d033d8cd099a73f588ce30fe6e2d068/example/cross_origin_communication/3_a_index.html#L84
Please try to reproduce the issue with our existing examples and provide more information. Otherwise, I'll close this issue as it's too vague.
from xfc.
closed since no response.
from xfc.
Related Issues (16)
- Add ability to pass attributes to consumer mount method for setting on iframe HOT 3
- Unable to access frame in orion-mpage-component HOT 4
- Add trigger for iframe unloading (beforeunload event) HOT 1
- Add ability to 'fire and wait' a message HOT 1
- Consumer trigger to content provider not functioning HOT 1
- Update unload listener to handle only when a page is unloaded HOT 1
- Update Dependencies HOT 2
- Unable to get property 'ADDITION' of undefined or null reference HOT 4
- Docs link to deprecated iframe attribute `allow`
- Slow loading images not accounted for in resize calculation
- Throw Error When Provider is not Initialized
- Getting script error 'hasAttribute' method or property undefined in IE7 HOT 1
- Conflict with F-Twelve tool HOT 1
- Eliminate the need to challenge the consumer when route protected HOT 7
- Allow the consumer to skip the mounting lifecycle so that he can reuse the same frame HOT 4
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 xfc.