Spelling runtime observatory

Closes https://github.com/dart-lang/sdk/pull/50810

GitOrigin-RevId: 5edc2fb9b7b693190bc34fe1941591bdaf3405fe
Change-Id: Ia6627bc075fc5d4ab9dfaeec91da164820cdefee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276880
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
diff --git a/runtime/observatory/lib/object_graph.dart b/runtime/observatory/lib/object_graph.dart
index e39f2cb..47a778c 100644
--- a/runtime/observatory/lib/object_graph.dart
+++ b/runtime/observatory/lib/object_graph.dart
@@ -815,7 +815,7 @@
     _ReadStream? stream = _ReadStream._new(chunks!);
     chunks = null;
 
-    // The phases of loading are placed in explicit `new Future(compuation)` so
+    // The phases of loading are placed in explicit `new Future(computation)` so
     // they will be deferred to the message loop. Ordinary async-await will only
     // defer to the microtask loop.
 
diff --git a/runtime/observatory/lib/src/elements/class_tree.dart b/runtime/observatory/lib/src/elements/class_tree.dart
index b0ef85c..3032b8f 100644
--- a/runtime/observatory/lib/src/elements/class_tree.dart
+++ b/runtime/observatory/lib/src/elements/class_tree.dart
@@ -112,13 +112,13 @@
 
   Future<M.Class> _register(M.Class cls) async {
     _subclasses[cls.id!] = await Future.wait(
-        (await Future.wait(cls.subclasses!.map(_getActualChildrens)))
+        (await Future.wait(cls.subclasses!.map(_getActualChildren)))
             .expand((f) => f)
             .map(_register));
     return cls;
   }
 
