[promise] Rewrite strict mode test ignore conditions