[Webkit-unassigned] [Bug 80005] New: V8 javascript engine should throw an exception on this case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 29 23:04:34 PST 2012


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

           Summary: V8 javascript engine should throw an exception on this
                    case
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yanbin.zhang at intel.com


Form bug 79096 comment2

There is a fail test cases: new webkitPeerConnection("TURNS NONE",{}) at Philippe’s test result.while it pass on V8 javascript engine environment.
I looked into this failure and think it is a bug for V8. Test case should fail explicitly by throwing an exception, otherwise the codeshould not run correctly in any case. According to the WebIDL spec for “Callback types”(http://dev.w3.org/2006/webapi/WebIDL/#es-callback): If V is not a Function object, then throw a TypeError.

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