mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Replace use of cpp with the fit-to-purpose c-pp to avoid cpp's C-centric/JS-unfriendly quirks.
FossilOrigin-Name: 49d70f071e918d5d095c807575bb7ce2b287a123261e789e938521b3b409429a
This commit is contained in:
@ -167,11 +167,11 @@ const installOpfsVfs = function callee(options){
|
||||
return promiseReject_(err);
|
||||
};
|
||||
const W =
|
||||
#ifdef SQLITE_JS_ESM
|
||||
//#if SQLITE_JS_ESM
|
||||
new Worker(new URL(options.proxyUri, import.meta.url));
|
||||
#else
|
||||
//#else
|
||||
new Worker(options.proxyUri);
|
||||
#endif
|
||||
//#endif
|
||||
W._originalOnError = W.onerror /* will be restored later */;
|
||||
W.onerror = function(err){
|
||||
// The error object doesn't contain any useful info when the
|
||||
|
Reference in New Issue
Block a user