-
oliver@apple.com authored
Reviewed by Stephanie Lewis. [jsfunfuzz] We should be clearing the lexers temporary character buffers when switching to strict mode https://bugs.webkit.org/show_bug.cgi?id=52501 Add checks for correct behaviour when the strict mode token is immediately followed by a value that needs a temporary buffer in the lexer. * fast/js/basic-strict-mode-expected.txt: * fast/js/script-tests/basic-strict-mode.js: 2011-01-14 Oliver Hunt <oliver@apple.com> Reviewed by Stephanie Lewis. [jsfunfuzz] We should be clearing the lexers temporary character buffers when switching to strict mode https://bugs.webkit.org/show_bug.cgi?id=52501 Clear the temporary character buffers used for reading escaped characters and numbers. * parser/Lexer.h: (JSC::Lexer::setOffset): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
03954a3f