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

Unified Diff: test/intl/break-iterator/wellformed-unsupported-locale.js

Issue 148883002: Synchronize with r15594. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 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
« no previous file with comments | « test/intl/break-iterator/resolved-options-is-method.js ('k') | test/intl/break-iterator/zh-break.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/intl/break-iterator/wellformed-unsupported-locale.js
diff --git a/test/mjsunit/regress/regress-crbug-217858.js b/test/intl/break-iterator/wellformed-unsupported-locale.js
similarity index 89%
copy from test/mjsunit/regress/regress-crbug-217858.js
copy to test/intl/break-iterator/wellformed-unsupported-locale.js
index e61cb9f6d24a6dcb54a81699183d2db843d0d2dc..56457b4829239944eeca79e8cee0de9498df1c5f 100644
--- a/test/mjsunit/regress/regress-crbug-217858.js
+++ b/test/intl/break-iterator/wellformed-unsupported-locale.js
@@ -25,13 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Flags: --noanalyze_environment_liveness
+// Passing a well formed but unsupported locale falls back to default.
-var r = /r/;
-function f() {
- r[r] = function() {};
-}
+var iterator = Intl.v8BreakIterator(['xx']);
-for (var i = 0; i < 300000; i++) {
- f();
-}
+assertEquals(iterator.resolvedOptions().locale, getDefaultLocale());
« no previous file with comments | « test/intl/break-iterator/resolved-options-is-method.js ('k') | test/intl/break-iterator/zh-break.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698