<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20626</bug_id>
          
          <creation_ts>2013-01-10 00:08:14 +0000</creation_ts>
          <short_desc>Need a  better way to specify non-primitive (or uncommon) return types</short_desc>
          <delta_ts>2013-01-10 00:08:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>webplatform.org</product>
          <component>default</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Rowe">scottrowe</reporter>
          <assigned_to name="public-webplatform-bugs list">public-webplatform-bugs</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>schepers</cc>
          
          <qa_contact name="public-webplatform-bugs list">public-webplatform-bugs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81157</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Rowe">scottrowe</who>
    <bug_when>2013-01-10 00:08:14 +0000</bug_when>
    <thetext>In the Basic property configuration form, for the Return value data type field you specify the data type of the object by selecting it from the drop-down menu. However, if the type is not in the list, you must edit the Property:Javascript_data_type and add the data type to the list.

The problems with this are, 1 - keeping the list in some order that makes sense (alphabetical), and 2 - dealing with a potentially endless list of types. 

We need to come up with a better way of specifying the type if it is not one of the primitive types. Perhaps an additional text input field under the drop-down where you can specify the type if you choose &quot;Other&quot; from the drop-down. The &quot;Other&quot; type would not be persistent, but defined for the page.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>