Assert that no script is executed during LayoutPhase::InRenderTreeLayout