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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "MakeError", | 189 "MakeError", |
| 190 "MakeRangeError", |
190 "MakeTypeError", | 191 "MakeTypeError", |
191 "MapEntries", | 192 "MapEntries", |
192 "MapIterator", | 193 "MapIterator", |
193 "MapIteratorNext", | 194 "MapIteratorNext", |
194 "MaxSimple", | 195 "MaxSimple", |
195 "MinSimple", | 196 "MinSimple", |
| 197 "NumberIsInteger", |
196 "ObjectDefineProperty", | 198 "ObjectDefineProperty", |
197 "ObserveArrayMethods", | 199 "ObserveArrayMethods", |
198 "ObserveObjectMethods", | 200 "ObserveObjectMethods", |
199 "PromiseChain", | 201 "PromiseChain", |
200 "PromiseDeferred", | 202 "PromiseDeferred", |
201 "PromiseResolved", | 203 "PromiseResolved", |
202 "RegExpSubclassExecJS", | 204 "RegExpSubclassExecJS", |
203 "RegExpSubclassMatch", | 205 "RegExpSubclassMatch", |
204 "RegExpSubclassReplace", | 206 "RegExpSubclassReplace", |
205 "RegExpSubclassSearch", | 207 "RegExpSubclassSearch", |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 | 355 |
354 extrasUtils.uncurryThis = function uncurryThis(func) { | 356 extrasUtils.uncurryThis = function uncurryThis(func) { |
355 return function(thisArg, ...args) { | 357 return function(thisArg, ...args) { |
356 return %reflect_apply(func, thisArg, args); | 358 return %reflect_apply(func, thisArg, args); |
357 }; | 359 }; |
358 }; | 360 }; |
359 | 361 |
360 %ToFastProperties(extrasUtils); | 362 %ToFastProperties(extrasUtils); |
361 | 363 |
362 }) | 364 }) |
OLD | NEW |