Skip to content

Commit 4b05f80

Browse files
committed
origFetch.
1 parent c3fadbc commit 4b05f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5404,7 +5404,7 @@ def test(args, expect_fail):
54045404
self.compile_btest('main.cpp', args + ['--preload-file', path, '-o', 'a.out.html'])
54055405
if expect_fail:
54065406
js = read_file('a.out.js')
5407-
create_file('a.out.js', 'fetch = undefined;\n' + js)
5407+
create_file('a.out.js', 'let origFetch = fetch; fetch = undefined;\n' + js)
54085408
return self.run_browser('a.out.html', '/report_result?exception:fetch is not a function')
54095409
else:
54105410
return self.run_browser('a.out.html', '/report_result?42')

0 commit comments

Comments
 (0)