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

Side by Side Diff: src/js/prologue.js

Issue 1812673005: Use ICU case conversion/transliterator for case conversion behind a flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: move toLocale{U,L}Case behind --icu-case-mapping, too; adjust test status accordingly. roll back st… Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function(global, utils, extrasUtils) { 5 (function(global, utils, extrasUtils) {
6 6
7 "use strict"; 7 "use strict";
8 8
9 %CheckIsBootstrapping(); 9 %CheckIsBootstrapping();
10 10
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 imports(exports_container); 179 imports(exports_container);
180 } 180 }
181 181
182 // Whitelist of exports from normal natives to experimental natives and debug. 182 // Whitelist of exports from normal natives to experimental natives and debug.
183 var expose_list = [ 183 var expose_list = [
184 "ArrayToString", 184 "ArrayToString",
185 "ErrorToString", 185 "ErrorToString",
186 "GetIterator", 186 "GetIterator",
187 "GetMethod", 187 "GetMethod",
188 "IsNaN", 188 "IsNaN",
189 "LocaleConvertCase",
189 "MakeError", 190 "MakeError",
190 "MakeRangeError", 191 "MakeRangeError",
191 "MakeTypeError", 192 "MakeTypeError",
192 "MapEntries", 193 "MapEntries",
193 "MapIterator", 194 "MapIterator",
194 "MapIteratorNext", 195 "MapIteratorNext",
195 "MaxSimple", 196 "MaxSimple",
196 "MinSimple", 197 "MinSimple",
197 "NumberIsInteger", 198 "NumberIsInteger",
198 "PromiseChain", 199 "PromiseChain",
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 353
353 extrasUtils.uncurryThis = function uncurryThis(func) { 354 extrasUtils.uncurryThis = function uncurryThis(func) {
354 return function(thisArg, ...args) { 355 return function(thisArg, ...args) {
355 return %reflect_apply(func, thisArg, args); 356 return %reflect_apply(func, thisArg, args);
356 }; 357 };
357 }; 358 };
358 359
359 %ToFastProperties(extrasUtils); 360 %ToFastProperties(extrasUtils);
360 361
361 }) 362 })
OLDNEW
« src/js/icu-case-mapping.js ('K') | « src/js/icu-case-mapping.js ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698