Steps to reproduce:
- Firefox 49
- In the upper corner, click the plus and choose "Create Calendar Event"
- End up on https://phabricator.wikimedia.org/calendar/event/edit/form/25/
- Under "Start", see a text field (prefilled with // for everyone's confusion), the symbol, and a textfield
- Click the symbol
Expected results:
No // in first field but prefilled date.
No empty second field but prefilled time.
Some fancy form to choose a date. I guess.
Actual results:
Browser gets unresponsive; shows popup "Warning: Unrepsonsive script" after a while.
After clicking "Stop script", you can see a small wide line displayed, and see this output in the developer console:
Error: Script terminated by timeout at: getValidDate@https://phab.wmfusercontent.org/res/contrastX/phabricator/568931f3/rsrc/js/core/behavior-fancy-datepicker.js:60:16 render_month@https://phab.wmfusercontent.org/res/contrastX/phabricator/568931f3/rsrc/js/core/behavior-fancy-datepicker.js:50:12 render@https://phab.wmfusercontent.org/res/contrastX/phabricator/568931f3/rsrc/js/core/behavior-fancy-datepicker.js:44:56 onopen@https://phab.wmfusercontent.org/res/contrastX/phabricator/568931f3/rsrc/js/core/behavior-fancy-datepicker.js:20:146 .statics.pass@https://phab.wmfusercontent.org/res/contrastX/phabricator/1d376fa9/core.pkg.js:152:54 .statics._dispatchProxy@https://phab.wmfusercontent.org/res/contrastX/phabricator/1d376fa9/core.pkg.js:147:294 .statics.dispatch@https://phab.wmfusercontent.org/res/contrastX/phabricator/1d376fa9/core.pkg.js:130:191 JX.__rawEventQueue@https://phab.wmfusercontent.org/res/contrastX/phabricator/3010e992/rsrc/externals/javelin/core/init.js:15:44 behavior-fancy-datepicker.js:60:16
Other comments:
- @Lea_WMDE could also reproduce this.
- No such problem in upstream at https://secure.phabricator.com/calendar/event/edit/form/default/ - works as expected and date widget is correctly displayed, plus prefilled date and time fields.