Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iframe-embedded stlite apps do not work when the parent page domains are different #476

Closed
whitphx opened this issue Feb 11, 2023 · 1 comment

Comments

@whitphx
Copy link
Owner

whitphx commented Feb 11, 2023

This problem streamlit/streamlit#6087 occurs on stlite too.
streamlit/streamlit#6100 solves it in v1.18.1, so stlite should update the base Streamlit version to it.

whitphx added a commit that referenced this issue Feb 17, 2023
* Update the streamlit submodule to v1.18.1

* Update the wheel file name

* Update react-scripts to 5.0.1

* Replace path with path-browserify in the worker, that were automatically polyfilled by Webpack4 but it isnt' with v5

* Remove worker-loader that has been deprecated for Webpack5

* Update dependencies and craco config in @stlite/sharing adapting to [email protected]

* Update dependencies and craco config in @stlite/desktop adapting to [email protected]

* Set streamlit-browser dependency version

* [WIP] Override mountable/* with files ejected from a newly scaffolded package with CRA5.0.1

* Customize the build config and dependency list for @stlite/mountable upon the ejected files

* Update dependency versions following the streamlit-browser package

* Fix typing in sharing-editor

* Update mountable/DEVELOPMENT.md

* Update yarn.lock

* Rename the websocket endpoint path following streamlit/streamlit#5534

* Fix packages/kernel/py/e2etests/tests/test_httpserver.py

* Fix the CI to run test-tornado-e2e anytime

* Fix tornado-e2e tests

* Fix CI

* Replace @st.experimental_memo with @st.cache_data in the samples

* Rename the file upload endpoint path following streamlit/streamlit#5534

* Fix BROWSER envvar value for CRA5

* Fix to avoid forbidden access to LocalStorage due to #476

* Add streamlit-browser@^1.18.1 to the deps list of @stlite/mountable

* Fix comments in packages/mountable/config/webpack.config.js

* Remove the type declarations for inline raw-loader import

* Move the deps list from dependencies to devDependencies in @stlite/mountable

* Introduce a hack to handle cross-origin policy of worker creation

* Set local package name for dump_artifacts.ts

* Fix CSP
@whitphx
Copy link
Owner Author

whitphx commented Feb 17, 2023

Resolved in 482

@whitphx whitphx closed this as completed Feb 17, 2023
AlexLiu0608 added a commit to AlexLiu0608/stlite that referenced this issue Jun 28, 2024
* Update the streamlit submodule to v1.18.1

* Update the wheel file name

* Update react-scripts to 5.0.1

* Replace path with path-browserify in the worker, that were automatically polyfilled by Webpack4 but it isnt' with v5

* Remove worker-loader that has been deprecated for Webpack5

* Update dependencies and craco config in @stlite/sharing adapting to [email protected]

* Update dependencies and craco config in @stlite/desktop adapting to [email protected]

* Set streamlit-browser dependency version

* [WIP] Override mountable/* with files ejected from a newly scaffolded package with CRA5.0.1

* Customize the build config and dependency list for @stlite/mountable upon the ejected files

* Update dependency versions following the streamlit-browser package

* Fix typing in sharing-editor

* Update mountable/DEVELOPMENT.md

* Update yarn.lock

* Rename the websocket endpoint path following streamlit/streamlit#5534

* Fix packages/kernel/py/e2etests/tests/test_httpserver.py

* Fix the CI to run test-tornado-e2e anytime

* Fix tornado-e2e tests

* Fix CI

* Replace @st.experimental_memo with @st.cache_data in the samples

* Rename the file upload endpoint path following streamlit/streamlit#5534

* Fix BROWSER envvar value for CRA5

* Fix to avoid forbidden access to LocalStorage due to whitphx/stlite#476

* Add streamlit-browser@^1.18.1 to the deps list of @stlite/mountable

* Fix comments in packages/mountable/config/webpack.config.js

* Remove the type declarations for inline raw-loader import

* Move the deps list from dependencies to devDependencies in @stlite/mountable

* Introduce a hack to handle cross-origin policy of worker creation

* Set local package name for dump_artifacts.ts

* Fix CSP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant