Skip to content

Commit c37a2a1

Browse files
committed
[test] Enable stdout/stderr logging by default in browser tests
1 parent 4730aa9 commit c37a2a1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/common.py

+2
Original file line numberDiff line numberDiff line change
@@ -2129,6 +2129,8 @@ def do_POST(self):
21292129
self.end_headers()
21302130
else:
21312131
print(f'do_POST: unexpected POST: {urlinfo}')
2132+
self.send_response(404)
2133+
self.end_headers()
21322134

21332135
def do_GET(self):
21342136
info = urlparse(self.path)

tools/link.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ def phase_linker_setup(options, linker_args): # noqa: C901, PLR0912, PLR0915
797797
def limit_incoming_module_api():
798798
if options.oformat == OFormat.HTML and options.shell_path == DEFAULT_SHELL_HTML:
799799
# Out default shell.html file has minimal set of INCOMING_MODULE_JS_API elements that it expects
800-
default_setting('INCOMING_MODULE_JS_API', 'canvas,monitorRunDependencies,onAbort,onExit,print,setStatus'.split(','))
800+
default_setting('INCOMING_MODULE_JS_API', 'canvas,monitorRunDependencies,onAbort,onExit,print,printErr,setStatus'.split(','))
801801
else:
802802
default_setting('INCOMING_MODULE_JS_API', [])
803803

0 commit comments

Comments
 (0)