[Bug 25051] New: "The return type of the operation is given by th..."

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

            Bug ID: 25051
           Summary: "The return type of the operation is given by th..."
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: bzbarsky@mit.edu
        QA Contact: public-webapps-bugzilla@w3.org
                CC: domenic@domenicdenicola.com, mike@w3.org,
                    public-script-coord@w3.org

http://heycam.github.io/webidl/#idl-operations

> The return type of the operation is given by the type (matching ReturnType)
> that appears before the operation’s optional identifier.

What does that mean in the case of overloads?

In particular, what should happen with operations which have some overloads
returning a Promise and some not?

I propose we disallow having some overloads return Promise while others don't.

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

Received on Friday, 14 March 2014 17:13:40 UTC