[Webkit-unassigned] [Bug 27494] New: Crash/Unexpected behavior if call ScriptSourceCode::source on a CachedScript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 21 02:15:47 PDT 2009


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

           Summary: Crash/Unexpected behavior if call
                    ScriptSourceCode::source on a CachedScript
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dbates at berkeley.edu
                CC: sam at webkit.org, abarth at webkit.org


ScriptSourceCode::source assumes the provider for the source code of a script
is of type StringSourceProvider. However, if the source code is from a cached
script, then the provider is CachedScriptSourceProvider. Hence, unexpected
behavior and/or a crash can follow if you call ScriptSourceCode::source on a
cached script.

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