[2.6][Form][WebProfiler] Fixed issue#10054"

This reverts commit f8393bf671b1aacf48b2015bbeb70a654eb49e81.