diff --git a/js/tests/lc3/JavaObject/JavaObjectToByte-005-n.js b/js/tests/lc3/JavaObject/JavaObjectToByte-005.js similarity index 99% rename from js/tests/lc3/JavaObject/JavaObjectToByte-005-n.js rename to js/tests/lc3/JavaObject/JavaObjectToByte-005.js index 8a3808b358b7..b645b5f1a762 100644 --- a/js/tests/lc3/JavaObject/JavaObjectToByte-005-n.js +++ b/js/tests/lc3/JavaObject/JavaObjectToByte-005.js @@ -2,19 +2,19 @@ * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/NPL/ - * + * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. - * + * * The Original Code is Mozilla Communicator client code, released March * 31, 1998. - * + * * The Initial Developer of the Original Code is Netscape Communications * Corporation. Portions created by Netscape are Copyright (C) 1998 * Netscape Communications Corporation. All Rights Reserved. - * + * */ /* -*- Mode: java; tab-width: 8 -*- * Copyright © 1997, 1998 Netscape Communications Corporation, @@ -65,7 +65,7 @@ "dt.PUB_BYTE", "dt.getByte()", "typeof dt.getByte()", - "error", + 127, "number" ); for ( i = 0; i < a.length; i++ ) { diff --git a/js/tests/lc3/JavaObject/JavaObjectToByte-006-n.js b/js/tests/lc3/JavaObject/JavaObjectToByte-006.js similarity index 99% rename from js/tests/lc3/JavaObject/JavaObjectToByte-006-n.js rename to js/tests/lc3/JavaObject/JavaObjectToByte-006.js index 4125d1fec54a..5fff29fbe2fe 100644 --- a/js/tests/lc3/JavaObject/JavaObjectToByte-006-n.js +++ b/js/tests/lc3/JavaObject/JavaObjectToByte-006.js @@ -2,19 +2,19 @@ * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/NPL/ - * + * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. - * + * * The Original Code is Mozilla Communicator client code, released March * 31, 1998. - * + * * The Initial Developer of the Original Code is Netscape Communications * Corporation. Portions created by Netscape are Copyright (C) 1998 * Netscape Communications Corporation. All Rights Reserved. - * + * */ /* -*- Mode: java; tab-width: 8 -*- * Copyright © 1997, 1998 Netscape Communications Corporation, @@ -65,7 +65,7 @@ "dt.PUB_BYTE", "dt.getByte()", "typeof dt.getByte()", - "error", + -128, "number" ); for ( i = 0; i < a.length; i++ ) { diff --git a/js/tests/lc3/JavaObject/JavaObjectToChar-002-n.js b/js/tests/lc3/JavaObject/JavaObjectToChar-002.js similarity index 99% rename from js/tests/lc3/JavaObject/JavaObjectToChar-002-n.js rename to js/tests/lc3/JavaObject/JavaObjectToChar-002.js index 3ca6ce8a5b7b..5484ab2768eb 100644 --- a/js/tests/lc3/JavaObject/JavaObjectToChar-002-n.js +++ b/js/tests/lc3/JavaObject/JavaObjectToChar-002.js @@ -2,19 +2,19 @@ * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/NPL/ - * + * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. - * + * * The Original Code is Mozilla Communicator client code, released March * 31, 1998. - * + * * The Initial Developer of the Original Code is Netscape Communications * Corporation. Portions created by Netscape are Copyright (C) 1998 * Netscape Communications Corporation. All Rights Reserved. - * + * */ /* -*- Mode: java; tab-width: 8 -*- * Copyright © 1997, 1998 Netscape Communications Corporation, @@ -63,7 +63,7 @@ "dt.PUB_CHAR", "dt.getChar()", "typeof dt.getChar()", - "error", + 0, "number" ); for ( i = 0; i < a.length; i++ ) { diff --git a/js/tests/lc3/JavaObject/JavaObjectToChar-004-n.js b/js/tests/lc3/JavaObject/JavaObjectToChar-004.js similarity index 99% rename from js/tests/lc3/JavaObject/JavaObjectToChar-004-n.js rename to js/tests/lc3/JavaObject/JavaObjectToChar-004.js index 5b7d26ebcef8..bf4c83e8c5ff 100644 --- a/js/tests/lc3/JavaObject/JavaObjectToChar-004-n.js +++ b/js/tests/lc3/JavaObject/JavaObjectToChar-004.js @@ -2,19 +2,19 @@ * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/NPL/ - * + * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. - * + * * The Original Code is Mozilla Communicator client code, released March * 31, 1998. - * + * * The Initial Developer of the Original Code is Netscape Communications * Corporation. Portions created by Netscape are Copyright (C) 1998 * Netscape Communications Corporation. All Rights Reserved. - * + * */ /* -*- Mode: java; tab-width: 8 -*- * Copyright © 1997, 1998 Netscape Communications Corporation, @@ -63,7 +63,7 @@ "dt.PUB_CHAR", "dt.getChar()", "typeof dt.getChar()", - "error", + 65535, "number" ); for ( i = 0; i < a.length; i++ ) { diff --git a/js/tests/lc3/JavaObject/JavaObjectToShort-005-n.js b/js/tests/lc3/JavaObject/JavaObjectToShort-005.js similarity index 99% rename from js/tests/lc3/JavaObject/JavaObjectToShort-005-n.js rename to js/tests/lc3/JavaObject/JavaObjectToShort-005.js index 76dd4ac0b102..d4a67c02b7eb 100644 --- a/js/tests/lc3/JavaObject/JavaObjectToShort-005-n.js +++ b/js/tests/lc3/JavaObject/JavaObjectToShort-005.js @@ -2,19 +2,19 @@ * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/NPL/ - * + * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. - * + * * The Original Code is Mozilla Communicator client code, released March * 31, 1998. - * + * * The Initial Developer of the Original Code is Netscape Communications * Corporation. Portions created by Netscape are Copyright (C) 1998 * Netscape Communications Corporation. All Rights Reserved. - * + * */ /* -*- Mode: java; tab-width: 8 -*- * Copyright © 1997, 1998 Netscape Communications Corporation, @@ -63,7 +63,7 @@ "dt.PUB_SHORT", "dt.getShort()", "typeof dt.getShort()", - "error", + 32767, "number" ); for ( i = 0; i < a.length; i++ ) { diff --git a/js/tests/lc3/JavaObject/JavaObjectToShort-006-n.js b/js/tests/lc3/JavaObject/JavaObjectToShort-006.js similarity index 99% rename from js/tests/lc3/JavaObject/JavaObjectToShort-006-n.js rename to js/tests/lc3/JavaObject/JavaObjectToShort-006.js index f7c959b9709c..f6991deb9f49 100644 --- a/js/tests/lc3/JavaObject/JavaObjectToShort-006-n.js +++ b/js/tests/lc3/JavaObject/JavaObjectToShort-006.js @@ -2,19 +2,19 @@ * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/NPL/ - * + * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. - * + * * The Original Code is Mozilla Communicator client code, released March * 31, 1998. - * + * * The Initial Developer of the Original Code is Netscape Communications * Corporation. Portions created by Netscape are Copyright (C) 1998 * Netscape Communications Corporation. All Rights Reserved. - * + * */ /* -*- Mode: java; tab-width: 8 -*- * Copyright © 1997, 1998 Netscape Communications Corporation, @@ -63,7 +63,7 @@ "dt.PUB_SHORT", "dt.getShort()", "typeof dt.getShort()", - "error", + -32768, "number" ); for ( i = 0; i < a.length; i++ ) {