Open core-ai-bot opened 3 years ago
Comment by njx Friday Sep 20, 2013 at 23:45 GMT
The hang appears to be during createMockEditor()
. Probably something to do with the fact that we create a fake editor holder.
Comment by njx Saturday Sep 21, 2013 at 00:01 GMT
Looks like the problem is just that our unit tests create mock editors inside an element that has no explicit width (and is absolutely positioned, so has no inherent width). That didn't cause a problem before, but it's understandable why Marijn's change would have broken this. It's arguably a CM bug, but since this isn't a realistic use case I think we can just change our unit tests to set an explicit width on the mock editor holder.
Issue by jasonsanjose Thursday Sep 12, 2013 at 17:38 GMT Originally opened as https://github.com/adobe/brackets/issues/5179
Spun off from #4564.
@
RaymondLim reported that unit tests hang after doing a local merge for cursor positioning fixes in https://github.com/marijnh/CodeMirror/issues/1787#issuecomment-24231249These fixes have not landed in Brackets yet, but we do integrate CodeMirror upstream/master at the beginning of every sprint. This will be an issue at the start of Sprint 32.