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

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