Skip to content

Commit 19c263a

Browse files
committed
Rebaseline test_small_js_flags. NFC
We should really update this test so that it can work with `--rebaseline`, but for now its just a manual update. This change shows the incremental progress we've been making on code size recently!
1 parent 1092ec3 commit 19c263a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_browser.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4204,7 +4204,9 @@ def test_small_js_flags(self):
42044204
print('size:', size)
42054205
# Note that this size includes test harness additions (for reporting the result, etc.).
42064206
if not self.is_wasm64() and not self.is_2gb():
4207-
self.assertLess(abs(size - 4477), 100)
4207+
expected_size = 4369
4208+
slack = 100
4209+
self.assertLess(abs(size - expected_size), slack)
42084210

42094211
# Tests that it is possible to initialize and render WebGL content in a
42104212
# pthread by using OffscreenCanvas.

0 commit comments

Comments
 (0)