<?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>26866</bug_id>
          
          <creation_ts>2014-09-19 19:57:26 +0000</creation_ts>
          <short_desc>Add &quot;required&quot; to dictionary members; drop</short_desc>
          <delta_ts>2014-09-19 19:59:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Web Cryptography</product>
          <component>Web Cryptography API Document</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>26674</dup_id>
          
          <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="Richard Barnes">rlb</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          <cc>public-webcrypto</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>111838</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Barnes">rlb</who>
    <bug_when>2014-09-19 19:57:26 +0000</bug_when>
    <thetext>Currently, the various dictionaries used by WebCrypto mark members as nullable (&quot;?&quot;) when they are not required, and required members are unadorned.  This is backwards, since dictionary members are optional by default.

Instead, the dictionaries need to mark required elements with the new WebIDL &quot;required&quot; keyword, and optional elements should be unadorned.  This will enable the WebIDL layer to reject dictionaries with missing required members, and non-required members will have to be considered nullable.

http://dev.w3.org/2006/webapi/WebIDL/#idl-dictionaries</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111840</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Barnes">rlb</who>
    <bug_when>2014-09-19 19:59:51 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 26674 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>