-
barraclough@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=68740 Reviewed by Oliver Hunt. Function-info caching does not preserve all state that it should. * parser/JSParser.cpp: (JSC::JSParser::Scope::saveFunctionInfo): (JSC::JSParser::Scope::restoreFunctionInfo): (JSC::JSParser::parseFunctionInfo): * parser/SourceProviderCacheItem.h: LayoutTests: gh@apple.com> Strict mode does not work in non-trivial nested functions. https://bugs.webkit.org/show_bug.cgi?id=68740 Reviewed by Oliver Hunt. Function-info caching does not preserve all state that it should. * fast/js/nested-functions-expected.txt: Added. * fast/js/nested-functions.html: Added. * fast/js/script-tests/nested-functions.js: Added. (runTests.test1): (runTests.test2): (runTests.test3): (runTests): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1440c07a