I created a new Model View Start Kit project and added to it posteffect-bokeh.js (from the engine repo engine/scripts/post-effects ) and attached that to the camera.
If I zoom in and out using the orbit camera controls a few times then I quite reliably get a webgl context lost error.
If I reload the editor I see this at the bottom of the editor window. ( and also a warning to post the error on the forum )
https://playcanvas.com/project/927260/overview/webglcontextlost
I can’t make this happen with post-effect-edgedetect.js. ( bokeh uses depth buffer and edgedetect doesn’t ? )