Firefox support (#1606)
This PR adds downloadable firefox packages into emsdk. The downloading of firefox will be done via the `mozdownload` pip package, which simplifies the installation a lot. Installing and activating a Firefox package will set up the `EMTEST_BROWSER` variable, so running browser tests will then automatically use the activated browser. The oldest supported Firefox version by Emscripten is 65. So add that version, and all ESR versions from 65 upwards, and the moving channels. This allows people to go back and forth testing different versions of interest.
This commit is contained in:
@@ -341,6 +341,119 @@
|
||||
"activated_env": "EMSDK_PYTHON=%installation_dir%/bin/python3;SSL_CERT_FILE=%installation_dir%/lib/python3.13/site-packages/certifi/cacert.pem"
|
||||
},
|
||||
|
||||
{
|
||||
"id": "firefox",
|
||||
"version": "68.12.0esr",
|
||||
"bitness": 64,
|
||||
"url": "downloaded via mozdownload script, but a dummy directive is placed here so emsdk understands this Tool to be downloaded from the web",
|
||||
"activated_cfg": "EMSDK_ACTIVATED_TEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"activated_env": "EMTEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"custom_install_script": "download_firefox",
|
||||
"is_old": true
|
||||
},
|
||||
{
|
||||
"id": "firefox",
|
||||
"version": "78.15.0esr",
|
||||
"bitness": 64,
|
||||
"url": "downloaded via mozdownload script, but a dummy directive is placed here so emsdk understands this Tool to be downloaded from the web",
|
||||
"activated_cfg": "EMSDK_ACTIVATED_TEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"activated_env": "EMTEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"custom_install_script": "download_firefox",
|
||||
"is_old": true
|
||||
},
|
||||
{
|
||||
"id": "firefox",
|
||||
"version": "91.13.0esr",
|
||||
"bitness": 64,
|
||||
"url": "downloaded via mozdownload script, but a dummy directive is placed here so emsdk understands this Tool to be downloaded from the web",
|
||||
"activated_cfg": "EMSDK_ACTIVATED_TEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"activated_env": "EMTEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"custom_install_script": "download_firefox",
|
||||
"is_old": true
|
||||
},
|
||||
{
|
||||
"id": "firefox",
|
||||
"version": "102.15.1esr",
|
||||
"bitness": 64,
|
||||
"url": "downloaded via mozdownload script, but a dummy directive is placed here so emsdk understands this Tool to be downloaded from the web",
|
||||
"activated_cfg": "EMSDK_ACTIVATED_TEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"activated_env": "EMTEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"custom_install_script": "download_firefox",
|
||||
"is_old": true
|
||||
},
|
||||
{
|
||||
"id": "firefox",
|
||||
"version": "115.28.0esr",
|
||||
"bitness": 64,
|
||||
"url": "downloaded via mozdownload script, but a dummy directive is placed here so emsdk understands this Tool to be downloaded from the web",
|
||||
"activated_cfg": "EMSDK_ACTIVATED_TEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"activated_env": "EMTEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"custom_install_script": "download_firefox",
|
||||
"is_old": true
|
||||
},
|
||||
{
|
||||
"id": "firefox",
|
||||
"version": "128.14.0esr",
|
||||
"bitness": 64,
|
||||
"url": "downloaded via mozdownload script, but a dummy directive is placed here so emsdk understands this Tool to be downloaded from the web",
|
||||
"activated_cfg": "EMSDK_ACTIVATED_TEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"activated_env": "EMTEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"custom_install_script": "download_firefox"
|
||||
},
|
||||
{
|
||||
"id": "firefox",
|
||||
"version": "140.3.1esr",
|
||||
"bitness": 64,
|
||||
"url": "downloaded via mozdownload script, but a dummy directive is placed here so emsdk understands this Tool to be downloaded from the web",
|
||||
"activated_cfg": "EMSDK_ACTIVATED_TEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"activated_env": "EMTEST_BROWSER=%installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"custom_install_script": "download_firefox"
|
||||
},
|
||||
{
|
||||
"id": "firefox",
|
||||
"version": "latest",
|
||||
"bitness": 64,
|
||||
"url": "downloaded via mozdownload script, but a dummy directive is placed here so emsdk understands this Tool to be downloaded from the web",
|
||||
"git_branch": "dummy field, to instruct emsdk to attempt to reinstall this tool even if it is installed, to check for new version",
|
||||
"activated_cfg": "EMSDK_ACTIVATED_TEST_BROWSER=%actual_installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"activated_env": "EMTEST_BROWSER=%actual_installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"custom_install_script": "download_firefox",
|
||||
"custom_is_installed_script": "is_firefox_installed"
|
||||
},
|
||||
{
|
||||
"id": "firefox",
|
||||
"version": "latest-esr",
|
||||
"bitness": 64,
|
||||
"url": "downloaded via mozdownload script, but a dummy directive is placed here so emsdk understands this Tool to be downloaded from the web",
|
||||
"git_branch": "dummy field, to instruct emsdk to attempt to reinstall this tool even if it is installed, to check for new version",
|
||||
"activated_cfg": "EMSDK_ACTIVATED_TEST_BROWSER=%actual_installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"activated_env": "EMTEST_BROWSER=%actual_installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"custom_install_script": "download_firefox",
|
||||
"custom_is_installed_script": "is_firefox_installed"
|
||||
},
|
||||
{
|
||||
"id": "firefox",
|
||||
"version": "latest-beta",
|
||||
"bitness": 64,
|
||||
"url": "downloaded via mozdownload script, but a dummy directive is placed here so emsdk understands this Tool to be downloaded from the web",
|
||||
"git_branch": "dummy field, to instruct emsdk to attempt to reinstall this tool even if it is installed, to check for new version",
|
||||
"activated_cfg": "EMSDK_ACTIVATED_TEST_BROWSER=%actual_installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"activated_env": "EMTEST_BROWSER=%actual_installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"custom_install_script": "download_firefox",
|
||||
"custom_is_installed_script": "is_firefox_installed"
|
||||
},
|
||||
{
|
||||
"id": "firefox",
|
||||
"version": "nightly",
|
||||
"bitness": 64,
|
||||
"url": "downloaded via mozdownload script, but a dummy directive is placed here so emsdk understands this Tool to be downloaded from the web",
|
||||
"git_branch": "dummy field, to instruct emsdk to attempt to reinstall this tool even if it is installed, to check for new version",
|
||||
"activated_cfg": "EMSDK_ACTIVATED_TEST_BROWSER=%actual_installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"activated_env": "EMTEST_BROWSER=%actual_installation_dir%/%macos_app_bundle_prefix%firefox%.exe%",
|
||||
"custom_install_script": "download_firefox",
|
||||
"custom_is_installed_script": "is_firefox_installed"
|
||||
},
|
||||
|
||||
{
|
||||
"id": "emscripten",
|
||||
"version": "tag-%tag%",
|
||||
|
||||
Reference in New Issue
Block a user