Skip to content

Download button do not allow popup new download in separate tab #583

Closed as not planned
@luipir

Description

@luipir

We had an issue integrating stac-browser in the PCKE infrastructure that we have to use. Due to issue/limitation, we want to override it opening download in a separate popup but the stac-broser do not do this in a https context.
The reason of this is that stac-browser is using StreamSaver.js here to allow stream download.

IMHO this behaviour should be configurable and do not force to remain in the same page opening an hidden iframe.

The issue is reproducible in HTTPS download where the StreamSaver.js create an hidden iframe to manage the stream. if context is not secure (e.g. http download), then a new tab is open to create secure connection.

I already open a feature request to StreamStream.js to add a configuration parameter to force or not iframe/popup use:
jimmywarting/StreamSaver.js#359

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions