W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2010

[Bug 11185] New: Switch the order of checking for Function-ness and a property for [Callback] objects

From: <bugzilla@jessica.w3.org>
Date: Sun, 31 Oct 2010 22:27:20 +0000
To: public-script-coord@w3.org
Message-ID: <bug-11185-3890@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11185

           Summary: Switch the order of checking for Function-ness and a
                    property for [Callback] objects
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: cam@mcc.id.au
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


[Callback]
interface A {
  void f();
};

interface B {
  void g(in A a);
};

---

function h() { alert('1') }
h.f = function() { alert('2') }
b.g(h)

Make this alert "1" instead of "2".  (And do some testing around this.)

http://www.w3.org/mid/9768D477C67135458BF978A45BCF9B381FDA5C@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com

-- 
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 Sunday, 31 October 2010 22:27:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:03 UTC