Commit f4a5267
authored
Fix reference for undefined
This went unnoticed by the tests because the calling code has a `.catch`
handler that calls the fallback function. So the test still passed but
with a bunch of extra output:
```
ReferenceError: errback is not defined
at openDatabase (/usr/local/google/home/sbc/dev/wasm/emscripten/out/test/src.js:173:13)
at runWithFS (/usr/local/google/home/sbc/dev/wasm/emscripten/out/test/src.js:333:9)
at callRuntimeCallbacks (/usr/local/google/home/sbc/dev/wasm/emscripten/out/test/src.js:1164:26)
at preRun (/usr/local/google/home/sbc/dev/wasm/emscripten/out/test/src.js:841:3)
at run (/usr/local/google/home/sbc/dev/wasm/emscripten/out/test/src.js:4658:3)
at Object.removeRunDependency (/usr/local/google/home/sbc/dev/wasm/emscripten/out/test/src.js:950:7)
at loadPackage (/usr/local/google/home/sbc/dev/wasm/emscripten/out/test/src.js:362:34)
at runMetaWithFS (/usr/local/google/home/sbc/dev/wasm/emscripten/out/test/src.js:371:18)
falling back to default preload behavior
done
```
Followup to #24883errback. NFC (#24886)1 parent 03f6d1a commit f4a5267
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
810 | | - | |
| 810 | + | |
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
| |||
0 commit comments