You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setting WebRequest.CustomRequestHeaders results in a crash for any caller upon WebRequest.open.
This is because the headers must be injected when the request is in state 'open'.
playground link
=> uncommenting WebRequest... line will result in an error
Expected result: custom headers should be injected
Current result: custom headrs won't be injected but result in a crash
The text was updated successfully, but these errors were encountered:
susares
added a commit
to Stoehr-Sauer/Babylon.js
that referenced
this issue
Mar 14, 2019
There might be also an issue with WebRequest.CustomRequestModifiers.
They are applied before the state is open.
If someone uses a CustomRequestModifier to inject headers it would result in the same crash.
simply moving the 'update' calls to where I moved the _injectCustomHeaders section. might not give expected results due to Modifiers that want to set attributes thats should be used by i.e. 'open'
setting WebRequest.CustomRequestHeaders results in a crash for any caller upon WebRequest.open.
This is because the headers must be injected when the request is in state 'open'.
playground link
=> uncommenting WebRequest... line will result in an error
The text was updated successfully, but these errors were encountered: