From ba31c4da9c83e2a18b082f26f0006a426464f8d7 Mon Sep 17 00:00:00 2001 From: Leonardo Balter Date: Mon, 2 May 2016 13:55:45 -0400 Subject: [PATCH] s/interaction/iteration on TypedArray.prototype methods --- .../every/callbackfn-set-value-during-interaction.js | 8 ++++---- .../every/get-length-uses-internal-arraylength.js | 2 +- .../TypedArray/prototype/every/values-are-not-cached.js | 2 +- .../forEach/callbackfn-set-value-during-interaction.js | 8 ++++---- .../TypedArray/prototype/forEach/values-are-not-cached.js | 2 +- .../map/callbackfn-set-value-during-interaction.js | 8 ++++---- .../some/callbackfn-set-value-during-interaction.js | 8 ++++---- .../some/get-length-uses-internal-arraylength.js | 2 +- .../TypedArray/prototype/some/values-are-not-cached.js | 2 +- 9 files changed, 21 insertions(+), 21 deletions(-) diff --git a/test/built-ins/TypedArray/prototype/every/callbackfn-set-value-during-interaction.js b/test/built-ins/TypedArray/prototype/every/callbackfn-set-value-during-interaction.js index 340b3c4385..644ad22b1c 100644 --- a/test/built-ins/TypedArray/prototype/every/callbackfn-set-value-during-interaction.js +++ b/test/built-ins/TypedArray/prototype/every/callbackfn-set-value-during-interaction.js @@ -44,7 +44,7 @@ testWithTypedArrayConstructors(function(TA) { assert.sameValue( Reflect.set(sample, i, newVal), true, - "set value during interaction" + "set value during iteration" ); newVal++; @@ -52,7 +52,7 @@ testWithTypedArrayConstructors(function(TA) { return true; }); - assert.sameValue(sample[0], 7, "changed values after interaction [0] == 7"); - assert.sameValue(sample[1], 1, "changed values after interaction [1] == 1"); - assert.sameValue(sample[2], 2, "changed values after interaction [2] == 2"); + assert.sameValue(sample[0], 7, "changed values after iteration [0] == 7"); + assert.sameValue(sample[1], 1, "changed values after iteration [1] == 1"); + assert.sameValue(sample[2], 2, "changed values after iteration [2] == 2"); }); diff --git a/test/built-ins/TypedArray/prototype/every/get-length-uses-internal-arraylength.js b/test/built-ins/TypedArray/prototype/every/get-length-uses-internal-arraylength.js index 1e57c468ab..0f4b4d010f 100644 --- a/test/built-ins/TypedArray/prototype/every/get-length-uses-internal-arraylength.js +++ b/test/built-ins/TypedArray/prototype/every/get-length-uses-internal-arraylength.js @@ -42,5 +42,5 @@ testWithTypedArrayConstructors(function(TA) { }); assert.sameValue(getCalls, 0, "ignores length properties"); - assert.sameValue(calls, 2, "interactions are not affected by custom length"); + assert.sameValue(calls, 2, "iterations are not affected by custom length"); }); diff --git a/test/built-ins/TypedArray/prototype/every/values-are-not-cached.js b/test/built-ins/TypedArray/prototype/every/values-are-not-cached.js index 091ae6a35e..b62d74e4cd 100644 --- a/test/built-ins/TypedArray/prototype/every/values-are-not-cached.js +++ b/test/built-ins/TypedArray/prototype/every/values-are-not-cached.js @@ -4,7 +4,7 @@ /*--- esid: sec-%typedarray%.prototype.every description: > - Integer indexed values are not cached before interaction + Integer indexed values are not cached before iteration info: > 22.2.3.7 %TypedArray%.prototype.every ( callbackfn [ , thisArg ] ) diff --git a/test/built-ins/TypedArray/prototype/forEach/callbackfn-set-value-during-interaction.js b/test/built-ins/TypedArray/prototype/forEach/callbackfn-set-value-during-interaction.js index b002685903..54c044ab81 100644 --- a/test/built-ins/TypedArray/prototype/forEach/callbackfn-set-value-during-interaction.js +++ b/test/built-ins/TypedArray/prototype/forEach/callbackfn-set-value-during-interaction.js @@ -35,13 +35,13 @@ testWithTypedArrayConstructors(function(TA) { assert.sameValue( Reflect.set(sample, i, newVal), true, - "set value during interaction" + "set value during iteration" ); newVal++; }); - assert.sameValue(sample[0], 7, "changed values after interaction [0] == 7"); - assert.sameValue(sample[1], 1, "changed values after interaction [1] == 1"); - assert.sameValue(sample[2], 2, "changed values after interaction [2] == 2"); + assert.sameValue(sample[0], 7, "changed values after iteration [0] == 7"); + assert.sameValue(sample[1], 1, "changed values after iteration [1] == 1"); + assert.sameValue(sample[2], 2, "changed values after iteration [2] == 2"); }); diff --git a/test/built-ins/TypedArray/prototype/forEach/values-are-not-cached.js b/test/built-ins/TypedArray/prototype/forEach/values-are-not-cached.js index a18c999837..238718e204 100644 --- a/test/built-ins/TypedArray/prototype/forEach/values-are-not-cached.js +++ b/test/built-ins/TypedArray/prototype/forEach/values-are-not-cached.js @@ -4,7 +4,7 @@ /*--- esid: sec-%typedarray%.prototype.foreach description: > - Integer indexed values are not cached before interaction + Integer indexed values are not cached before iteration info: > 22.2.3.12 %TypedArray%.prototype.forEach ( callbackfn [ , thisArg ] ) diff --git a/test/built-ins/TypedArray/prototype/map/callbackfn-set-value-during-interaction.js b/test/built-ins/TypedArray/prototype/map/callbackfn-set-value-during-interaction.js index 692bddc4a9..167661b69e 100644 --- a/test/built-ins/TypedArray/prototype/map/callbackfn-set-value-during-interaction.js +++ b/test/built-ins/TypedArray/prototype/map/callbackfn-set-value-during-interaction.js @@ -30,13 +30,13 @@ testWithTypedArrayConstructors(function(TA) { assert.sameValue( Reflect.set(sample, i, newVal), true, - "set value during interaction" + "set value during iteration" ); newVal++; }); - assert.sameValue(sample[0], 7, "changed values after interaction [0] == 7"); - assert.sameValue(sample[1], 1, "changed values after interaction [1] == 1"); - assert.sameValue(sample[2], 2, "changed values after interaction [2] == 2"); + assert.sameValue(sample[0], 7, "changed values after iteration [0] == 7"); + assert.sameValue(sample[1], 1, "changed values after iteration [1] == 1"); + assert.sameValue(sample[2], 2, "changed values after iteration [2] == 2"); }); diff --git a/test/built-ins/TypedArray/prototype/some/callbackfn-set-value-during-interaction.js b/test/built-ins/TypedArray/prototype/some/callbackfn-set-value-during-interaction.js index d9fa9d9d82..147508c293 100644 --- a/test/built-ins/TypedArray/prototype/some/callbackfn-set-value-during-interaction.js +++ b/test/built-ins/TypedArray/prototype/some/callbackfn-set-value-during-interaction.js @@ -44,13 +44,13 @@ testWithTypedArrayConstructors(function(TA) { assert.sameValue( Reflect.set(sample, i, newVal), true, - "set value during interaction" + "set value during iteration" ); newVal++; }); - assert.sameValue(sample[0], 7, "changed values after interaction [0] == 7"); - assert.sameValue(sample[1], 1, "changed values after interaction [1] == 1"); - assert.sameValue(sample[2], 2, "changed values after interaction [2] == 2"); + assert.sameValue(sample[0], 7, "changed values after iteration [0] == 7"); + assert.sameValue(sample[1], 1, "changed values after iteration [1] == 1"); + assert.sameValue(sample[2], 2, "changed values after iteration [2] == 2"); }); diff --git a/test/built-ins/TypedArray/prototype/some/get-length-uses-internal-arraylength.js b/test/built-ins/TypedArray/prototype/some/get-length-uses-internal-arraylength.js index 6a0b2c9153..e90ba11625 100644 --- a/test/built-ins/TypedArray/prototype/some/get-length-uses-internal-arraylength.js +++ b/test/built-ins/TypedArray/prototype/some/get-length-uses-internal-arraylength.js @@ -41,5 +41,5 @@ testWithTypedArrayConstructors(function(TA) { }); assert.sameValue(getCalls, 0, "ignores length properties"); - assert.sameValue(calls, 2, "interactions are not affected by custom length"); + assert.sameValue(calls, 2, "iterations are not affected by custom length"); }); diff --git a/test/built-ins/TypedArray/prototype/some/values-are-not-cached.js b/test/built-ins/TypedArray/prototype/some/values-are-not-cached.js index c8ded95d75..7f775b5490 100644 --- a/test/built-ins/TypedArray/prototype/some/values-are-not-cached.js +++ b/test/built-ins/TypedArray/prototype/some/values-are-not-cached.js @@ -3,7 +3,7 @@ /*--- esid: sec-%typedarray%.prototype.some description: > - Integer indexed values are not cached before interaction + Integer indexed values are not cached before iteration info: > 22.2.3.25 %TypedArray%.prototype.some ( callbackfn [ , thisArg ] )