Skip to content

[Firefox] Save/Load project buttons error: window.showOpenFilePicker is not a function #161

@oiale

Description

@oiale

Steps to reproduce:

  1. Go to https://zalo.github.io/CascadeStudio/ using Firefox v121+
  2. Click 'Save Project' or 'Open Project'
  3. Nothing happens, and console shows the following error:
Uncaught (in promise) TypeError: window.showOpenFilePicker is not a function
    getNewFileHandle https://zalo.github.io/CascadeStudio/js/MainPage/CascadeMain.js:535
    loadProject https://zalo.github.io/CascadeStudio/js/MainPage/CascadeMain.js:589
    onmouseup https://zalo.github.io/CascadeStudio/:1

Interestingly, the button 'Import STEP/IGES/STL' works correctly and shows a dialog.
Turning ublock on/off shows no difference.
Tested on

MacOS 14.2.1
Firefox 121.0
Windows 10 22H2
Firefox 121.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions