Fix incompatibility test in Safari