From 58ef241d9e4d3ddc40364ce0bacc0fa1dc073a8c Mon Sep 17 00:00:00 2001 From: Maxim Mazurok Date: Mon, 24 Dec 2018 01:35:20 -0800 Subject: [PATCH] Fixed typos - "constuctor" -> "constructor" - "dependendencies" -> "dependencies" - "develpers" -> "developers" - ["nonexistant"][1] -> ["nonexistent"][2] - "reponsible" -> "responsible" [1]: https://en.wiktionary.org/wiki/nonexistant [2]: https://en.wiktionary.org/wiki/nonexistent Change-Id: I8bb482d03c391bd0d37afd5d616229fa50a4ab77 Reviewed-on: https://chromium-review.googlesource.com/c/1390203 Commit-Queue: Yang Guo Reviewed-by: Yang Guo Reviewed-by: Toon Verwaest Reviewed-by: Camillo Bruni Reviewed-by: Michael Stanton Cr-Commit-Position: refs/heads/master@{#58610} --- src/deoptimizer.cc | 2 +- src/message-template.h | 4 ++-- test/mjsunit/modules-namespace1.js | 6 +++--- test/mjsunit/regress/regress-crbug-860788.js | 2 +- test/webkit/fast/js/kde/delete-expected.txt | 2 +- test/webkit/fast/js/kde/delete.js | 2 +- test/webkit/fast/js/kde/exceptions.js | 2 +- test/webkit/propertyIsEnumerable-expected.txt | 2 +- test/webkit/propertyIsEnumerable.js | 2 +- tools/mb/docs/design_spec.md | 2 +- tools/mb/docs/user_guide.md | 4 ++-- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc index 4628291188..c0b054181f 100644 --- a/src/deoptimizer.cc +++ b/src/deoptimizer.cc @@ -1288,7 +1288,7 @@ void Deoptimizer::DoComputeConstructStubFrame(TranslatedFrame* translated_frame, // The constructor function was mentioned explicitly in the // CONSTRUCT_STUB_FRAME. - frame_writer.PushTranslatedValue(function_iterator, "constuctor function\n"); + frame_writer.PushTranslatedValue(function_iterator, "constructor function\n"); // The deopt info contains the implicit receiver or the new target at the // position of the receiver. Copy it to the top of stack, with the hole value diff --git a/src/message-template.h b/src/message-template.h index df639b35bc..27e9855966 100644 --- a/src/message-template.h +++ b/src/message-template.h @@ -169,7 +169,7 @@ namespace internal { "'construct' on proxy: trap returned non-object ('%')") \ T(ProxyDefinePropertyNonConfigurable, \ "'defineProperty' on proxy: trap returned truish for defining " \ - "non-configurable property '%' which is either non-existant or " \ + "non-configurable property '%' which is either non-existent or " \ "configurable in the proxy target") \ T(ProxyDefinePropertyNonExtensible, \ "'defineProperty' on proxy: trap returned truish for adding property '%' " \ @@ -197,7 +197,7 @@ namespace internal { "undefined for property '%'") \ T(ProxyGetOwnPropertyDescriptorNonConfigurable, \ "'getOwnPropertyDescriptor' on proxy: trap reported non-configurability " \ - "for property '%' which is either non-existant or configurable in the " \ + "for property '%' which is either non-existent or configurable in the " \ "proxy target") \ T(ProxyGetOwnPropertyDescriptorNonExtensible, \ "'getOwnPropertyDescriptor' on proxy: trap returned undefined for " \ diff --git a/test/mjsunit/modules-namespace1.js b/test/mjsunit/modules-namespace1.js index 9c2ce93504..82b1e528ad 100644 --- a/test/mjsunit/modules-namespace1.js +++ b/test/mjsunit/modules-namespace1.js @@ -53,9 +53,9 @@ assertEquals( {value: "Module", configurable: false, writable: false, enumerable: false}, Reflect.getOwnPropertyDescriptor(foo, Symbol.toStringTag)); -// Nonexistant properties. -let nonexistant = ["gaga", 123, Symbol('')]; -for (let key of nonexistant) { +// Nonexistent properties. +let nonexistent = ["gaga", 123, Symbol('')]; +for (let key of nonexistent) { assertSame(undefined, Reflect.getOwnPropertyDescriptor(foo, key)); assertTrue(Reflect.deleteProperty(foo, key)); assertFalse(Reflect.set(foo, key, true)); diff --git a/test/mjsunit/regress/regress-crbug-860788.js b/test/mjsunit/regress/regress-crbug-860788.js index 55d243eac6..fe0dcb83af 100644 --- a/test/mjsunit/regress/regress-crbug-860788.js +++ b/test/mjsunit/regress/regress-crbug-860788.js @@ -26,5 +26,5 @@ try { } catch(e) { print("Caught: " + e); } try { var obj = {prop: 7}; - assertThrows("nonexistant(obj)"); + assertThrows("nonexistent(obj)"); } catch(e) { print("Caught: " + e); } diff --git a/test/webkit/fast/js/kde/delete-expected.txt b/test/webkit/fast/js/kde/delete-expected.txt index 0c87f6ddab..f59ae9fed2 100644 --- a/test/webkit/fast/js/kde/delete-expected.txt +++ b/test/webkit/fast/js/kde/delete-expected.txt @@ -27,7 +27,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE PASS a = 1; delete a; is true -PASS delete nonexistant; is true +PASS delete nonexistent; is true PASS delete NaN is false PASS successfullyParsed is true diff --git a/test/webkit/fast/js/kde/delete.js b/test/webkit/fast/js/kde/delete.js index 8aeb0d09e8..3224f2aa7b 100644 --- a/test/webkit/fast/js/kde/delete.js +++ b/test/webkit/fast/js/kde/delete.js @@ -23,5 +23,5 @@ description("KDE JS Test"); shouldBe("a = 1; delete a;", "true"); -shouldBe("delete nonexistant;", "true"); +shouldBe("delete nonexistent;", "true"); shouldBe("delete NaN", "false"); diff --git a/test/webkit/fast/js/kde/exceptions.js b/test/webkit/fast/js/kde/exceptions.js index 73b7b57fb4..a96011e86e 100644 --- a/test/webkit/fast/js/kde/exceptions.js +++ b/test/webkit/fast/js/kde/exceptions.js @@ -58,7 +58,7 @@ function testReferenceError() var err = "noerror"; var caught = false; try { - var dummy = nonexistant; // throws reference error + var dummy = nonexistent; // throws reference error } catch (e) { caught = true; err = e.name; diff --git a/test/webkit/propertyIsEnumerable-expected.txt b/test/webkit/propertyIsEnumerable-expected.txt index e3fd215a08..086697c3b7 100644 --- a/test/webkit/propertyIsEnumerable-expected.txt +++ b/test/webkit/propertyIsEnumerable-expected.txt @@ -28,7 +28,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE PASS a.propertyIsEnumerable('length') is false PASS a.propertyIsEnumerable ('foo') is true -PASS a.propertyIsEnumerable ('non-existant') is false +PASS a.propertyIsEnumerable ('non-existent') is false PASS global.propertyIsEnumerable ('aVarDecl') is true PASS global.propertyIsEnumerable ('aFunctionDecl') is true PASS global.propertyIsEnumerable ('Math') is false diff --git a/test/webkit/propertyIsEnumerable.js b/test/webkit/propertyIsEnumerable.js index e6dc22f64b..eecdba6b5d 100644 --- a/test/webkit/propertyIsEnumerable.js +++ b/test/webkit/propertyIsEnumerable.js @@ -33,7 +33,7 @@ function aFunctionDecl(){} var global = this; shouldBeFalse("a.propertyIsEnumerable('length')"); shouldBeTrue("a.propertyIsEnumerable ('foo')"); -shouldBeFalse("a.propertyIsEnumerable ('non-existant')"); +shouldBeFalse("a.propertyIsEnumerable ('non-existent')"); shouldBeTrue("global.propertyIsEnumerable ('aVarDecl')"); shouldBeTrue("global.propertyIsEnumerable ('aFunctionDecl')"); diff --git a/tools/mb/docs/design_spec.md b/tools/mb/docs/design_spec.md index fb202da74e..c119e65e90 100644 --- a/tools/mb/docs/design_spec.md +++ b/tools/mb/docs/design_spec.md @@ -169,7 +169,7 @@ We can then return two lists as output: * `compile_targets`, which is a list of pruned targets to be passed to Ninja to build. It is acceptable to replace a list of pruned targets by a meta target if it turns out that all of the - dependendencies of the target are affected by the patch (i.e., + dependencies of the target are affected by the patch (i.e., all ten binaries that blink_tests depends on), but doing so is not required. * `test_targets`, which is a list of unpruned targets to be mapped diff --git a/tools/mb/docs/user_guide.md b/tools/mb/docs/user_guide.md index a7d72c8839..75c195a949 100644 --- a/tools/mb/docs/user_guide.md +++ b/tools/mb/docs/user_guide.md @@ -20,7 +20,7 @@ For more discussion of MB, see also [the design spec](design_spec.md). ### `mb analyze` -`mb analyze` is reponsible for determining what targets are affected by +`mb analyze` is responsible for determining what targets are affected by a list of files (e.g., the list of files in a patch on a trybot): ``` @@ -229,7 +229,7 @@ The `configs` key points to a dictionary of named build configurations. There should be an key in this dict for every supported configuration of Chromium, meaning every configuration we have a bot for, and every -configuration commonly used by develpers but that we may not have a bot +configuration commonly used by developers but that we may not have a bot for. The value of each key is a list of "mixins" that will define what that