oracle-samples / xfc

A javascript library for Cross Frame Communication
Apache License 2.0
17 stars 24 forks source link

Allow the consumer to skip the mounting lifecycle so that he can reuse the same frame #7

Closed sdivi closed 6 years ago

sdivi commented 6 years ago

Please fill out the below template as best you can.

Description of Issue

As a consumer of xfc i should be able to skip the mounting lifecycle so that i can reuse the same iframe and go through the remaining life cycle events of xfc launched and authorized so that i can skip the costly iframe creation operation

System Configuration

Project Version

Additional Details (optional)

In a use case where we launch the provider using xfc initial life cycle events and in a refresh scenario where we launch the provider with same url with different authentication params i should be able to use the existing frame and go through the launched and authorized state

Steps to Reproduce the Issue

  1. Launch any provider using xfc lifecycle events which will create a frame. Relaunch the same content provider which will create a new frame

Expected Outcomes

Ability to reuse the frame by skipping the mounting lifecycle event and go through the remaining lifecycle events

sdivi commented 6 years ago

@poloka

mhemesath commented 6 years ago

This seems like a reasonable feature to add. If you open a pull request I’d be happy to review and merge it. Thanks!

kafkahw commented 6 years ago

This issue will be addressed by this PR #8

kafkahw commented 6 years ago

Fixed in PR #8