OLD | NEW |
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 Loading... |
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 Loading... |
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 }) |
OLD | NEW |