| Index: test/webkit/fast/js/kde/constructor_length.js
|
| diff --git a/test/webkit/array-index-immediate-types.js b/test/webkit/fast/js/kde/constructor_length.js
|
| similarity index 73%
|
| copy from test/webkit/array-index-immediate-types.js
|
| copy to test/webkit/fast/js/kde/constructor_length.js
|
| index 7bacc9d0fc2751ed6b0f943e64a9993226b10d1c..5ec9dda0add196d904418055f5e46335ff20624b 100644
|
| --- a/test/webkit/array-index-immediate-types.js
|
| +++ b/test/webkit/fast/js/kde/constructor_length.js
|
| @@ -21,24 +21,19 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -description(
|
| -"This test checks the behaviour of indexing an Array with immediate types."
|
| -);
|
| -
|
| -var array = ["Zero", "One"];
|
| -
|
| -shouldBe("array[0]", '"Zero"');
|
| -shouldBe("array[null]", "undefined");
|
| -shouldBe("array[undefined]", "undefined");
|
| -shouldBe("array[true]", "undefined");
|
| -shouldBe("array[false]", "undefined");
|
| -
|
| -function putSelf(array, index)
|
| -{
|
| - index = index << 0;
|
| - array[index] = index;
|
| - return true;
|
| -}
|
| -
|
| -shouldBeTrue("putSelf([0], 0);");
|
| -shouldBeTrue("putSelf([0], 1/9);");
|
| +description("KDE JS Test");
|
| +shouldBe("Object.length","1");
|
| +shouldBe("Function.length","1");
|
| +shouldBe("Array.length","1");
|
| +shouldBe("String.length","1");
|
| +shouldBe("Boolean.length","1");
|
| +shouldBe("Number.length","1");
|
| +shouldBe("Date.length","7");
|
| +shouldBe("RegExp.length","2");
|
| +shouldBe("Error.length","1");
|
| +shouldBe("EvalError.length","1");
|
| +shouldBe("RangeError.length","1");
|
| +shouldBe("ReferenceError.length","1");
|
| +shouldBe("SyntaxError.length","1");
|
| +shouldBe("TypeError.length","1");
|
| +shouldBe("URIError.length","1");
|
|
|