[Bug 22821] New: Improperly formatted IDL for DataTransferItem callback

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22821

            Bug ID: 22821
           Summary: Improperly formatted IDL for DataTransferItem callback
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: joel.verhagen@gmail.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

See the following URL for what I am talking about:
http://www.w3.org/html/wg/drafts/html/master/editing.html#the-datatransferitem-interface

The callback "FunctionStringCallback" is missing an equals "=" sign. Right now,
the IDL is:

  interface DataTransferItem {
    readonly attribute DOMString kind;
    readonly attribute DOMString type;
    void getAsString(FunctionStringCallback? _callback);
    File? getAsFile();
  };

  callback FunctionStringCallback void (DOMString data);

The last line should be changed to:

  callback FunctionStringCallback = void (DOMString data);

(very much like ImageBitmapCallback)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Sunday, 28 July 2013 00:02:01 UTC