This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It seems that you introduced a regression by fix of issue #237443. Try to run e.g.: org.netbeans.modules.javascript2.editor.formatter.JsFormatterEmbeddedTest or org.netbeans.modules.php.editor.indent.PHPFormatterTemplateTest Tests never finish. Please, evaluate and consider to revert problematic fix. Thanks.
CCing Petr, he maintains js formatting.
Sorry, I revert my change. I will try to change my solution next time, so it will work with your tests. http://hg.netbeans.org/jet-main/rev/503788b7fee7