-  Future<Iterable<M.Class>> _getActualChildrens(M.ClassRef ref) async {
+  Future<Iterable<M.Class>> _getActualChildren(M.ClassRef ref) async {
     var cls = await _classes.get(_isolate, ref.id!);
     if (cls.isPatch!) {
       return const [];
@@ -126,7 +126,7 @@
     if (cls.mixin == null) {
       return [cls];
     }
-    return (await Future.wait(cls.subclasses!.map(_getActualChildrens)))
+    return (await Future.wait(cls.subclasses!.map(_getActualChildren)))
         .expand((f) => f)
           ..forEach((subcls) {
             _mixins[subcls.id!] = (_mixins[subcls.id!] ?? [])
diff --git a/runtime/observatory/lib/src/elements/containers/virtual_collection.dart b/runtime/observatory/lib/src/elements/containers/virtual_collection.dart
index e308270..4bb5a77 100644
--- a/runtime/observatory/lib/src/elements/containers/virtual_collection.dart
+++ b/runtime/observatory/lib/src/elements/containers/virtual_collection.dart
@@ -113,7 +113,7 @@
   }
 
   /// The preloaded element before and after the visible area are:
-  /// 1/preload_size of the number of items in the visble area.
+  /// 1/preload_size of the number of items in the visible area.
   static const int _preload = 2;
 
   /// L = length of all the elements loaded
diff --git a/runtime/observatory/lib/src/elements/containers/virtual_tree.dart b/runtime/observatory/lib/src/elements/containers/virtual_tree.dart
index 0a9fe41..dac64ad 100644
--- a/runtime/observatory/lib/src/elements/containers/virtual_tree.dart
+++ b/runtime/observatory/lib/src/elements/containers/virtual_tree.dart
@@ -13,7 +13,7 @@
 typedef HtmlElement VirtualTreeCreateCallback(
     toggle({bool autoToggleSingleChildNodes, bool autoToggleWholeTree}));
 typedef void VirtualTreeUpdateCallback(HtmlElement el, dynamic item, int depth);
-typedef Iterable<dynamic> VritualTreeGetChildrenCallback(dynamic value);
+typedef Iterable<dynamic> VirtualTreeGetChildrenCallback(dynamic value);
 typedef bool VirtualTreeSearchCallback(Pattern pattern, dynamic item);
 
 void virtualTreeUpdateLines(SpanElement element, int n) {
@@ -31,7 +31,7 @@
 
   Stream<RenderedEvent<VirtualTreeElement>> get onRendered => _r.onRendered;
 
-  late VritualTreeGetChildrenCallback _children;
+  late VirtualTreeGetChildrenCallback _children;
   late List _items;
   late List _depths;
   final Set _expanded = new Set();
@@ -45,7 +45,7 @@
   }
 
   factory VirtualTreeElement(VirtualTreeCreateCallback create,
-      VirtualTreeUpdateCallback update, VritualTreeGetChildrenCallback children,
+      VirtualTreeUpdateCallback update, VirtualTreeGetChildrenCallback children,
       {Iterable items = const [],
       VirtualTreeSearchCallback? search,
       RenderingQueue? queue}) {
diff --git a/runtime/observatory/lib/src/elements/debugger.dart b/runtime/observatory/lib/src/elements/debugger.dart
index 69843ca..dd0c92d 100644
--- a/runtime/observatory/lib/src/elements/debugger.dart
+++ b/runtime/observatory/lib/src/elements/debugger.dart
@@ -1510,7 +1510,7 @@
   S.VM get vm => page.app.vm;
 
   void init() {
-    console.printBold('Debugging isolate isolate ${isolate.number} '
+    console.printBold('Debugging isolate ${isolate.number} '
         '\'${isolate.name}\' ');
     console.printBold('Type \'h\' for help');
     // Wait a bit and if polymer still hasn't set up the isolate,
diff --git a/runtime/observatory/lib/src/elements/megamorphiccache_ref.dart b/runtime/observatory/lib/src/elements/megamorphiccache_ref.dart
index 122711e..515f1e6 100644
--- a/runtime/observatory/lib/src/elements/megamorphiccache_ref.dart
+++ b/runtime/observatory/lib/src/elements/megamorphiccache_ref.dart
@@ -55,7 +55,7 @@
         ..children = <Element>[
           new SpanElement()
             ..classes = ['emphasize']
-            ..text = 'MegarmorphicCache',
+            ..text = 'MegamorphicCache',
           new SpanElement()..text = ' (${_cache.selector})'
         ]
     ];
diff --git a/runtime/observatory/lib/src/elements/persistent_handles.dart b/runtime/observatory/lib/src/elements/persistent_handles.dart
index 6050353..8308d25 100644
--- a/runtime/observatory/lib/src/elements/persistent_handles.dart
+++ b/runtime/observatory/lib/src/elements/persistent_handles.dart
@@ -2,7 +2,7 @@
 // for details. All rights reserved. Use of this source code is governed by a
 // BSD-style license that can be found in the LICENSE file.
 
-library persitent_handles_page;
+library persistent_handles_page;
 
 import 'dart:async';
 import 'dart:html';
diff --git a/runtime/observatory/lib/src/models/objects/event.dart b/runtime/observatory/lib/src/models/objects/event.dart
index 5d540ed..627e864 100644
--- a/runtime/observatory/lib/src/models/objects/event.dart
+++ b/runtime/observatory/lib/src/models/objects/event.dart
@@ -198,7 +198,7 @@
   /// The identifier of the service
   String get service;
 
-  /// The JSON-RPC 2.0 Method that identifes this instance
+  /// The JSON-RPC 2.0 Method that identifies this instance
   String get method;
 }
 
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 817836f..4949ea6 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -4519,7 +4519,7 @@
 }
 
 /// A peer to a Socket in dart:io. Sockets can represent network sockets or
-/// OS pipes. Each socket is owned by another ServceObject, for example,
+/// OS pipes. Each socket is owned by another ServiceObject, for example,
 /// a process or an HTTP server.
 class Socket extends ServiceObject {
   Socket._empty(ServiceObjectOwner? owner) : super._empty(owner);
diff --git a/runtime/observatory/tests/service/async_next_regession_18877_test.dart b/runtime/observatory/tests/service/async_next_regression_18877_test.dart
similarity index 100%
rename from runtime/observatory/tests/service/async_next_regession_18877_test.dart
rename to runtime/observatory/tests/service/async_next_regression_18877_test.dart
diff --git a/runtime/observatory/tests/service/external_service_disappear_test.dart b/runtime/observatory/tests/service/external_service_disappear_test.dart
index 1efa80e..fa6187c 100644
--- a/runtime/observatory/tests/service/external_service_disappear_test.dart
+++ b/runtime/observatory/tests/service/external_service_disappear_test.dart
@@ -34,7 +34,7 @@
     const kServiceDisappeared = 112;
     const kServiceDisappeared_Msg = 'Service has disappeared';
 
-    const serviceName = 'disapearService';
+    const serviceName = 'disappearService';
     const serviceAlias = 'serviceAlias';
     const paramKey = 'pkey';
     const paramValue = 'pvalue';
diff --git a/runtime/observatory/tests/service/service_kernel.status b/runtime/observatory/tests/service/service_kernel.status
index fa60791..da08ba4 100644
--- a/runtime/observatory/tests/service/service_kernel.status
+++ b/runtime/observatory/tests/service/service_kernel.status
@@ -33,7 +33,7 @@
 [ $compiler == dartkp ]
 add_breakpoint_rpc_kernel_test: SkipByDesign # Debugger is disabled in AOT mode.
 async_generator_breakpoint_test: SkipByDesign # Debugger is disabled in AOT mode.
-async_next_regession_18877_test: SkipByDesign # Debugger is disabled in AOT mode.
+async_next_regression_18877_test: SkipByDesign # Debugger is disabled in AOT mode.
 async_next_test: SkipByDesign # Debugger is disabled in AOT mode.
 async_scope_test: SkipByDesign # Debugger is disabled in AOT mode.
 async_single_step_exception_test: SkipByDesign # Debugger is disabled in AOT mode.
diff --git a/runtime/observatory/tests/service/string_escaping_test.dart b/runtime/observatory/tests/service/string_escaping_test.dart
index 958432e..ba8d688 100644
--- a/runtime/observatory/tests/service/string_escaping_test.dart
+++ b/runtime/observatory/tests/service/string_escaping_test.dart
@@ -26,7 +26,7 @@
 @pragma("vm:entry-point") // Prevent obfuscation
 var tabs;
 @pragma("vm:entry-point") // Prevent obfuscation
-var suggrogatePairs;
+var surrogatePairs;
 @pragma("vm:entry-point") // Prevent obfuscation
 var nullInTheMiddle;
 @pragma("vm:entry-point") // Prevent obfuscation
@@ -49,7 +49,7 @@
   doubleQuotes = '"Two," he said.';
   newLines = "Windows\r\nSmalltalk\rUnix\n";
   tabs = "One\tTwo\tThree";
-  suggrogatePairs = "1𝄞2𝄞𝄞3𝄞𝄞𝄞";
+  surrogatePairs = "1𝄞2𝄞𝄞3𝄞𝄞𝄞";
   nullInTheMiddle = "There are four\u0000 words.";
   escapedUnicodeEscape = "Should not be A: \\u0041";
 
@@ -93,7 +93,7 @@
   expectFullString('doubleQuotes', doubleQuotes);
   expectFullString('newLines', newLines);
   expectFullString('tabs', tabs);
-  expectFullString('suggrogatePairs', suggrogatePairs);
+  expectFullString('surrogatePairs', surrogatePairs);
   expectFullString('nullInTheMiddle', nullInTheMiddle);
   expectTruncatedString('longStringEven', longStringEven);
   expectTruncatedString('longStringOdd', longStringOdd);
diff --git a/runtime/observatory/tests/ui/retainingPath.dart b/runtime/observatory/tests/ui/retainingPath.dart
index 238ab4c..7b30401 100644
--- a/runtime/observatory/tests/ui/retainingPath.dart
+++ b/runtime/observatory/tests/ui/retainingPath.dart
@@ -2,7 +2,7 @@
 // for details. All rights reserved. Use of this source code is governed by a
 // BSD-style license that can be found in the LICENSE file.
 
-// See reatiningPath.txt for expected behavior.
+// See retainingPath.txt for expected behavior.
 
 class Foo {
   var a;
diff --git a/runtime/observatory/web/timeline.js b/runtime/observatory/web/timeline.js
index 0ff35f0..26cb263 100644
--- a/runtime/observatory/web/timeline.js
+++ b/runtime/observatory/web/timeline.js
@@ -449,7 +449,7 @@
     });
     return input;
   },
-  // Add auxilary events to frame (Frame Budget and Frame Length).
+  // Add auxiliary events to frame (Frame Budget and Frame Length).
   // Example:
   // Before
   //              |[GPU1--------------------]|         |[GPU2-----]
@@ -461,7 +461,7 @@
   //              |[GPU1--------------------]|         |[GPU2-----]
   //     [VSYNC1] |                          |[VSYNC2] |
   //  [SHIFTABLE1]|[FRAMEWORK1]              |         |[FRAMEWORK2]
-  function addAuxilaryEvents(input) {
+  function addAuxiliaryEvents(input) {
     input.frames.forEach(function (frame) {
       frame.events.unshift({
         args: {name: "Frame Budgets"},
diff --git a/runtime/observatory_2/lib/object_graph.dart b/runtime/observatory_2/lib/object_graph.dart
index 059bc3e..fd5e708 100644
--- a/runtime/observatory_2/lib/object_graph.dart
+++ b/runtime/observatory_2/lib/object_graph.dart
@@ -788,7 +788,7 @@
     var stream = _ReadStream._new(chunks);
     chunks = null;
 
-    // The phases of loading are placed in explicit `new Future(compuation)` so
+    // The phases of loading are placed in explicit `new Future(computation)` so
     // they will be deferred to the message loop. Ordinary async-await will only
     // defer to the microtask loop.
 
diff --git a/runtime/observatory_2/lib/src/elements/class_tree.dart b/runtime/observatory_2/lib/src/elements/class_tree.dart
index 68eb936..6081ca0 100644
--- a/runtime/observatory_2/lib/src/elements/class_tree.dart
+++ b/runtime/observatory_2/lib/src/elements/class_tree.dart
@@ -112,13 +112,13 @@
 
   Future<M.Class> _register(M.Class cls) async {
     _subclasses[cls.id] = await Future.wait(
-        (await Future.wait(cls.subclasses.map(_getActualChildrens)))
+        (await Future.wait(cls.subclasses.map(_getActualChildren)))
             .expand((f) => f)
             .map(_register));
     return cls;
   }
 
-  Future<Iterable<M.Class>> _getActualChildrens(M.ClassRef ref) async {
+  Future<Iterable<M.Class>> _getActualChildren(M.ClassRef ref) async {
     var cls = await _classes.get(_isolate, ref.id);
     if (cls.isPatch) {
       return const [];
@@ -126,7 +126,7 @@
     if (cls.mixin == null) {
       return [cls];
     }
-    return (await Future.wait(cls.subclasses.map(_getActualChildrens)))
+    return (await Future.wait(cls.subclasses.map(_getActualChildren)))
         .expand((f) => f)
           ..forEach((subcls) {
             _mixins[subcls.id] = (_mixins[subcls.id] ?? [])..add(cls.mixin);
diff --git a/runtime/observatory_2/lib/src/elements/containers/virtual_collection.dart b/runtime/observatory_2/lib/src/elements/containers/virtual_collection.dart
index 19bb227..5e1a8c1 100644
--- a/runtime/observatory_2/lib/src/elements/containers/virtual_collection.dart
+++ b/runtime/observatory_2/lib/src/elements/containers/virtual_collection.dart
@@ -112,7 +112,7 @@
   }
 
   /// The preloaded element before and after the visible area are:
-  /// 1/preload_size of the number of items in the visble area.
+  /// 1/preload_size of the number of items in the visible area.
   static const int _preload = 2;
 
   /// L = length of all the elements loaded
diff --git a/runtime/observatory_2/lib/src/elements/containers/virtual_tree.dart b/runtime/observatory_2/lib/src/elements/containers/virtual_tree.dart
index de4d5bd..7587333 100644
--- a/runtime/observatory_2/lib/src/elements/containers/virtual_tree.dart
+++ b/runtime/observatory_2/lib/src/elements/containers/virtual_tree.dart
@@ -13,7 +13,7 @@
 typedef HtmlElement VirtualTreeCreateCallback(
     toggle({bool autoToggleSingleChildNodes, bool autoToggleWholeTree}));
 typedef void VirtualTreeUpdateCallback(HtmlElement el, dynamic item, int depth);
-typedef Iterable<dynamic> VritualTreeGetChildrenCallback(dynamic value);
+typedef Iterable<dynamic> VirtualTreeGetChildrenCallback(dynamic value);
 typedef bool VirtualTreeSearchCallback(Pattern pattern, dynamic item);
 
 void virtualTreeUpdateLines(SpanElement element, int n) {
@@ -31,7 +31,7 @@
 
   Stream<RenderedEvent<VirtualTreeElement>> get onRendered => _r.onRendered;
 
-  VritualTreeGetChildrenCallback _children;
+  VirtualTreeGetChildrenCallback _children;
   List _items;
   List _depths;
   final Set _expanded = new Set();
@@ -45,7 +45,7 @@
   }
 
   factory VirtualTreeElement(VirtualTreeCreateCallback create,
-      VirtualTreeUpdateCallback update, VritualTreeGetChildrenCallback children,
+      VirtualTreeUpdateCallback update, VirtualTreeGetChildrenCallback children,
       {Iterable items = const [],
       VirtualTreeSearchCallback search,
       RenderingQueue queue}) {
diff --git a/runtime/observatory_2/lib/src/elements/debugger.dart b/runtime/observatory_2/lib/src/elements/debugger.dart
index 9070138..e2526e3 100644
--- a/runtime/observatory_2/lib/src/elements/debugger.dart
+++ b/runtime/observatory_2/lib/src/elements/debugger.dart
@@ -1505,7 +1505,7 @@
   S.VM get vm => page.app.vm;
 
   void init() {
-    console.printBold('Debugging isolate isolate ${isolate.number} '
+    console.printBold('Debugging isolate ${isolate.number} '
         '\'${isolate.name}\' ');
     console.printBold('Type \'h\' for help');
     // Wait a bit and if polymer still hasn't set up the isolate,
diff --git a/runtime/observatory_2/lib/src/elements/megamorphiccache_ref.dart b/runtime/observatory_2/lib/src/elements/megamorphiccache_ref.dart
index f38b59a..55aabdf 100644
--- a/runtime/observatory_2/lib/src/elements/megamorphiccache_ref.dart
+++ b/runtime/observatory_2/lib/src/elements/megamorphiccache_ref.dart
@@ -55,7 +55,7 @@
         ..children = <Element>[
           new SpanElement()
             ..classes = ['emphasize']
-            ..text = 'MegarmorphicCache',
+            ..text = 'MegamorphicCache',
           new SpanElement()..text = ' (${_cache.selector})'
         ]
     ];
diff --git a/runtime/observatory_2/lib/src/elements/persistent_handles.dart b/runtime/observatory_2/lib/src/elements/persistent_handles.dart
index 31ec8e4..f641c40 100644
--- a/runtime/observatory_2/lib/src/elements/persistent_handles.dart
+++ b/runtime/observatory_2/lib/src/elements/persistent_handles.dart
@@ -2,7 +2,7 @@
 // for details. All rights reserved. Use of this source code is governed by a
 // BSD-style license that can be found in the LICENSE file.
 
-library persitent_handles_page;
+library persistent_handles_page;
 
 import 'dart:async';
 import 'dart:html';
diff --git a/runtime/observatory_2/lib/src/models/objects/event.dart b/runtime/observatory_2/lib/src/models/objects/event.dart
index 24ed7e3..6055e47 100644
--- a/runtime/observatory_2/lib/src/models/objects/event.dart
+++ b/runtime/observatory_2/lib/src/models/objects/event.dart
@@ -198,7 +198,7 @@
   /// The identifier of the service
   String get service;
 
-  /// The JSON-RPC 2.0 Method that identifes this instance
+  /// The JSON-RPC 2.0 Method that identifies this instance
   String get method;
 }
 
diff --git a/runtime/observatory_2/lib/src/service/object.dart b/runtime/observatory_2/lib/src/service/object.dart
index 9acde0e..1173af0 100644
--- a/runtime/observatory_2/lib/src/service/object.dart
+++ b/runtime/observatory_2/lib/src/service/object.dart
@@ -4517,7 +4517,7 @@
 }
 
 /// A peer to a Socket in dart:io. Sockets can represent network sockets or
-/// OS pipes. Each socket is owned by another ServceObject, for example,
+/// OS pipes. Each socket is owned by another ServiceObject, for example,
 /// a process or an HTTP server.
 class Socket extends ServiceObject {
   Socket._empty(ServiceObjectOwner owner) : super._empty(owner);
diff --git a/runtime/observatory_2/tests/service_2/async_next_regession_18877_test.dart b/runtime/observatory_2/tests/service_2/async_next_regression_18877_test.dart
similarity index 100%
rename from runtime/observatory_2/tests/service_2/async_next_regession_18877_test.dart
rename to runtime/observatory_2/tests/service_2/async_next_regression_18877_test.dart
diff --git a/runtime/observatory_2/tests/service_2/external_service_disappear_test.dart b/runtime/observatory_2/tests/service_2/external_service_disappear_test.dart
index d9658ef..90ae800 100644
--- a/runtime/observatory_2/tests/service_2/external_service_disappear_test.dart
+++ b/runtime/observatory_2/tests/service_2/external_service_disappear_test.dart
@@ -34,7 +34,7 @@
     const kServiceDisappeared = 112;
     const kServiceDisappeared_Msg = 'Service has disappeared';
 
-    const serviceName = 'disapearService';
+    const serviceName = 'disappearService';
     const serviceAlias = 'serviceAlias';
     const paramKey = 'pkey';
     const paramValue = 'pvalue';
diff --git a/runtime/observatory_2/tests/service_2/service_2_kernel.status b/runtime/observatory_2/tests/service_2/service_2_kernel.status
index 8b911ae..1aa5f22b 100644
--- a/runtime/observatory_2/tests/service_2/service_2_kernel.status
+++ b/runtime/observatory_2/tests/service_2/service_2_kernel.status
@@ -33,7 +33,7 @@
 [ $compiler == dartkp ]
 add_breakpoint_rpc_kernel_test: SkipByDesign # Debugger is disabled in AOT mode.
 async_generator_breakpoint_test: SkipByDesign # Debugger is disabled in AOT mode.
-async_next_regession_18877_test: SkipByDesign # Debugger is disabled in AOT mode.
+async_next_regression_18877_test: SkipByDesign # Debugger is disabled in AOT mode.
 async_next_test: SkipByDesign # Debugger is disabled in AOT mode.
 async_scope_test: SkipByDesign # Debugger is disabled in AOT mode.
 async_single_step_exception_test: SkipByDesign # Debugger is disabled in AOT mode.
diff --git a/runtime/observatory_2/tests/service_2/string_escaping_test.dart b/runtime/observatory_2/tests/service_2/string_escaping_test.dart
index 62a0b13..7eb601a 100644
--- a/runtime/observatory_2/tests/service_2/string_escaping_test.dart
+++ b/runtime/observatory_2/tests/service_2/string_escaping_test.dart
@@ -26,7 +26,7 @@
 @pragma("vm:entry-point") // Prevent obfuscation
 var tabs;
 @pragma("vm:entry-point") // Prevent obfuscation
-var suggrogatePairs;
+var surrogatePairs;
 @pragma("vm:entry-point") // Prevent obfuscation
 var nullInTheMiddle;
 @pragma("vm:entry-point") // Prevent obfuscation
@@ -49,7 +49,7 @@
   doubleQuotes = '"Two," he said.';
   newLines = "Windows\r\nSmalltalk\rUnix\n";
   tabs = "One\tTwo\tThree";
-  suggrogatePairs = "1𝄞2𝄞𝄞3𝄞𝄞𝄞";
+  surrogatePairs = "1𝄞2𝄞𝄞3𝄞𝄞𝄞";
   nullInTheMiddle = "There are four\u0000 words.";
   escapedUnicodeEscape = "Should not be A: \\u0041";
 
@@ -93,7 +93,7 @@
   expectFullString('doubleQuotes', doubleQuotes);
   expectFullString('newLines', newLines);
   expectFullString('tabs', tabs);
-  expectFullString('suggrogatePairs', suggrogatePairs);
+  expectFullString('surrogatePairs', surrogatePairs);
   expectFullString('nullInTheMiddle', nullInTheMiddle);
   expectTruncatedString('longStringEven', longStringEven);
   expectTruncatedString('longStringOdd', longStringOdd);
diff --git a/runtime/observatory_2/tests/ui/retainingPath.dart b/runtime/observatory_2/tests/ui/retainingPath.dart
index 0a2c30f..70b748d 100644
--- a/runtime/observatory_2/tests/ui/retainingPath.dart
+++ b/runtime/observatory_2/tests/ui/retainingPath.dart
@@ -2,7 +2,7 @@
 // for details. All rights reserved. Use of this source code is governed by a
 // BSD-style license that can be found in the LICENSE file.
 
-// See reatiningPath.txt for expected behavior.
+// See retainingPath.txt for expected behavior.
 
 class Foo {
   var a;
diff --git a/runtime/observatory_2/web/timeline.js b/runtime/observatory_2/web/timeline.js
index 5b431f6..0187abd 100644
--- a/runtime/observatory_2/web/timeline.js
+++ b/runtime/observatory_2/web/timeline.js
@@ -438,7 +438,7 @@
     });
     return input;
   },
-  // Add auxilary events to frame (Frame Budget and Frame Length).
+  // Add auxiliary events to frame (Frame Budget and Frame Length).
   // Example:
   // Before
   //              |[GPU1--------------------]|         |[GPU2-----]
@@ -450,7 +450,7 @@
   //              |[GPU1--------------------]|         |[GPU2-----]
   //     [VSYNC1] |                          |[VSYNC2] |
   //  [SHIFTABLE1]|[FRAMEWORK1]              |         |[FRAMEWORK2]
-  function addAuxilaryEvents(input) {
+  function addAuxiliaryEvents(input) {
     input.frames.forEach(function (frame) {
       frame.events.unshift({
         args: {name: "Frame Budgets"},