[Bug 12320] New: ECMAScript binding forbids using ECMAScript to implement many interfaces.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12320

           Summary: ECMAScript binding forbids using ECMAScript to
                    implement many interfaces.
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: allen@wirfs-brock.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


Section 4.6 http://dev.w3.org/2006/webapi/WebIDL/#native-objects says:

"Some interfaces can be implemented in script by an ECMAScript native object.
Only interfaces with the following characteristics can have native object
implementations: "

Taken at face value this precludes using ECMAScript as a DOM implementation
language.

This restriction probably really means "this language binding is incomplete
because it doesn't not define everything that is needed to fully implement
WebIDL interface specifications using ECMAScript."

This may be adequate to describe current browser implementations, but it won't
be adequate in the future as it is likely that some browsers will start to use
ECMAScript as the implementation langugage for major parts of the DOM and other
web APIs.

The restriction at the very least needs to be clarified and ideally removed.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 16 March 2011 19:12:35 UTC