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 <yangguo@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Michael Stanton <mvstanton@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58610}
This commit is contained in:
Maxim Mazurok 2018-12-24 01:35:20 -08:00 committed by Commit Bot
parent 2bcbeeb87d
commit 58ef241d9e
11 changed files with 15 additions and 15 deletions

View File

@ -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

View File

@ -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 " \

View File

@ -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));

View File

@ -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); }

View File

@ -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

View File

@ -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");

View File

@ -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;

View File

@ -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

View File

@ -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')");

View File

@ -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

View File

@ -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