This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22821 - Improperly formatted IDL for DataTransferItem callback
Summary: Improperly formatted IDL for DataTransferItem callback
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: CR
Depends on:
Blocks:
 
Reported: 2013-07-28 00:02 UTC by Joel Verhagen
Modified: 2013-09-03 12:59 UTC (History)
4 users (show)

See Also:


Attachments

Description Joel Verhagen 2013-07-28 00:02:00 UTC
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)
Comment 1 Robin Berjon 2013-09-03 12:58:10 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: none
Rationale: The change was already made.