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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>126023</bug_id>
          
          <creation_ts>2013-12-19 15:45:47 -0800</creation_ts>
          <short_desc>WebCrypto APIs should never throw</short_desc>
          <delta_ts>2016-12-01 14:01:08 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>160883</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>jiewen_tan</cc>
    
    <cc>rob</cc>
    
    <cc>sam</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>961593</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-12-19 15:45:47 -0800</bug_when>
    <thetext>This is not quite finalized, but it appears that all errors will be reported as promise rejections of type DOMException (this includes WebIDL exceptions that will be converted into rejections).

See &lt;https://www.w3.org/Bugs/Public/show_bug.cgi?id=21740&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1220286</commentid>
    <comment_count>1</comment_count>
    <who name="Jiewen Tan">jiewen_tan</who>
    <bug_when>2016-08-15 18:34:50 -0700</bug_when>
    <thetext>It looks like that in the importKey method, there is an exception:
https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-importKey

Will send an email to the working group to confirm the difference.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1220287</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-08-15 18:35:27 -0700</bug_when>
    <thetext>&lt;rdar://problem/27858554&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1230126</commentid>
    <comment_count>3</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2016-09-15 12:15:09 -0700</bug_when>
    <thetext>bug 162010 is probably a duplicate of this one, or at least partially.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255453</commentid>
    <comment_count>4</comment_count>
    <who name="Jiewen Tan">jiewen_tan</who>
    <bug_when>2016-12-01 14:01:08 -0800</bug_when>
    <thetext>This bug should be resolved by the following revisions:
&lt;http://trac.webkit.org/changeset/207809&gt;,
&lt;http://trac.webkit.org/changeset/208548&gt;,
&lt;http://trac.webkit.org/changeset/208737&gt;,
&lt;http://trac.webkit.org/changeset/208891&gt;,
&lt;http://trac.webkit.org/changeset/208918&gt;,
&lt;http://trac.webkit.org/changeset/209092&gt;,
&lt;http://trac.webkit.org/changeset/209150&gt;,
&lt;http://trac.webkit.org/changeset/209164&gt;,
&lt;http://trac.webkit.org/changeset/209166&gt;,
&lt;http://trac.webkit.org/changeset/209191&gt;,
&lt;http://trac.webkit.org/changeset/209155&gt;,
&lt;http://trac.webkit.org/changeset/209200&gt;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>