Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: test/intl/overrides/webkit-tests.js

Issue 18687003: Import intl test suite from v8-i18n project (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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'));

Powered by Google App Engine
This is Rietveld 408576698