diff --git a/test/browser_reporting.js b/test/browser_reporting.js index 972d4ba52ce53..7b49b5242b600 100644 --- a/test/browser_reporting.js +++ b/test/browser_reporting.js @@ -1,5 +1,5 @@ // Set this to true to have stdout and stderr sent back to the server -var captureStdio = false; +var captureStdio = true; var hasModule = typeof Module === 'object' && Module; diff --git a/test/common.py b/test/common.py index beb266d2d0021..a9e798fe69e80 100644 --- a/test/common.py +++ b/test/common.py @@ -2129,6 +2129,8 @@ def do_POST(self): self.end_headers() else: print(f'do_POST: unexpected POST: {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 3ea4285d5985c..c471f77a2d417 100644 --- a/tools/link.py +++ b/tools/link.py @@ -797,7 +797,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', [])