[Webkit-unassigned] [Bug 136635] New: requestAnimationFrame invokes with global context

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 8 10:29:03 PDT 2014


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

           Summary: requestAnimationFrame invokes with global context
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andrea.giammarchi at gmail.com


Steps to reproduce the problem:
1. write the following in a console 
2. requestAnimationFrame(function(){'use strict';alert(this)});
3. see that `window` is alerted instead of `undefined`

What is the expected behavior?
function should be invoked with undefined context to fullfill both sloppy and strict expectations

What went wrong?
suddenly, the wild global context appears ...

Did this work before? No 

Chrome version: 39.0.2149.0  Channel: canary
OS Version: OS X 10.8.5
Flash Version: Shockwave Flash 15.0 r0

every single Chrome I could test with requestAnimationFrame out of its prefixed version.

-- 
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