Chromium Code Reviews

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

Issue 1968893002: Remove certain non-standard properties from Intl (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add missing file Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 163 matching lines...)
174 174
175 function PostNatives(utils) { 175 function PostNatives(utils) {
176 %CheckIsBootstrapping(); 176 %CheckIsBootstrapping();
177 177
178 for ( ; !IS_UNDEFINED(imports); imports = imports.next) { 178 for ( ; !IS_UNDEFINED(imports); imports = imports.next) {
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 "AddBoundMethod",
184 "ArrayToString", 185 "ArrayToString",
185 "ErrorToString", 186 "ErrorToString",
186 "GetIterator", 187 "GetIterator",
187 "GetMethod", 188 "GetMethod",
189 "IntlParseDate",
190 "IntlParseNumber",
188 "IsNaN", 191 "IsNaN",
189 "MakeError", 192 "MakeError",
190 "MakeRangeError", 193 "MakeRangeError",
191 "MakeTypeError", 194 "MakeTypeError",
192 "MapEntries", 195 "MapEntries",
193 "MapIterator", 196 "MapIterator",
194 "MapIteratorNext", 197 "MapIteratorNext",
195 "MaxSimple", 198 "MaxSimple",
196 "MinSimple", 199 "MinSimple",
197 "NumberIsInteger", 200 "NumberIsInteger",
(...skipping 154 matching lines...)
352 355
353 extrasUtils.uncurryThis = function uncurryThis(func) { 356 extrasUtils.uncurryThis = function uncurryThis(func) {
354 return function(thisArg, ...args) { 357 return function(thisArg, ...args) {
355 return %reflect_apply(func, thisArg, args); 358 return %reflect_apply(func, thisArg, args);
356 }; 359 };
357 }; 360 };
358 361
359 %ToFastProperties(extrasUtils); 362 %ToFastProperties(extrasUtils);
360 363
361 }) 364 })
OLDNEW
« no previous file with comments | « src/js/intl-extra.js ('k') | src/v8.gyp » ('j') | test/intl/extra-flag.js » ('J')

Powered by Google App Engine