[Webkit-unassigned] [Bug 91406] New: MutationCallback should be a WebIDL 'callback', not a [Callback] interface

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 16 11:14:09 PDT 2012


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

           Summary: MutationCallback should be a WebIDL 'callback', not a
                    [Callback] interface
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adamk at chromium.org
                CC: sam at webkit.org, ojan at chromium.org,
                    rafaelw at chromium.org, rniwa at webkit.org,
                    haraken at chromium.org
            Blocks: 68729


Per the DOM4 spec, http://www.w3.org/TR/dom/#mutationcallback, MutationCallback should be a 'callback'. The main differences between a callback and a [Callback] interface: It must be a function; an object with a 'handleEvent' property that's a function is not acceptable (and should throw a TypeError). See http://www.w3.org/TR/WebIDL/#es-callback-function.

This form of callback is not currently supported by CodeGenerator.pm, but it seems like it would be a good thing to add.

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