[Bug 24291] New: Add a Promise type to WebIDL, and make it not distinguishable from anything

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

            Bug ID: 24291
           Summary: Add a Promise type to WebIDL, and make it not
                    distinguishable from anything
           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: mike@w3.org, public-script-coord@w3.org

We want to do this anyway to handle Promise return values.  Making it not
distinguishable will prevent unwanted unioning and overloading.

Conversion to the type should use the default Promise.cast, not normal
interface type detection, so it'll work with thenables and the like.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 14 January 2014 16:25:29 UTC