-
http://trac.webkit.org/changeset/127698ggaren@apple.com authored
fast/dom/HTMLScriptElement/script-reexecution-pretty-diff.html, which is to make sure that function declarations don't put their names in scope. Reviewed by Gavin Barraclough. Named functions should not allocate scope objects for their names https://bugs.webkit.org/show_bug.cgi?id=95659 Reviewed by Oliver Hunt. LayoutTests: Rolled back in <http://trac.webkit.org/changeset/127698> with a fix for fast/dom/HTMLScriptElement/script-reexecution-pretty-diff.html. Added a more explicit test for the feature I broke in fast/dom/HTMLScriptElement/script-reexecution-pretty-diff.html. Reviewed by Gavin Barraclough. Named functions should not allocate scope objects for their names https://bugs.webkit.org/show_bug.cgi?id=95659 Reviewed by Oliver Hunt. * fast/dom/HTMLScriptElement/script-reexecution.html: * fast/js/function-name-is-in-scope-expected.txt: Added. * fast/js/function-name-is-in-scope.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f820008c