[Bug 16457] IDL exceptions as platform objects

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

--- Comment #1 from Marcos Caceres <w3c@marcosc.com> 2012-03-20 19:19:58 UTC ---
FYI... this is my hacky checker for platform objects:

//check platform object
if(ECMAScript.Type(O) === "Function"){
   var name = O.name; 
   var nativeString = "function " + name + "() { [native code] }";  
   if(O.toString() === nativeString){
       classType = "platform object"; 
        return classType; 
   }
 }

-- 
Configure bugmail: https://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 Tuesday, 20 March 2012 19:20:02 UTC