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

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

Issue 2996573002: fix #28988, remove throw on Dart1 incompatible is-checks for dartdevc (Closed)
Patch Set: fix changelog Created 3 years, 4 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
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // These settings must be configured before the application starts so that 116 // These settings must be configured before the application starts so that
117 // user code runs with the correct configuration. 117 // user code runs with the correct configuration.
118 let settings = 'ddcSettings' in globalState ? globalState.ddcSettings : {}; 118 let settings = 'ddcSettings' in globalState ? globalState.ddcSettings : {};
119 $trapRuntimeErrors( 119 $trapRuntimeErrors(
120 'trapRuntimeErrors' in settings ? settings.trapRuntimeErrors : true); 120 'trapRuntimeErrors' in settings ? settings.trapRuntimeErrors : true);
121 $ignoreWhitelistedErrors( 121 $ignoreWhitelistedErrors(
122 'ignoreWhitelistedErrors' in settings ? 122 'ignoreWhitelistedErrors' in settings ?
123 settings.ignoreWhitelistedErrors : true); 123 settings.ignoreWhitelistedErrors : true);
124 124
125 $ignoreAllErrors( 125 $ignoreAllErrors(
126 'ignoreAllErrors' in settings ?settings.ignoreAllErrors : false); 126 'ignoreAllErrors' in settings ? settings.ignoreAllErrors : false);
127 127
128 $failForWeakModeIsChecks(
129 'failForWeakModeIsChecks' in settings ?
130 settings.failForWeakModeIsChecks : true);
131 $trackProfile( 128 $trackProfile(
132 'trackProfile' in settings ? settings.trackProfile : false); 129 'trackProfile' in settings ? settings.trackProfile : false);
133 130
134 return globalState; 131 return globalState;
135 }() 132 }()
136 '''); 133 ''');
137 134
138 final JsSymbol = JS('', 'Symbol'); 135 final JsSymbol = JS('', 'Symbol');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698