-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'window is not defined' in web worker. v2.1.5 only #201
Comments
Have a test to recreate the issue at least. Will see if there are any work arounds and will look at a fix. |
I have same error, in WEB worker only. In browser main stread, no such issue. I just comment out that line windows.timeout..... although, no more error, but oboe stop working. Please advise as soon as possible.
` |
It is this window not defined in web worker, please fix the bug.
` |
Good to know. Will look at refactoring that. I have been working on having
a specific test that runs one in a worker. Has been going slowly. I want to
make sure we don't run into something like this again.
A
…On Mon 13 Jan 2020, 23:58 hoogw, ***@***.***> wrote:
I have same error,
I just comment out that line windows.timeout.....
it works
` xhr.withCredentials = withCredentials
xhr.send(data)
} catch (e) {
// window.setTimeout(
// Object(__WEBPACK_IMPORTED_MODULE_4__functional__["j" /* partialComplete */])(emitFail,
// Object(__WEBPACK_IMPORTED_MODULE_1__events__["o" /* errorReport */])(undefined,
//undefined, e))
// , 0
// )
}
}
`
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#201?email_source=notifications&email_token=ABG3J3QPEOYASLQMWKKNWULQ5T52TA5CNFSM4JK5FMF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI2YDSQ#issuecomment-573931978>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABG3J3XAIAEDRAOKJ3L5ESDQ5T52TANCNFSM4JK5FMFQ>
.
|
Before you fix the bug in 2.15, windows.setTimeout(). Should be fairly easy fix ! I have to use v2.14, it works fine in web worker. without issue. |
With oboe in a web worker, I have no errors in v2.1.4
in v2.1.5, with no other code changes, I get error:
I'm using
webpack
andworker-plugin
I've tried various plugin configs:
Any ideas?
The text was updated successfully, but these errors were encountered: