Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/browser/test_idbstore_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ void test() {
sum++;

printf("checking\n");
exists = 5555;
emscripten_idb_exists(DB, "the_secret", &exists, &error);
// exists is still 5555 here!!!
assert(exists != 5555);
assert(!error);
assert(exists);
sum++;
Expand Down
2 changes: 1 addition & 1 deletion test/test_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ def test_idbstore(self):
@also_with_wasm64
def test_idbstore_sync(self):
secret = str(time.time())
self.btest(test_file('browser/test_idbstore_sync.c'), '6', args=['-lidbstore.js', f'-DSECRET="{secret}"', '-O3', '-g2', '-sASYNCIFY'])
self.btest(test_file('browser/test_idbstore_sync.c'), '6', args=['-lidbstore.js', f'-DSECRET="{secret}"', '-O3', '-g2', '-sASYNCIFY=2', '-Wno-experimental'])

def test_idbstore_sync_worker(self):
secret = str(time.time())
Expand Down