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 db36a3962b88add2c620c82fe9f011e24e909f19..9fc2af1ed0f84cbfeea4d26d7dfe1d8f6c6e89ae 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 15ea090b177cf0e861956248720180b367c33296..3839013757354588bb39b2ca2ed5504e5df5892f 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 beb15986c4a23d3387a9cd823f5c3faa01447b8c..c30cd1d1bea430782682b4f0dc890963ea273b60 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 952f8c8f443e4410cace2d1795ea8583d5bdaa4a..f4f6bfa508e0e24b9cd17f6fdec96962c797c83c 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 5d3572c1dac2289de2989e592c78bbaa0d346e0b..afb2cf1e24481a789777d03edc25a8c6ccc37317 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 a85c957f8f820b6e3c0c4df0138fe647d1a43841..a70e9c591f048e91d56323e229e3e58ea9287776 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 8219d729dc61edba591e73326a4b7acada034586..f9294549fdc3cde26c415e53aad10175185d95c8 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 3f5f092d064351f300bec76fea19c301d8d607c1..b40b62bfefe7304e03106cf5f522fadb56488f17 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 cb00a680e378bcc43c54e4c0bf4eec2eceb04517..e33b87bda461eb6217f8d313b5445d62efe39ae3 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 11485f9cdd74ed981751b78d9a5ee269319fdd3f..4c85ac666149b3436ad1c66cc5b68024b9670447 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 45fc43db59ba2fd850e884a60ce66b46d2b6ce69..1f62e5e520a288bda681bb5b63289cd699e6d7bd 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 9197825aa9fc7b66c0bf689b1626bed98a738998..d149faf9e31678ee203db3db13c252e84c07fadb 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 cc5177982ee425f9a94cd3f53fadc9cf312bed59..aa4a7ec40da7291b5d58410fc5d9d78f7136b697 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 3514f36d663b1ead4dfb8caff93ba9caff3ddbc1..73c1a935a727d1eac669dbdc9b9848ee302e796f 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 5e35791b900c47a31312b312dec0689fc327bb63..24e1fad17f1d7c64b97d2da6d3db204c000b801f 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 d22ceb02203b0a7abf86ce4a70d849d050d0fc1d..118699248887df13f7a7169f7d77aaab12ad0dc9 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 c88fb12a4e8c11b2788f07663cbcba857cf07c45..02c1c1fcd57e55d41693ba3a7c3dee92b86bc7b1 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 517bcd4d7c3946ee110bd8892643bd896fb0dbe5..93a279b4cc27c6a9368c064dc97bb4b86b1b64ff 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 ea8e1902125a4dd280044213fefed74de15f05bb..25f3bf22c921c6376f32fca6f4b5509155f7af74 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 1c166c0ba7220b2cff25d7df100c371828a075aa..8535ba2d52498b00e68ac9cdfc59879edf3ce7fd 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 939d1392f4559c24a7cca1a7181410ba6e41abc7..d53e7d3f0d79caa0dd0fc1c15b361f64ed7691b7 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 972daa87f075759ce9ee7a7bf7f83b480d52f136..5074549812f59b7cb06e7b4505705d23a8c605f1 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 ee95233dfa8507311ac7578f0f29c57f26c08a6d..8a60e08fca4f42c3727ede9672259ff2b91f8e70 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 bca519b2a0503be749c241f43a674a71270e8b8e..a6d1fb7013df29228cc915faefe17523e04560b1 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 bea06ddb5f146f0187cd736e2ec872d4df1a30c7..a208030797728aaa0be8f629b9ae49bea3351089 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 d1a054fb80ed28a7c94ce77955a04fa6e411403f..6e21b47f262953c3b694afa8094d4957a82d9a86 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 2a4f8723c7a3785fe06f2aa4cf28ac8e10af2b2c..a5dead958ab25aab02bde76111edf631dedc1569 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 6a26383006103fa3898a9e01c4fcb245680500a8..16ba0387ce9894bb9f3f7a557b91e9b8417b3036 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 325fd81499399c61e3dd59599c19c3b995d818e3..974c86899b66ad377b979d8511720f608b0a1720 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 61b6e7233d584b78735b9baacbdd8b730c106db7..00436b5a5f087a8dc1c5c51bed20063b8ba90033 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 b065cf2b59cea40abb488a670e40ac5320010933..cb0ead7697df6ce7b1e2353c7d7eb16fa4ccae12 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 92ac34ddff8c96f631c9ffd3839b6bf897085cc6..ea5ce1945ceca77bd699095a0667829455837168 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 058a7a1ca7af91dfac2420fe51ccced90f9e8b27..c3b0e238717acb45833d6eeec8c1807b181e7ade 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 67604e84dbceae9b0c5876741bfe820443cb64d3..d425806340d25da066a2853c88bcc569884ef97c 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 94a90a8c1721f65ff62bf75060d0864fb9f80213..1205050105bff6b3449cd099ed21fd8bbd7ee6d9 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 0b1e2347563ed4bf831082c2c8b3be6e88dccfec..1a93e7bdb4259c6a4de2241bba3d13ac6e765d9c 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 dadc6da52f63404cd55681846a51c720b297c272..b0b487de3b3d376ffb74a3229196bfa70e0e0b4e 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 f48a4134b12086e274022b3116c0666c13064afa..0a4d60005155eabfb71c882092289a60b6482ee1 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 fec54756eb7d6afc723c0595376b78c18b2b706a..60f3b34ae2ba8fde59263b818e6097546367392f 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 c3250f15d7453bb18423724f739e9afa906c8bf4..0c6d7c3234fc6ec64c6e99ef0305f59d68f427c9 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 f4603211ead6bfcf3e85311398258a4a977b9050..2a8272b5867bc7d311a6421f026cbad03c3ca359 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 8f8b1a422b2842cf6e300bc439831642c1eef365..7a2b544962aacc1899cc567b1a18c1b635b1f518 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 dbb85d87e00fac2163990f93c65ec0173f850d5d..079cfbc11cf05223d54b98a9e31a49390cdeab6f 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 4436a1367d648adf5fc632414d0d45d39b80404d..ed67478a3b36d243732b5c9da04b0018724c4c53 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 b01585bfe99a118ff4ebc97c0750a4e08eabcf03..13819be5cef022492da2ab15d85a107915e1b564 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 7ca19cd0718771e8f700981e9b252f3b46862f4b..7591c895c3a88d3662f5cbe6b999fd77ffb24b39 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 b1ff7ebd0cc7c4ad7d35f03d9038715fb4ebddff..78de2d321ffa9a298cd80ee5d34beece3822c6c8 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 5c2b52ea2b4ea70eebf9b6d9913843ca2ffdb039..baba675ff066ef70a4e17c577d8c49f4fc382469 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 746f4abbfa553dd0c9d64f05b53223370bdc86d1..df908fa8f055957a5abeb52889f46e82ee274112 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 931f2cd4c7471e13f13ba2b7102ec2fab2c103d9..f802f27e9ce48ef8ec5439ed11bd7657a44621cb 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 85e14e33bbd5e95d4157f3306b74f5779f88435b..e63a68316220e23a0954f6c85a0e7ab91c3745fb 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 ccf8ab10453867ab9e3a73f118b6989c97bbf6fe..2f41335ae25e51793a510b196044942c82917b43 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 fb9a1881d61ea29793e9ce6821b89e4f00c3cd79..38d30214f8fd1d61c26c389226e82057c9baf61b 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 3fa1bbe33afb1999d37de0bd0791debc86ff8939..f3acdd36cc658608e3b0cb0c8b7a66206053d8c4 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 9ec026e30585ba4454f94b5f01ee962ea2bc9072..6d38ec7254f3598bff1d7b4b008641f7441d0743 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 251850d553bfcbd087a118610861acea035aff06..6af66cbd4435114e4c13bd0b5089402f744e8292 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 d2808b9ad41fbdcb828f90162f82385ac58cb5e3..c6193a239497fac888b781741f98d4f56ffd5980 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 df1e578b12ca50ae60fd629cf408147411968e7c..ff56005ceed72be936d557ab6fc125c14e84af12 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 */