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

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

Issue 2338273007: async/await: Don't trigger uncaught rejection handlers on throwaway Promises (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « src/js/harmony-async-await.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 "ToLowerCaseI18N", 214 "ToLowerCaseI18N",
215 "ToPositiveInteger", 215 "ToPositiveInteger",
216 "ToUpperCaseI18N", 216 "ToUpperCaseI18N",
217 // From runtime: 217 // From runtime:
218 "is_concat_spreadable_symbol", 218 "is_concat_spreadable_symbol",
219 "iterator_symbol", 219 "iterator_symbol",
220 "promise_result_symbol", 220 "promise_result_symbol",
221 "promise_state_symbol", 221 "promise_state_symbol",
222 "promise_await_handler_symbol", 222 "promise_await_handler_symbol",
223 "promise_handled_hint_symbol", 223 "promise_handled_hint_symbol",
224 "promise_has_handler_symbol",
224 "object_freeze", 225 "object_freeze",
225 "object_is_frozen", 226 "object_is_frozen",
226 "object_is_sealed", 227 "object_is_sealed",
227 "reflect_apply", 228 "reflect_apply",
228 "reflect_construct", 229 "reflect_construct",
229 "regexp_flags_symbol", 230 "regexp_flags_symbol",
230 "to_string_tag_symbol", 231 "to_string_tag_symbol",
231 "object_to_string", 232 "object_to_string",
232 "species_symbol", 233 "species_symbol",
233 "match_symbol", 234 "match_symbol",
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 354
354 extrasUtils.uncurryThis = function uncurryThis(func) { 355 extrasUtils.uncurryThis = function uncurryThis(func) {
355 return function(thisArg, ...args) { 356 return function(thisArg, ...args) {
356 return %reflect_apply(func, thisArg, args); 357 return %reflect_apply(func, thisArg, args);
357 }; 358 };
358 }; 359 };
359 360
360 %ToFastProperties(extrasUtils); 361 %ToFastProperties(extrasUtils);
361 362
362 }) 363 })
OLDNEW
« no previous file with comments | « src/js/harmony-async-await.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698