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

Side by Side Diff: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart

Issue 2893803006: Add ignoreAllErrors option to dart:_runtime (Closed)
Patch Set: Created 3 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
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart ('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 (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart._runtime; 5 library dart._runtime;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'dart:_debugger' show stackTraceMapper; 10 import 'dart:_debugger' show stackTraceMapper;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 : (typeof self != "undefined") ? self : {}; 100 : (typeof self != "undefined") ? self : {};
101 101
102 // These settings must be configured before the application starts so that 102 // These settings must be configured before the application starts so that
103 // user code runs with the correct configuration. 103 // user code runs with the correct configuration.
104 let settings = 'ddcSettings' in globalState ? globalState.ddcSettings : {}; 104 let settings = 'ddcSettings' in globalState ? globalState.ddcSettings : {};
105 $trapRuntimeErrors( 105 $trapRuntimeErrors(
106 'trapRuntimeErrors' in settings ? settings.trapRuntimeErrors : true); 106 'trapRuntimeErrors' in settings ? settings.trapRuntimeErrors : true);
107 $ignoreWhitelistedErrors( 107 $ignoreWhitelistedErrors(
108 'ignoreWhitelistedErrors' in settings ? 108 'ignoreWhitelistedErrors' in settings ?
109 settings.ignoreWhitelistedErrors : true); 109 settings.ignoreWhitelistedErrors : true);
110
111 $ignoreAllErrors(
112 'ignoreAllErrors' in settings ?settings.ignoreAllErrors : false);
113
110 $failForWeakModeIsChecks( 114 $failForWeakModeIsChecks(
111 'failForWeakModeIsChecks' in settings ? 115 'failForWeakModeIsChecks' in settings ?
112 settings.failForWeakModeIsChecks : true); 116 settings.failForWeakModeIsChecks : true);
113 $trackProfile( 117 $trackProfile(
114 'trackProfile' in settings ? settings.trackProfile : false); 118 'trackProfile' in settings ? settings.trackProfile : false);
115 119
116 return globalState; 120 return globalState;
117 }() 121 }()
118 '''); 122 ''');
119 123
120 final JsSymbol = JS('', 'Symbol'); 124 final JsSymbol = JS('', 'Symbol');
OLDNEW
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698