| Index: sdk/lib/_internal/js_runtime/lib/js_names.dart
|
| diff --git a/sdk/lib/_internal/js_runtime/lib/js_names.dart b/sdk/lib/_internal/js_runtime/lib/js_names.dart
|
| index 2a0a9779526ba6e7281cef74cb34b0192cc26467..4c58872537cd22b97074d9eea5544c59d3f54e7e 100644
|
| --- a/sdk/lib/_internal/js_runtime/lib/js_names.dart
|
| +++ b/sdk/lib/_internal/js_runtime/lib/js_names.dart
|
| @@ -51,7 +51,7 @@ class _LazyMangledNamesMap {
|
| String operator [](String key) {
|
| var result = JS('var', '#[#]', _jsMangledNames, key);
|
| // Filter out all non-string values to protect against polution from
|
| - // anciliary fields in [_jsMangledNames].
|
| + // ancilliary fields in [_jsMangledNames].
|
| bool filter = JS('bool', 'typeof # !== "string"', result);
|
| // To ensure that the inferrer sees that result is a String, we explicitly
|
| // give it a better type here.
|
| @@ -105,7 +105,7 @@ class _LazyReflectiveNamesMap {
|
| for (String key in keys) {
|
| var reflectiveName = JS('var', '#[#]', _jsMangledNames, key);
|
| // Filter out all non-string values to protect against polution from
|
| - // anciliary fields in [_jsMangledNames].
|
| + // ancilliary fields in [_jsMangledNames].
|
| bool filter = JS('bool', 'typeof # !== "string"', reflectiveName);
|
| if (filter) continue;
|
| result[reflectiveName] = JS('String', '#', key);
|
|
|