### Godot version

v4.0.beta9.official [e780dc332]

### System information

* Chrome 107.0.5304.110 (Official Build) (64-bit) on ChromeOS 15117.111.0 (Official Build) stable-channel octopus

### Issue description

When attempting to download your project from the web app using the Download Project Source button, nothing happens. This makes it impossible to download your project, which means that you must start over if you need to switch platforms.

### Steps to reproduce

1. Create or open any project in the web editor
2. Click `Download Project Source`
3. Notice a lack of download

### Minimal reproduction project

N/A, freshly created project works
#if defined(TOOLS_ENABLED) && defined(WEB_ENABLED)
#include "web_tools_editor_plugin.h"
#include "core/config/engine.h"
#include "core/config/project_settings.h"
#include "core/io/dir_access.h"
#include "core/io/file_access.h"
#include "core/os/time.h"
#include "editor/editor_node.h"
#include <emscripten/emscripten.h>
extern "C" {
extern void godot_js_os_download_buffer(const uint8_t *p_buf, int p_buf_size, const char *p_name, const char *p_mime);
}
static void _web_editor_init_callback() {
	EditorNode::get_singleton()->add_editor_plugin(memnew(WebToolsEditorPlugin));
}
void WebToolsEditorPlugin::initialize() {
	EditorNode::add_init_callback(_web_editor_init_callback);
}
WebToolsEditorPlugin::WebToolsEditorPlugin() {
	add_tool_menu_item("Download Project Source", callable_mp(this, &WebToolsEditorPlugin::_download_zip));
}
void WebToolsEditorPlugin::_download_zip(Variant p_v) {
	if (!Engine::get_singleton() || !Engine::get_singleton()->is_editor_hint()) {
		ERR_PRINT("Downloading the project as a ZIP archive is only available in Editor mode.");
		return;