From 68e437e708d6c20d563ae370679b55b599832d3d Mon Sep 17 00:00:00 2001 From: Mark Miller <erights@gmail.com> Date: Fri, 30 Sep 2011 13:55:26 -0400 Subject: [PATCH] Fixing malformed test cases --- .../suite/chapter10/10.1/10.1.1/10.1.1-1-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-10-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-11-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-12-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-13-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-14-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-15-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-16-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-17-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-18-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-19-s.js | 16 +++++----- .../suite/chapter10/10.1/10.1.1/10.1.1-2-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-20-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-21-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-22-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-23-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-24-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-25-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-26-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-27-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-28-s.js | 18 ++++++------ .../chapter10/10.1/10.1.1/10.1.1-29-s.js | 16 +++++----- .../suite/chapter10/10.1/10.1.1/10.1.1-2gs.js | 2 +- .../suite/chapter10/10.1/10.1.1/10.1.1-3-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-30-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-31-s.js | 16 +++++----- .../chapter10/10.1/10.1.1/10.1.1-32-s.js | 16 +++++----- .../suite/chapter10/10.1/10.1.1/10.1.1-4-s.js | 16 +++++----- .../suite/chapter10/10.1/10.1.1/10.1.1-5-s.js | 16 +++++----- .../suite/chapter10/10.1/10.1.1/10.1.1-5gs.js | 2 +- .../suite/chapter10/10.1/10.1.1/10.1.1-6-s.js | 16 +++++----- .../suite/chapter10/10.1/10.1.1/10.1.1-7-s.js | 16 +++++----- .../suite/chapter10/10.1/10.1.1/10.1.1-8-s.js | 16 +++++----- .../suite/chapter10/10.1/10.1.1/10.1.1-8gs.js | 2 +- .../suite/chapter10/10.1/10.1.1/10.1.1-9-s.js | 16 +++++----- .../chapter10/10.4/10.4.3/10.4.3-1-1-s.js | 18 ++++++------ .../chapter10/10.4/10.4.3/10.4.3-1-2-s.js | 18 ++++++------ .../chapter10/10.4/10.4.3/10.4.3-1-3-s.js | 18 ++++++------ .../chapter10/10.4/10.4.3/10.4.3-1-4-s.js | 18 ++++++------ .../chapter11/11.13/11.13.1/11.13.1-4-27-s.js | 15 +++++----- .../chapter12/12.10/12.10.1/12.10.1-13-s.js | 16 +++++----- test/suite/chapter14/14.1/14.1-1-s.js | 16 +++++----- test/suite/chapter14/14.1/14.1-10-s.js | 18 ++++++------ test/suite/chapter14/14.1/14.1-11-s.js | 20 ++++++------- test/suite/chapter14/14.1/14.1-12-s.js | 20 ++++++------- test/suite/chapter14/14.1/14.1-13-s.js | 20 ++++++------- test/suite/chapter14/14.1/14.1-14-s.js | 20 ++++++------- test/suite/chapter14/14.1/14.1-15-s.js | 20 ++++++------- test/suite/chapter14/14.1/14.1-16-s.js | 16 +++++----- test/suite/chapter14/14.1/14.1-17-s.js | 29 +++++++++---------- test/suite/chapter14/14.1/14.1-2-s.js | 16 +++++----- test/suite/chapter14/14.1/14.1-3-s.js | 16 +++++----- test/suite/chapter14/14.1/14.1-4-s.js | 16 +++++----- test/suite/chapter14/14.1/14.1-5-s.js | 16 +++++----- test/suite/chapter14/14.1/14.1-6-s.js | 16 +++++----- test/suite/chapter14/14.1/14.1-7-s.js | 16 +++++----- test/suite/chapter14/14.1/14.1-8-s.js | 16 +++++----- test/suite/chapter14/14.1/14.1-9-s.js | 16 +++++----- 58 files changed, 464 insertions(+), 466 deletions(-) diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-1-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-1-s.js index db36a3962b..9fc2af1ed0 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-1-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-1-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-1-s.js * @description Strict Mode - Use Strict Directive Prologue is 'use strict'; which contains two space between 'use' and 'strict' - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-10-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-10-s.js index 15ea090b17..3839013757 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-10-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-10-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-10-s.js * @description Strict Mode - Use Strict Directive Prologue is ''USE STRICT';' in which all characters are uppercase - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-11-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-11-s.js index beb15986c4..c30cd1d1be 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-11-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-11-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-11-s.js * @description Strict Mode - Eval code is strict code with a Use Strict Directive at the beginning of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-12-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-12-s.js index 952f8c8f44..f4f6bfa508 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-12-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-12-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-12-s.js * @description Strict Mode - Eval code is strict eval code with a Use Strict Directive in the middle of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-13-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-13-s.js index 5d3572c1da..afb2cf1e24 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-13-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-13-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-13-s.js * @description Strict Mode - Eval code is strict eval code with a Use Strict Directive at the end of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-14-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-14-s.js index a85c957f8f..a70e9c591f 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-14-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-14-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-14-s.js * @description Strict Mode - The call to eval function is contained in a Strict Mode block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-15-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-15-s.js index 8219d729dc..f9294549fd 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-15-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-15-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-15-s.js * @description Strict Mode - Function code that is part of a FunctionDeclaration is strict function code if FunctionDeclaration is contained in use strict - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-16-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-16-s.js index 3f5f092d06..b40b62bfef 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-16-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-16-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-16-s.js * @description Strict Mode - Function code that is part of a FunctionExpression is strict function code if FunctionExpression is contained in use strict - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-17-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-17-s.js index cb00a680e3..e33b87bda4 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-17-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-17-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-17-s.js * @description Strict Mode - Function code that is part of a Accessor PropertyAssignment is in Strict Mode if Accessor PropertyAssignment is contained in use strict(getter) - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-18-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-18-s.js index 11485f9cdd..4c85ac6661 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-18-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-18-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-18-s.js * @description Strict Mode - Function code that is part of a Accessor PropertyAssignment is in Strict Mode if Accessor PropertyAssignment is contained in use strict(setter) - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-19-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-19-s.js index 45fc43db59..1f62e5e520 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-19-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-19-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-19-s.js * @description Strict Mode - Function code of a FunctionDeclaration contains Use Strict Directive which appears at the start of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-2-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-2-s.js index 9197825aa9..d149faf9e3 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-2-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-2-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-2-s.js * @description Strict Mode - Use Strict Directive Prologue is ''use strict'' which lost the last character ';' - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-20-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-20-s.js index cc5177982e..aa4a7ec40d 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-20-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-20-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-20-s.js * @description Strict Mode - Function code of a FunctionDeclaration contains Use Strict Directive which appears in the middle of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-21-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-21-s.js index 3514f36d66..73c1a935a7 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-21-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-21-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-21-s.js * @description Strict Mode - Function code of a FunctionDeclaration contains Use Strict Directive which appears at the end of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-22-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-22-s.js index 5e35791b90..24e1fad17f 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-22-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-22-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-22-s.js * @description Strict Mode - Function code of a FunctionExpression contains Use Strict Directive which appears at the start of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-23-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-23-s.js index d22ceb0220..1186992488 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-23-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-23-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-23-s.js * @description Strict Mode - Function code of a FunctionExpression contains Use Strict Directive which appears in the middle of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-24-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-24-s.js index c88fb12a4e..02c1c1fcd5 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-24-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-24-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-24-s.js * @description Strict Mode - Function code of a FunctionExpression contains Use Strict Directive which appears at the end of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-25-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-25-s.js index 517bcd4d7c..93a279b4cc 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-25-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-25-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-25-s.js * @description Strict Mode - Function code of Accessor PropertyAssignment contains Use Strict Directive which appears at the start of the block(getter) - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-26-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-26-s.js index ea8e190212..25f3bf22c9 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-26-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-26-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-26-s.js * @description Strict Mode - Function code of Accessor PropertyAssignment contains Use Strict Directive which appears at the start of the block(setter) - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-27-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-27-s.js index 1c166c0ba7..8535ba2d52 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-27-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-27-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-27-s.js * @description Strict Mode - Function code of Accessor PropertyAssignment contains Use Strict Directive which appears in the middle of the block(getter) - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-28-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-28-s.js index 939d1392f4..d53e7d3f0d 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-28-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-28-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,14 +21,14 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-28-s.js * @description Strict Mode - Function code of Accessor PropertyAssignment contains Use Strict Directive which appears at the end of the block(setter) - * @onlyStrict + * @noStrict */ function testcase() { var obj = {}; var data; - + Object.defineProperty(obj, "accProperty", { set: function (value) { var _10_1_1_28_s = {a:1, a:2}; diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-29-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-29-s.js index 972daa87f0..5074549812 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-29-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-29-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-29-s.js * @description Strict Mode - The built-in Function constructor is contained in use strict code - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-2gs.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-2gs.js index ee95233dfa..8a60e08fca 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-2gs.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-2gs.js @@ -3,7 +3,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-2gs.js * @description Strict Mode - Use Strict Directive Prologue is ''use strict'' which lost the last character ';' - * @onlyStrict + * @noStrict * @negative ^((?!NotEarlyError).)*$ */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-3-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-3-s.js index bca519b2a0..a6d1fb7013 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-3-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-3-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-3-s.js * @description Strict Mode - Use Strict Directive Prologue is '' use strict';' which the first character is space - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-30-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-30-s.js index bea06ddb5f..a208030797 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-30-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-30-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-30-s.js * @description Strict Mode - Function code of built-in Function constructor contains Use Strict Directive which appears at the start of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-31-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-31-s.js index d1a054fb80..6e21b47f26 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-31-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-31-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-31-s.js * @description Strict Mode - Function code of built-in Function constructor contains Use Strict Directive which appears in the middle of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-32-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-32-s.js index 2a4f8723c7..a5dead958a 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-32-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-32-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-32-s.js * @description Strict Mode - Function code of built-in Function constructor contains Use Strict Directive which appears at the end of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-4-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-4-s.js index 6a26383006..16ba0387ce 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-4-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-4-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-4-s.js * @description Strict Mode - Use Strict Directive Prologue is ''use strict ';' which the last character is space - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-5-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-5-s.js index 325fd81499..974c86899b 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-5-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-5-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-5-s.js * @description Strict Mode - Use Strict Directive Prologue is ''use strict';' which appears at the beginning of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-5gs.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-5gs.js index 61b6e7233d..00436b5a5f 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-5gs.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-5gs.js @@ -3,7 +3,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-5gs.js * @description Strict Mode - Use Strict Directive Prologue is ''use strict';' which appears at the start of the code - * @onlyStrict + * @noStrict * @negative ^((?!NotEarlyError).)*$ */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-6-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-6-s.js index b065cf2b59..cb0ead7697 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-6-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-6-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-6-s.js * @description Strict Mode - Use Strict Directive Prologue is ''use strict';' which appears in the middle of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-7-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-7-s.js index 92ac34ddff..ea5ce1945c 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-7-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-7-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-7-s.js * @description Strict Mode - Use Strict Directive Prologue is ''use strict';' which appears at the end of the block - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-8-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-8-s.js index 058a7a1ca7..c3b0e23871 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-8-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-8-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-8-s.js * @description Strict Mode - Use Strict Directive Prologue is ''use strict';' which appears twice in the directive prologue - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-8gs.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-8gs.js index 67604e84db..d425806340 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-8gs.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-8gs.js @@ -3,7 +3,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-8gs.js * @description Strict Mode - Use Strict Directive Prologue is ''use strict';' which appears twice in the code - * @onlyStrict + * @noStrict * @negative ^((?!NotEarlyError).)*$ */ diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-9-s.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-9-s.js index 94a90a8c17..1205050105 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-9-s.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-9-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.1/10.1.1/10.1.1-9-s.js * @description Strict Mode - Use Strict Directive Prologue is ''Use strict';' in which the first character is uppercase - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter10/10.4/10.4.3/10.4.3-1-1-s.js b/test/suite/chapter10/10.4/10.4.3/10.4.3-1-1-s.js index 0b1e234756..1a93e7bdb4 100644 --- a/test/suite/chapter10/10.4/10.4.3/10.4.3-1-1-s.js +++ b/test/suite/chapter10/10.4/10.4.3/10.4.3-1-1-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.4/10.4.3/10.4.3-1-1-s.js * @description this is not coerced to an object in strict mode (Number) - * @onlyStrict + * @noStrict */ @@ -31,7 +31,7 @@ function testcase() { { 'use strict'; return typeof(this); - } + } function bar() { diff --git a/test/suite/chapter10/10.4/10.4.3/10.4.3-1-2-s.js b/test/suite/chapter10/10.4/10.4.3/10.4.3-1-2-s.js index dadc6da52f..b0b487de3b 100644 --- a/test/suite/chapter10/10.4/10.4.3/10.4.3-1-2-s.js +++ b/test/suite/chapter10/10.4/10.4.3/10.4.3-1-2-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.4/10.4.3/10.4.3-1-2-s.js * @description this is not coerced to an object in strict mode (string) - * @onlyStrict + * @noStrict */ @@ -31,7 +31,7 @@ function testcase() { { 'use strict'; return typeof(this); - } + } function bar() { diff --git a/test/suite/chapter10/10.4/10.4.3/10.4.3-1-3-s.js b/test/suite/chapter10/10.4/10.4.3/10.4.3-1-3-s.js index f48a4134b1..0a4d600051 100644 --- a/test/suite/chapter10/10.4/10.4.3/10.4.3-1-3-s.js +++ b/test/suite/chapter10/10.4/10.4.3/10.4.3-1-3-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.4/10.4.3/10.4.3-1-3-s.js * @description this is not coerced to an object in strict mode (undefined) - * @onlyStrict + * @noStrict */ @@ -31,7 +31,7 @@ function testcase() { { 'use strict'; return typeof(this); - } + } function bar() { diff --git a/test/suite/chapter10/10.4/10.4.3/10.4.3-1-4-s.js b/test/suite/chapter10/10.4/10.4.3/10.4.3-1-4-s.js index fec54756eb..60f3b34ae2 100644 --- a/test/suite/chapter10/10.4/10.4.3/10.4.3-1-4-s.js +++ b/test/suite/chapter10/10.4/10.4.3/10.4.3-1-4-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter10/10.4/10.4.3/10.4.3-1-4-s.js * @description this is not coerced to an object in strict mode (boolean) - * @onlyStrict + * @noStrict */ @@ -31,7 +31,7 @@ function testcase() { { 'use strict'; return typeof(this); - } + } function bar() { diff --git a/test/suite/chapter11/11.13/11.13.1/11.13.1-4-27-s.js b/test/suite/chapter11/11.13/11.13.1/11.13.1-4-27-s.js index c3250f15d7..0c6d7c3234 100644 --- a/test/suite/chapter11/11.13/11.13.1/11.13.1-4-27-s.js +++ b/test/suite/chapter11/11.13/11.13.1/11.13.1-4-27-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,6 @@ /** * @path chapter11/11.13/11.13.1/11.13.1-4-27-s.js * @description simple assignment throws TypeError if LeftHandSide is a readonly property in strict mode (Global.undefined) - * @onlyStrict */ diff --git a/test/suite/chapter12/12.10/12.10.1/12.10.1-13-s.js b/test/suite/chapter12/12.10/12.10.1/12.10.1-13-s.js index f4603211ea..2a8272b586 100644 --- a/test/suite/chapter12/12.10/12.10.1/12.10.1-13-s.js +++ b/test/suite/chapter12/12.10/12.10.1/12.10.1-13-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter12/12.10/12.10.1/12.10.1-13-s.js * @description Strict Mode - SyntaxError isn't thrown when WithStatement body is in strict mode code - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter14/14.1/14.1-1-s.js b/test/suite/chapter14/14.1/14.1-1-s.js index 8f8b1a422b..7a2b544962 100644 --- a/test/suite/chapter14/14.1/14.1-1-s.js +++ b/test/suite/chapter14/14.1/14.1-1-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter14/14.1/14.1-1-s.js * @description 'use strict' directive - correct usage - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter14/14.1/14.1-10-s.js b/test/suite/chapter14/14.1/14.1-10-s.js index dbb85d87e0..079cfbc11c 100644 --- a/test/suite/chapter14/14.1/14.1-10-s.js +++ b/test/suite/chapter14/14.1/14.1-10-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -20,8 +20,8 @@ /** * @path chapter14/14.1/14.1-10-s.js - * @description other directives - may follow 'use strict' directive - * @onlyStrict + * @description other directives - may follow 'use strict' directive + * @noStrict */ diff --git a/test/suite/chapter14/14.1/14.1-11-s.js b/test/suite/chapter14/14.1/14.1-11-s.js index 4436a1367d..ed67478a3b 100644 --- a/test/suite/chapter14/14.1/14.1-11-s.js +++ b/test/suite/chapter14/14.1/14.1-11-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -20,8 +20,8 @@ /** * @path chapter14/14.1/14.1-11-s.js - * @description comments may preceed 'use strict' directive - * @onlyStrict + * @description comments may preceed 'use strict' directive + * @noStrict */ @@ -33,7 +33,7 @@ function testcase() { /* comment */ "use strict"; return(this === undefined); - + } return foo.call(undefined); diff --git a/test/suite/chapter14/14.1/14.1-12-s.js b/test/suite/chapter14/14.1/14.1-12-s.js index b01585bfe9..13819be5ce 100644 --- a/test/suite/chapter14/14.1/14.1-12-s.js +++ b/test/suite/chapter14/14.1/14.1-12-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -20,8 +20,8 @@ /** * @path chapter14/14.1/14.1-12-s.js - * @description comments may follow 'use strict' directive - * @onlyStrict + * @description comments may follow 'use strict' directive + * @noStrict */ @@ -30,7 +30,7 @@ function testcase() { function foo() { "use strict"; /* comment */ // comment - + return (this === undefined); } diff --git a/test/suite/chapter14/14.1/14.1-13-s.js b/test/suite/chapter14/14.1/14.1-13-s.js index 7ca19cd071..7591c895c3 100644 --- a/test/suite/chapter14/14.1/14.1-13-s.js +++ b/test/suite/chapter14/14.1/14.1-13-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -20,8 +20,8 @@ /** * @path chapter14/14.1/14.1-13-s.js - * @description semicolon insertion works for'use strict' directive - * @onlyStrict + * @description semicolon insertion works for'use strict' directive + * @noStrict */ @@ -29,7 +29,7 @@ function testcase() { function foo() { - "use strict" + "use strict" return (this === undefined); } diff --git a/test/suite/chapter14/14.1/14.1-14-s.js b/test/suite/chapter14/14.1/14.1-14-s.js index b1ff7ebd0c..78de2d321f 100644 --- a/test/suite/chapter14/14.1/14.1-14-s.js +++ b/test/suite/chapter14/14.1/14.1-14-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -20,8 +20,8 @@ /** * @path chapter14/14.1/14.1-14-s.js - * @description semicolon insertion may come before 'use strict' directive - * @onlyStrict + * @description semicolon insertion may come before 'use strict' directive + * @noStrict */ @@ -30,7 +30,7 @@ function testcase() { function foo() { "another directive" - "use strict" ; + "use strict" ; return (this === undefined); } diff --git a/test/suite/chapter14/14.1/14.1-15-s.js b/test/suite/chapter14/14.1/14.1-15-s.js index 5c2b52ea2b..baba675ff0 100644 --- a/test/suite/chapter14/14.1/14.1-15-s.js +++ b/test/suite/chapter14/14.1/14.1-15-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -20,8 +20,8 @@ /** * @path chapter14/14.1/14.1-15-s.js - * @description blank lines may come before 'use strict' directive - * @onlyStrict + * @description blank lines may come before 'use strict' directive + * @noStrict */ @@ -35,7 +35,7 @@ function testcase() { - "use strict" ; + "use strict" ; return (this === undefined); } diff --git a/test/suite/chapter14/14.1/14.1-16-s.js b/test/suite/chapter14/14.1/14.1-16-s.js index 746f4abbfa..df908fa8f0 100644 --- a/test/suite/chapter14/14.1/14.1-16-s.js +++ b/test/suite/chapter14/14.1/14.1-16-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter14/14.1/14.1-16-s.js * @description 'use strict' directive - not recognized if it follow an empty statement - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter14/14.1/14.1-17-s.js b/test/suite/chapter14/14.1/14.1-17-s.js index 931f2cd4c7..f802f27e9c 100644 --- a/test/suite/chapter14/14.1/14.1-17-s.js +++ b/test/suite/chapter14/14.1/14.1-17-s.js @@ -1,22 +1,14 @@ - - -/** - * @path chapter14/14.1/14.1-17-s.js - * @description 'use strict' directive - not recognized if it follow some other statment empty statement - * @onlyStrict - */ - -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -25,6 +17,13 @@ /// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, /// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF /// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +/** + * @path chapter14/14.1/14.1-17-s.js + * @description 'use strict' directive - not recognized if it follow some other statment empty statement + * @noStrict + */ + function testcase() { function foo() diff --git a/test/suite/chapter14/14.1/14.1-2-s.js b/test/suite/chapter14/14.1/14.1-2-s.js index 85e14e33bb..e63a683162 100644 --- a/test/suite/chapter14/14.1/14.1-2-s.js +++ b/test/suite/chapter14/14.1/14.1-2-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter14/14.1/14.1-2-s.js * @description "use strict" directive - correct usage double quotes - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter14/14.1/14.1-3-s.js b/test/suite/chapter14/14.1/14.1-3-s.js index ccf8ab1045..2f41335ae2 100644 --- a/test/suite/chapter14/14.1/14.1-3-s.js +++ b/test/suite/chapter14/14.1/14.1-3-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter14/14.1/14.1-3-s.js * @description 'use strict' directive - not recognized if it contains extra whitespace - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter14/14.1/14.1-4-s.js b/test/suite/chapter14/14.1/14.1-4-s.js index fb9a1881d6..38d30214f8 100644 --- a/test/suite/chapter14/14.1/14.1-4-s.js +++ b/test/suite/chapter14/14.1/14.1-4-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter14/14.1/14.1-4-s.js * @description 'use strict' directive - not recognized if contains Line Continuation - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter14/14.1/14.1-5-s.js b/test/suite/chapter14/14.1/14.1-5-s.js index 3fa1bbe33a..f3acdd36cc 100644 --- a/test/suite/chapter14/14.1/14.1-5-s.js +++ b/test/suite/chapter14/14.1/14.1-5-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter14/14.1/14.1-5-s.js * @description 'use strict' directive - not recognized if contains a EscapeSequence - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter14/14.1/14.1-6-s.js b/test/suite/chapter14/14.1/14.1-6-s.js index 9ec026e305..6d38ec7254 100644 --- a/test/suite/chapter14/14.1/14.1-6-s.js +++ b/test/suite/chapter14/14.1/14.1-6-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter14/14.1/14.1-6-s.js * @description 'use strict' directive - not recognized if contains a <TAB> instead of a space - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter14/14.1/14.1-7-s.js b/test/suite/chapter14/14.1/14.1-7-s.js index 251850d553..6af66cbd44 100644 --- a/test/suite/chapter14/14.1/14.1-7-s.js +++ b/test/suite/chapter14/14.1/14.1-7-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter14/14.1/14.1-7-s.js * @description 'use strict' directive - not recognized if upper case - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter14/14.1/14.1-8-s.js b/test/suite/chapter14/14.1/14.1-8-s.js index d2808b9ad4..c6193a2394 100644 --- a/test/suite/chapter14/14.1/14.1-8-s.js +++ b/test/suite/chapter14/14.1/14.1-8-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter14/14.1/14.1-8-s.js * @description 'use strict' directive - may follow other directives - * @onlyStrict + * @noStrict */ diff --git a/test/suite/chapter14/14.1/14.1-9-s.js b/test/suite/chapter14/14.1/14.1-9-s.js index df1e578b12..ff56005cee 100644 --- a/test/suite/chapter14/14.1/14.1-9-s.js +++ b/test/suite/chapter14/14.1/14.1-9-s.js @@ -1,14 +1,14 @@ -/// Copyright (c) 2009 Microsoft Corporation -/// +/// Copyright (c) 2009 Microsoft Corporation +/// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided -/// that the following conditions are met: +/// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and -/// the following disclaimer. -/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -/// the following disclaimer in the documentation and/or other materials provided with the distribution. +/// the following disclaimer. +/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and +/// the following disclaimer in the documentation and/or other materials provided with the distribution. /// * Neither the name of Microsoft nor the names of its contributors may be used to /// endorse or promote products derived from this software without specific prior written permission. -/// +/// /// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR /// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS /// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE @@ -21,7 +21,7 @@ /** * @path chapter14/14.1/14.1-9-s.js * @description 'use strict' directive - may occur multiple times - * @onlyStrict + * @noStrict */ -- GitLab