Index: test/intl/overrides/webkit-tests.js |
diff --git a/test/mjsunit/regress/regress-crbug-181422.js b/test/intl/overrides/webkit-tests.js |
similarity index 85% |
copy from test/mjsunit/regress/regress-crbug-181422.js |
copy to test/intl/overrides/webkit-tests.js |
index 52826f3110db925c2d66d571970b2676f1bb0a1f..8f122bbff3b669ea2fbd46b8f7b3d19aa5142c5b 100644 |
--- a/test/mjsunit/regress/regress-crbug-181422.js |
+++ b/test/intl/overrides/webkit-tests.js |
@@ -24,9 +24,10 @@ |
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+// limitations under the License. |
-assertArrayEquals(["\u00a0"], "ab\u00a0cd".match(/\s/)); |
-assertArrayEquals(["a", "b", "c", "d"], "ab\u00a0cd".match(/\S/g)); |
+// Makes sure we don't break affected WebKit tests. |
-assertArrayEquals(["\u00a0"], "\u2604b\u00a0cd".match(/\s/)); |
-assertArrayEquals(["\u2604", "b", "c", "d"], "\u2604b\u00a0cd".match(/\S/g)); |
+// Handles fast/js/string-prototype-properties.html |
+assertThrows('String.prototype.localeCompare.call(undefined, \'1224\')'); |
+assertEquals(0, String.prototype.localeCompare.call(1224, '1224')); |