diff --git a/test/browser/test_small_js_flags.js.size b/test/browser/test_small_js_flags.js.size index 51aa141c6a273..39604eacfffc5 100644 --- a/test/browser/test_small_js_flags.js.size +++ b/test/browser/test_small_js_flags.js.size @@ -1 +1 @@ -3936 +4106 diff --git a/test/browser_reporting.js b/test/browser_reporting.js index cfef660d5b8db..786d7b495e30b 100644 --- a/test/browser_reporting.js +++ b/test/browser_reporting.js @@ -1,9 +1,9 @@ // Set this to true to have stdout and stderr sent back to the server -var captureStdoutStderr = false; +var captureStdoutStderr = true; var hasModule = typeof Module === 'object' && Module; -var reportingURL = 'http://localhost:8888/'; +var reportingURL = 'http://localhost:8888'; async function reportResultToServer(result) { if (reportResultToServer.reported) { diff --git a/test/common.py b/test/common.py index 44082369e258a..7c654ad023dad 100644 --- a/test/common.py +++ b/test/common.py @@ -2127,7 +2127,9 @@ def do_POST(self): self.send_response(200) self.end_headers() else: - print(f'do_POST: unexpected POST: {urlinfo.query}') + print(f'do_POST: unexpected POST: {self.path} {urlinfo}') + self.send_response(404) + self.end_headers() def do_GET(self): info = urlparse(self.path) diff --git a/tools/link.py b/tools/link.py index 0fa6443d07100..1230ccd8b25c5 100644 --- a/tools/link.py +++ b/tools/link.py @@ -800,7 +800,7 @@ def phase_linker_setup(options, linker_args): # noqa: C901, PLR0912, PLR0915 def limit_incoming_module_api(): if options.oformat == OFormat.HTML and options.shell_path == DEFAULT_SHELL_HTML: # Out default shell.html file has minimal set of INCOMING_MODULE_JS_API elements that it expects - default_setting('INCOMING_MODULE_JS_API', 'canvas,monitorRunDependencies,onAbort,onExit,print,setStatus'.split(',')) + default_setting('INCOMING_MODULE_JS_API', 'canvas,monitorRunDependencies,onAbort,onExit,print,printErr,setStatus'.split(',')) else: default_setting('INCOMING_MODULE_JS_API', [])