[Webkit-unassigned] [Bug 27226] Possibly faulty handling of function statements enclosed in other statements (i.e. block, if, etc). JavaScriptCore test ecma_3/FunExpr/fe-001.js failed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 11 10:18:39 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=27226





--- Comment #5 from Oliver Hunt <oliver at apple.com>  2012-02-11 10:18:38 PST ---
The other scenario that exists:

if (somethingThatIsTrueInAllCurrentBrowsers()) // Filter out IE using something that IE has now implemented
    function foo() { somethingThatWorksInMozillaAndWebKit(); }
else
    function foo() { somethingThatWorksInIEAndWebKit(); }

Now if everyone standardizes on the moz behaviour it breaks IE but nothing else, if everyone standardises on the ie/webkit behaviour it breaks moz but nothing else.  Weeeee!!!!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list