Overview.html
author Mark Watson <watsonm@netflix.com>
Wed, 23 Mar 2016 13:26:00 -0700
changeset 23 a370d491bb78
parent 21 af572aeba17f
child 24 f746efb70c24
permissions -rw-r--r--
Remove explicit reference to Editors draft - this is filled in by ReSpec
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
     1
<!DOCTYPE html>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
     2
<html lang="en" dir="ltr" typeof="bibo:Document " prefix="bibo: http://purl.org/ontology/bibo/ w3p: http://www.w3.org/2001/02pd/rec54#">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
     3
<head><meta lang="" property="dc:language" content="en">
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
     4
    <title>WebCrypto Key Discovery</title>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
     5
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
     6
    <style>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
     7
      table {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
     8
        border-collapse: collapse;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
     9
        border-spacing: 0px;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    10
        margin-top: +1em;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    11
        margin-bottom: +1em;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    12
        border-color: black;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    13
        font-family: "Courier New", Inconsolata, "Bitstream Charter";
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    14
        font-size: 90%;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    15
      }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    16
      th {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    17
        background-color:DimGray;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    18
        color:white;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    19
        font-weight: normal;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    20
      }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    21
      .sub-th {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    22
        background-color: Linen;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    23
        font-style: italic;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    24
      }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    25
      .centered {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    26
        text-align: center;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    27
      }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    28
      .first-column {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    29
        background-color: Beige;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    30
        font-weight: bold;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    31
      }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    32
      .excluded-first-column {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    33
        background-color: DarkGray;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    34
        text-decoration: line-through;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    35
      }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    36
    </style>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    37
    
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    38
    <!-- 
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    39
      === NOTA BENE ===
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    40
      For the three scripts below, if your spec resides on dev.w3 you can check them
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    41
      out in the same tree and use relative links so that they'll work offline,
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    42
     -->
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    43
    
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    44
    
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    45
  <style>/*****************************************************************
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    46
 * ReSpec 3 CSS
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    47
 * Robin Berjon - http://berjon.com/
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    48
 *****************************************************************/
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    49
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    50
/* --- INLINES --- */
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    51
em.rfc2119 { 
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    52
    text-transform:     lowercase;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    53
    font-variant:       small-caps;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    54
    font-style:         normal;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    55
    color:              #900;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    56
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    57
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    58
h1 acronym, h2 acronym, h3 acronym, h4 acronym, h5 acronym, h6 acronym, a acronym,
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    59
h1 abbr, h2 abbr, h3 abbr, h4 abbr, h5 abbr, h6 abbr, a abbr {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    60
    border: none;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    61
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    62
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    63
dfn {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    64
    font-weight:    bold;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    65
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    66
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    67
a.internalDFN {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    68
    color:  inherit;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    69
    border-bottom:  1px solid #99c;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    70
    text-decoration:    none;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    71
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    72
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    73
a.externalDFN {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    74
    color:  inherit;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    75
    border-bottom:  1px dotted #ccc;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    76
    text-decoration:    none;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    77
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    78
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    79
a.bibref {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    80
    text-decoration:    none;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    81
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    82
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    83
cite .bibref {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    84
    font-style: normal;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    85
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    86
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    87
code {
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
    88
    color:  #C83500;
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    89
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    90
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    91
/* --- TOC --- */
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    92
.toc a, .tof a {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    93
    text-decoration:    none;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    94
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    95
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    96
a .secno, a .figno {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    97
    color:  #000;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    98
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
    99
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   100
ul.tof, ol.tof {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   101
    list-style: none outside none;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   102
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   103
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   104
.caption {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   105
    margin-top: 0.5em;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   106
    font-style:   italic;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   107
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   108
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   109
/* --- TABLE --- */
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   110
table.simple {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   111
    border-spacing: 0;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   112
    border-collapse:    collapse;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   113
    border-bottom:  3px solid #005a9c;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   114
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   115
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   116
.simple th {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   117
    background: #005a9c;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   118
    color:  #fff;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   119
    padding:    3px 5px;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   120
    text-align: left;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   121
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   122
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   123
.simple th[scope="row"] {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   124
    background: inherit;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   125
    color:  inherit;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   126
    border-top: 1px solid #ddd;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   127
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   128
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   129
.simple td {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   130
    padding:    3px 10px;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   131
    border-top: 1px solid #ddd;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   132
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   133
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   134
.simple tr:nth-child(even) {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   135
    background: #f0f6ff;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   136
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   137
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   138
/* --- DL --- */
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   139
.section dd > p:first-child {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   140
    margin-top: 0;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   141
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   142
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   143
.section dd > p:last-child {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   144
    margin-bottom: 0;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   145
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   146
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   147
.section dd {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   148
    margin-bottom:  1em;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   149
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   150
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   151
.section dl.attrs dd, .section dl.eldef dd {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   152
    margin-bottom:  0;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   153
}
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   154
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   155
@media print {
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   156
    .removeOnSave {
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   157
        display: none;
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   158
    }
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   159
}
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   160
</style><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><style>/* --- EXAMPLES --- */
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   161
div.example-title {
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   162
    min-width: 7.5em;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   163
    color: #b9ab2d;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   164
}
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   165
div.example-title span {
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   166
    text-transform: uppercase;
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   167
}
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   168
aside.example, div.example, div.illegal-example {
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   169
    padding: 0.5em;
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   170
    margin: 1em 0;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   171
    position: relative;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   172
    clear: both;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   173
}
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   174
div.illegal-example { color: red }
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   175
div.illegal-example p { color: black }
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   176
aside.example, div.example {
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   177
    padding: .5em;
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   178
    border-left-width: .5em;
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   179
    border-left-style: solid;
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   180
    border-color: #e0cb52;
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   181
    background: #fcfaee;
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   182
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   183
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   184
aside.example div.example {
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   185
    border-left-width: .1em;
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   186
    border-color: #999;
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   187
    background: #fff;
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   188
}
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   189
aside.example div.example div.example-title {
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   190
    color: #999;
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   191
}
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   192
</style><style>/* --- WEB IDL --- */
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   193
pre.idl {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   194
    border-top: 1px solid #90b8de;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   195
    border-bottom: 1px solid #90b8de;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   196
    padding:    1em;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   197
    line-height:    120%;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   198
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   199
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   200
@media print {
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   201
  pre.idl {
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   202
      white-space: pre-wrap;
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   203
  }
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   204
}
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   205
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   206
pre.idl::before {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   207
    content:    "WebIDL";
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   208
    display:    block;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   209
    width:      150px;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   210
    background: #90b8de;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   211
    color:  #fff;
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   212
    font-family:    sans-serif;
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   213
    padding:    3px;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   214
    font-weight:    bold;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   215
    margin: -1em 0 1em -1em;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   216
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   217
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   218
.idlType {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   219
    color:  #ff4500;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   220
    font-weight:    bold;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   221
    text-decoration:    none;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   222
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   223
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   224
/*.idlModule*/
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   225
/*.idlModuleID*/
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   226
/*.idlInterface*/
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   227
.idlInterfaceID, .idlDictionaryID, .idlCallbackID, .idlEnumID {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   228
    font-weight:    bold;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   229
    color:  #005a9c;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   230
}
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   231
a.idlEnumItem {
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   232
    color:  #000;
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   233
    border-bottom:  1px dotted #ccc;
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   234
    text-decoration: none;
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   235
}
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   236
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   237
.idlSuperclass {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   238
    font-style: italic;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   239
    color:  #005a9c;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   240
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   241
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   242
/*.idlAttribute*/
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   243
.idlAttrType, .idlFieldType, .idlMemberType {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   244
    color:  #005a9c;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   245
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   246
.idlAttrName, .idlFieldName, .idlMemberName {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   247
    color:  #ff4500;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   248
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   249
.idlAttrName a, .idlFieldName a, .idlMemberName a {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   250
    color:  #ff4500;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   251
    border-bottom:  1px dotted #ff4500;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   252
    text-decoration: none;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   253
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   254
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   255
/*.idlMethod*/
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   256
.idlMethType, .idlCallbackType {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   257
    color:  #005a9c;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   258
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   259
.idlMethName {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   260
    color:  #ff4500;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   261
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   262
.idlMethName a {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   263
    color:  #ff4500;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   264
    border-bottom:  1px dotted #ff4500;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   265
    text-decoration: none;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   266
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   267
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   268
/*.idlCtor*/
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   269
.idlCtorName {
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   270
    color:  #ff4500;
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   271
}
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   272
.idlCtorName a {
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   273
    color:  #ff4500;
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   274
    border-bottom:  1px dotted #ff4500;
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   275
    text-decoration: none;
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   276
}
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   277
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   278
/*.idlParam*/
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   279
.idlParamType {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   280
    color:  #005a9c;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   281
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   282
.idlParamName, .idlDefaultValue {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   283
    font-style: italic;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   284
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   285
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   286
.extAttr {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   287
    color:  #666;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   288
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   289
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   290
/*.idlSectionComment*/
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   291
.idlSectionComment {
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   292
    color: gray;
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   293
}
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   294
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   295
/*.idlIterable*/
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   296
.idlIterableKeyType, .idlIterableValueType {
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   297
    color:  #005a9c;
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   298
}
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   299
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   300
/*.idlMaplike*/
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   301
.idlMaplikeKeyType, .idlMaplikeValueType {
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   302
    color:  #005a9c;
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   303
}
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   304
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   305
/*.idlConst*/
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   306
.idlConstType {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   307
    color:  #005a9c;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   308
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   309
.idlConstName {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   310
    color:  #ff4500;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   311
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   312
.idlConstName a {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   313
    color:  #ff4500;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   314
    border-bottom:  1px dotted #ff4500;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   315
    text-decoration: none;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   316
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   317
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   318
/*.idlException*/
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   319
.idlExceptionID {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   320
    font-weight:    bold;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   321
    color:  #c00;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   322
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   323
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   324
.idlTypedefID, .idlTypedefType {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   325
    color:  #005a9c;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   326
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   327
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   328
.idlRaises, .idlRaises a.idlType, .idlRaises a.idlType code, .excName a, .excName a code {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   329
    color:  #c00;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   330
    font-weight:    normal;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   331
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   332
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   333
.excName a {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   334
    font-family:    monospace;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   335
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   336
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   337
.idlRaises a.idlType, .excName a.idlType {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   338
    border-bottom:  1px dotted #c00;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   339
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   340
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   341
.excGetSetTrue, .excGetSetFalse, .prmNullTrue, .prmNullFalse, .prmOptTrue, .prmOptFalse {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   342
    width:  45px;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   343
    text-align: center;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   344
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   345
.excGetSetTrue, .prmNullTrue, .prmOptTrue { color:  #0c0; }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   346
.excGetSetFalse, .prmNullFalse, .prmOptFalse { color:  #c00; }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   347
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   348
.idlImplements a {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   349
    font-weight:    bold;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   350
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   351
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   352
dl.attributes, dl.methods, dl.constants, dl.constructors, dl.fields, dl.dictionary-members {
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   353
    margin-left:    2em;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   354
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   355
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   356
.attributes dt, .methods dt, .constants dt, .constructors dt, .fields dt, .dictionary-members dt {
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   357
    font-weight:    normal;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   358
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   359
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   360
.attributes dt code, .methods dt code, .constants dt code, .constructors dt code, .fields dt code, .dictionary-members dt code {
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   361
    font-weight:    bold;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   362
    color:  #000;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   363
    font-family:    monospace;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   364
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   365
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   366
.attributes dt code, .fields dt code, .dictionary-members dt code {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   367
    background:  #ffffd2;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   368
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   369
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   370
.attributes dt .idlAttrType code, .fields dt .idlFieldType code, .dictionary-members dt .idlMemberType code {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   371
    color:  #005a9c;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   372
    background:  transparent;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   373
    font-family:    inherit;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   374
    font-weight:    normal;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   375
    font-style: italic;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   376
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   377
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   378
.methods dt code {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   379
    background:  #d9e6f8;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   380
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   381
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   382
.constants dt code {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   383
    background:  #ddffd2;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   384
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   385
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   386
.constructors dt code {
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   387
    background:  #cfc;
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   388
}
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   389
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   390
.attributes dd, .methods dd, .constants dd, .constructors dd, .fields dd, .dictionary-members dd {
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   391
    margin-bottom:  1em;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   392
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   393
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   394
table.parameters, table.exceptions {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   395
    border-spacing: 0;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   396
    border-collapse:    collapse;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   397
    margin: 0.5em 0;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   398
    width:  100%;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   399
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   400
table.parameters { border-bottom:  1px solid #90b8de; }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   401
table.exceptions { border-bottom:  1px solid #deb890; }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   402
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   403
.parameters th, .exceptions th {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   404
    color:  #fff;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   405
    padding:    3px 5px;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   406
    text-align: left;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   407
    font-weight:    normal;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   408
    text-shadow:    #666 1px 1px 0;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   409
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   410
.parameters th { background: #90b8de; }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   411
.exceptions th { background: #deb890; }
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   412
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   413
.parameters td, .exceptions td {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   414
    padding:    3px 10px;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   415
    border-top: 1px solid #ddd;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   416
    vertical-align: top;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   417
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   418
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   419
.parameters tr:first-child td, .exceptions tr:first-child td {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   420
    border-top: none;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   421
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   422
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   423
.parameters td.prmName, .exceptions td.excName, .exceptions td.excCodeName {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   424
    width:  100px;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   425
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   426
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   427
.parameters td.prmType {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   428
    width:  120px;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   429
}
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   430
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   431
table.exceptions table {
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   432
    border-spacing: 0;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   433
    border-collapse:    collapse;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   434
    width:  100%;
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   435
}
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   436
</style><link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/W3C-ED"><!--[if lt IE 9]><script src='https://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]--><script id="initialUserConfig" type="application/json">{
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   437
  "specStatus": "ED",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   438
  "noRecTrack": true,
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   439
  "shortName": "webcrypto-key-discovery",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   440
  "editors": [
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   441
    {
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   442
      "name": "Mark Watson",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   443
      "mailto": "watsonm@netflix.com",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   444
      "company": "Netflix",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   445
      "companyURL": "http://www.netflix.com/"
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   446
    }
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   447
  ],
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   448
  "publishDate": "2016-03-23",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   449
  "previousPublishDate": "2013-01-08",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   450
  "previousMaturity": "WD",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   451
  "edDraftURI": "http://dvcs.w3.org/hg/webcrypto-keydiscovery/raw-file/tip/Overview.html",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   452
  "wg": "Web Cryptography WG",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   453
  "wgURI": "http://www.w3.org/2012/webcrypto/",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   454
  "wgPublicList": "public-webcrypto",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   455
  "wgPatentURI": "http://www.w3.org/2004/01/pp-impl/54174/status",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   456
  "localBiblio": {
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   457
    "WEBCRYPTO": "Ryan Sleevi, Mark Watson <a href=\"http://www.w3.org/TR/WebCryptoAPI/\"><cite>Web Cryptography API.</cite></a> W3C Working Draft (Work in progress.) URL: <a href=\"http://www.w3.org/TR/WebCryptoAPI/\">http://www.w3.org/TR/WebCryptoAPI/</a> "
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   458
  },
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   459
  "otherLinks": [
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   460
    {
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   461
      "key": "Participate",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   462
      "data": [
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   463
        {
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   464
          "value": "Submit a comment",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   465
          "href": "mailto:public-webcrypto-comments@w3.org"
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   466
        },
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   467
        {
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   468
          "value": "File a bug",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   469
          "href": "https://www.w3.org/Bugs/Public/enter_bug.cgi?product=Web%20Cryptography&component=Web%20Cryptography%20API%20Document"
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   470
        },
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   471
        {
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   472
          "value": "See existing bugs",
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   473
          "href": "https://www.w3.org/Bugs/Public/buglist.cgi?product=Web%20Cryptography&component=Web%20Cryptography%20API%20Document&resolution=---"
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   474
        }
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   475
      ]
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   476
    }
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   477
  ]
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   478
}</script></head>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   479
  <body class="h-entry toc-sidebar" role="document" id="respecDocument"><div class="head" role="contentinfo" id="respecHeader">
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   480
  <p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   481
            <a class="logo" href="http://www.w3.org/"><img width="72" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" alt="W3C"></a>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   482
  </p>
15
7141934a2a2c Working Draft pubrules updates
Mark Watson <watsonm@netflix.com>
parents: 13
diff changeset
   483
  <h1 class="title p-name" id="title" property="dcterms:title">WebCrypto Key Discovery</h1>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   484
  <h2 id="w3c-editor-s-draft-23-march-2016"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time property="dcterms:issued" class="dt-published" datetime="2016-03-23">23 March 2016</time></h2>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   485
  <dl>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   486
      <dt>This version:</dt>
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   487
      <dd><a class="u-url" href="http://dvcs.w3.org/hg/webcrypto-keydiscovery/raw-file/tip/Overview.html">http://dvcs.w3.org/hg/webcrypto-keydiscovery/raw-file/tip/Overview.html</a></dd>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   488
      <dt>Latest published version:</dt>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   489
      <dd><a href="http://www.w3.org/TR/webcrypto-key-discovery/">http://www.w3.org/TR/webcrypto-key-discovery/</a></dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   490
      <dt>Latest editor's draft:</dt>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   491
      <dd><a href="http://dvcs.w3.org/hg/webcrypto-keydiscovery/raw-file/tip/Overview.html">http://dvcs.w3.org/hg/webcrypto-keydiscovery/raw-file/tip/Overview.html</a></dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   492
    <dt>Editor:</dt>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   493
    <dd class="p-author h-card vcard" property="bibo:editor" resource="_:editor0"><span property="rdf:first" typeof="foaf:Person"><span property="foaf:name" class="p-name fn">Mark Watson</span>, <a property="foaf:workplaceHomepage" class="p-org org h-org h-card" href="http://www.netflix.com/">Netflix</a>, <span class="ed_mailto"><a class="u-email email" property="foaf:mbox" href="mailto:watsonm@netflix.com">watsonm@netflix.com</a></span></span>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   494
<span property="rdf:rest" resource="rdf:nil"></span>
15
7141934a2a2c Working Draft pubrules updates
Mark Watson <watsonm@netflix.com>
parents: 13
diff changeset
   495
</dd>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   496
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   497
          <dt>Participate:</dt>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   498
                  <dd>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   499
                    <a href="mailto:public-webcrypto-comments@w3.org">
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   500
                      Submit a comment
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   501
                    </a>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   502
                  </dd>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   503
                  <dd>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   504
                    <a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=Web%20Cryptography&amp;component=Web%20Cryptography%20API%20Document">
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   505
                      File a bug
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   506
                    </a>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   507
                  </dd>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   508
                  <dd>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   509
                    <a href="https://www.w3.org/Bugs/Public/buglist.cgi?product=Web%20Cryptography&amp;component=Web%20Cryptography%20API%20Document&amp;resolution=---">
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   510
                      See existing bugs
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   511
                    </a>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   512
                  </dd>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   513
  </dl>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   514
      <p class="copyright">
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   515
        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> ©
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   516
        2016
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   517
        
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   518
        <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   519
        (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>,
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   520
        <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   521
        <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>). 
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   522
        <abbr title="World Wide Web Consortium">W3C</abbr> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   523
        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   524
            <a rel="license" href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a>
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   525
        rules apply.
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   526
      </p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   527
  <hr title="Separator for header">
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   528
</div>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   529
    <section id="abstract" class="introductory" property="dc:abstract"><h2 id="h-abstract" resource="#h-abstract"><span property="xhv:role" resource="xhv:heading">Abstract</span></h2>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   530
      <p>This note describes a JavaScript API for discovering named, origin-specific pre-provisioned
12
df2d7c7979b0 Fix two typos in abstract
Mark Watson <watsonm@netflix.com>
parents: 11
diff changeset
   531
      cryptographic keys for use with the Web Cryptography API. Pre-provisioned keys are keys which have been made
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   532
      available to the UA by means other than the generation, derivation, importation and unwrapping functions of the
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   533
      Web Cryptography API. Origin-specific keys are keys that are available only to a specified origin. Named keys
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   534
      are identified by a name assumed to be known to the origin in question and provisioned with the key itself.
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   535
      This note concerns only keys which have all three of these properties.
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   536
      </p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   537
    </section><section id="sotd" class="introductory"><h2 id="h-sotd" resource="#h-sotd"><span property="xhv:role" resource="xhv:heading">Status of This Document</span></h2>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   538
        <p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   539
          <em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> technical reports index</a> at http://www.w3.org/TR/.</em>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   540
        </p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   541
          
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   542
      <p>This document is an Editor's Draft of the WebCrypto Key Discovery note. It defines an API that provides access to named origin-specific pre-provisioned keys.
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   543
      The privacy issues associated with such keys require special attention and
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   544
      the privacy related material in this document has not yet received thorough review by the community.</p>
6
0a0bab262b44 XML validation and further pubrules fixes including custom status paragraph
Mark Watson <watsonm@netflix.com>
parents: 5
diff changeset
   545
    
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   546
          <p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   547
            This document was published by the <a href="http://www.w3.org/2012/webcrypto/">Web Cryptography WG</a> as an Editor's Draft.
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   548
              If you wish to make comments regarding this document, please send them to
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   549
              <a href="mailto:public-webcrypto@w3.org">public-webcrypto@w3.org</a>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   550
              (<a href="mailto:public-webcrypto-request@w3.org?subject=subscribe">subscribe</a>,
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   551
              <a href="http://lists.w3.org/Archives/Public/public-webcrypto/">archives</a>).
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   552
            
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   553
              All comments are welcome.
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   554
          </p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   555
            <p>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   556
              Publication as an Editor's Draft does not imply endorsement by the <abbr title="World Wide Web Consortium">W3C</abbr>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   557
              Membership. This is a draft document and may be updated, replaced or obsoleted by other
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   558
              documents at any time. It is inappropriate to cite this document as other than work in
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   559
              progress.
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   560
            </p>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   561
          <p>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   562
              This document was produced by
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   563
              a group
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   564
               operating under the
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   565
              <a id="sotd_patent" property="w3p:patentRules" href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <abbr title="World Wide Web Consortium">W3C</abbr> Patent
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   566
              Policy</a>.
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   567
                <abbr title="World Wide Web Consortium">W3C</abbr> maintains a <a href="http://www.w3.org/2004/01/pp-impl/54174/status" rel="disclosure">public list of any patent
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   568
                disclosures</a>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   569
              made in connection with the deliverables of
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   570
              the group; that page also includes
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   571
              instructions for disclosing a patent. An individual who has actual knowledge of a patent
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   572
              which the individual believes contains
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   573
              <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   574
              Claim(s)</a> must disclose the information in accordance with
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   575
              <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   576
              6 of the <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   577
          </p>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   578
            <p>This document is governed by the <a id="w3c_process_revision" href="http://www.w3.org/2015/Process-20150901/">1 September 2015 <abbr title="World Wide Web Consortium">W3C</abbr> Process Document</a>.
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   579
            </p>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   580
          
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   581
</section><nav id="toc"><h2 class="introductory" id="table-of-contents" resource="#table-of-contents"><span property="xhv:role" resource="xhv:heading">Table of Contents</span></h2><ul class="toc" role="directory"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a></li><li class="tocline"><a href="#conformance" class="tocxref"><span class="secno">2. </span>Conformance</a></li><li class="tocline"><a href="#scope" class="tocxref"><span class="secno">3. </span>Scope</a></li><li class="tocline"><a href="#privacy-considerations" class="tocxref"><span class="secno">4. </span>Privacy considerations</a><ul class="toc"><li class="tocline"><a href="#named-origin-specific-pre-provisioned-keys" class="tocxref"><span class="secno">4.1 </span>Named origin-specific pre-provisioned keys</a><ul class="toc"><li class="tocline"><a href="#comparison-to-cookies-and-persistent-storage" class="tocxref"><span class="secno">4.1.1 </span>Comparison to cookies and persistent storage</a></li><li class="tocline"><a href="#user-tracking" class="tocxref"><span class="secno">4.1.2 </span>User tracking</a></li><li class="tocline"><a href="#cookie-resurrection" class="tocxref"><span class="secno">4.1.3 </span>Cookie resurrection</a></li><li class="tocline"><a href="#sensitivity-of-data" class="tocxref"><span class="secno">4.1.4 </span>Sensitivity of data</a></li></ul></li></ul></li><li class="tocline"><a href="#dependencies" class="tocxref"><span class="secno">5. </span>Dependencies</a></li><li class="tocline"><a href="#api-definition" class="tocxref"><span class="secno">6. </span>API definition</a><ul class="toc"><li class="tocline"><a href="#overview" class="tocxref"><span class="secno">6.1 </span>Overview</a></li><li class="tocline"><a href="#namedkey-interface" class="tocxref"><span class="secno">6.2 </span>NamedKey interface</a><ul class="toc"><li class="tocline"><a href="#attributes" class="tocxref"><span class="secno">6.2.1 </span>Attributes</a></li><li class="tocline"><a href="#structured-clone-algorithm" class="tocxref"><span class="secno">6.2.2 </span>Structured clone algorithm</a></li><li class="tocline"><a href="#immutability-of-namedkey-objects" class="tocxref"><span class="secno">6.2.3 </span>Immutability of NamedKey objects</a></li></ul></li><li class="tocline"><a href="#cryptokeys-interface" class="tocxref"><span class="secno">6.3 </span>CryptoKeys interface</a><ul class="toc"><li class="tocline"><a href="#methods" class="tocxref"><span class="secno">6.3.1 </span>Methods</a></li></ul></li><li class="tocline"><a href="#extension-of-window-interface" class="tocxref"><span class="secno">6.4 </span>Extension of Window interface</a><ul class="toc"><li class="tocline"><a href="#attributes-1" class="tocxref"><span class="secno">6.4.1 </span>Attributes</a></li></ul></li><li class="tocline"><a href="#extension-of-workerglobalscope-interface" class="tocxref"><span class="secno">6.5 </span>Extension of WorkerGlobalScope interface</a><ul class="toc"><li class="tocline"><a href="#attributes-2" class="tocxref"><span class="secno">6.5.1 </span>Attributes</a></li></ul></li></ul></li><li class="tocline"><a href="#example" class="tocxref"><span class="secno">7. </span>Example</a><ul class="toc"><li class="tocline"><a href="#using-a-pre-provisioned-aes-kw-key-to-unwrap-a-session-key" class="tocxref"><span class="secno">7.1 </span>Using a pre-provisioned AES-KW key to unwrap a session key</a></li></ul></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">A. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">A.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">A.2 </span>Informative references</a></li></ul></li></ul></nav>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   582
    
6
0a0bab262b44 XML validation and further pubrules fixes including custom status paragraph
Mark Watson <watsonm@netflix.com>
parents: 5
diff changeset
   583
    
0a0bab262b44 XML validation and further pubrules fixes including custom status paragraph
Mark Watson <watsonm@netflix.com>
parents: 5
diff changeset
   584
    
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   585
    <section class="informative" id="introduction" typeof="bibo:Chapter" resource="#introduction" property="bibo:hasPart">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   586
      <!--OddPage--><h2 id="h-introduction" resource="#h-introduction"><span property="xhv:role" resource="xhv:heading"><span class="secno">1. </span>Introduction</span></h2><p><em>This section is non-normative.</em></p>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   587
      <p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   588
        The Web Cryptography API [<cite><a class="bibref" href="#bib-WEBCRYPTO">WEBCRYPTO</a></cite>] describes a JavaScript API for performing basic cryptographic
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   589
        operations in web applications. Cryptographic keys in are represented in this API using
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   590
        <a href="http://www.w3.org/TR/WebCryptoAPI/#key-interface"><code>Key</code></a> objects. The API provides methods to generate, derive, import and unwrap cryptographic 
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   591
        keying material, so creating <a href="http://www.w3.org/TR/WebCryptoAPI/#key-interface"><code>Key</code></a> objects.
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   592
      </p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   593
      <p>This document concerns the discovery of cryptographic keys which are made available to the UA by other means.
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   594
        Specifically, this document provides an API for the discovery of cryptographic keys which have been pre-provisioned
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   595
         into a UA or device for use by a specific origin. Such keys are identified by names which are assumed to be known to 
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   596
         the origin in question and thus they are referred to as <dfn data-dfn-type="dfn" id="dfn-named-origin-specific-pre-provisioned-keys">named origin-specific pre-provisioned keys</dfn>.</p>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   597
      <p>This enables web applications to establish secure proof that the UA has access to a particular
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   598
        pre-provisioned key. Depending on the nature of the key and its associated storage - for example within
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   599
        a Hardware Security Module or available only within a Trusted Execution Environment - further properties of the
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   600
        device on which the UA is running may be inferred.</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   601
      <p>The use of pre-provisioned keys requires the informed consent of the user, because such keys may be used for tracking
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   602
      and may reveal information about the users device. The privacy implications of origin-specific pre-provisioned
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   603
      keys are discussed further in <a href="#privacy-considerations">Security and Privacy Considerations</a>.
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   604
      </p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   605
    </section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   606
    
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   607
    <section id="conformance" typeof="bibo:Chapter" resource="#conformance" property="bibo:hasPart"><!--OddPage--><h2 id="h-conformance" resource="#h-conformance"><span property="xhv:role" resource="xhv:heading"><span class="secno">2. </span>Conformance</span></h2>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   608
<p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   609
  As well as sections marked as non-normative, all authoring guidelines, diagrams, examples,
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   610
  and notes in this specification are non-normative. Everything else in this specification is
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   611
  normative.
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   612
</p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   613
<p id="respecRFC2119">The key words <em class="rfc2119" title="MAY">MAY</em>, <em class="rfc2119" title="MUST">MUST</em>, <em class="rfc2119" title="REQUIRED">REQUIRED</em>, <em class="rfc2119" title="SHALL">SHALL</em>, <em class="rfc2119" title="SHALL NOT">SHALL NOT</em>, and <em class="rfc2119" title="SHOULD">SHOULD</em> are 
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   614
  to be interpreted as described in [<cite><a class="bibref" href="#bib-RFC2119">RFC2119</a></cite>].
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   615
</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   616
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   617
      
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   618
      <p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   619
          The following conformance classes are defined by this note:
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   620
        </p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   621
        <dl>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   622
          <dt><dfn data-dfn-type="dfn" id="dfn-conforming-user-agent">conforming user agent</dfn></dt>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   623
          <dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   624
            <p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   625
              A user agent is considered to be a conforming user agent
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   626
              if it satisfies all of the <em class="rfc2119" title="MUST">MUST</em>-, <em class="rfc2119" title="REQUIRED">REQUIRED</em>- and <em class="rfc2119" title="SHALL">SHALL</em>-level
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   627
              criteria in this note that apply to implementation. This note
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   628
              uses both the terms "conforming user agent" and "user agent" to refer to this
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   629
              product class.
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   630
            </p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   631
            <p>
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   632
              User agents <em class="rfc2119" title="MAY">MAY</em> implement algorithms in this
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   633
              note in any way desired, so long as the end result is indistinguishable
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   634
              from the result that would be obtained from the note's algorithms.
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   635
            </p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   636
          </dd>         
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   637
        </dl>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   638
        <p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   639
          User agents that use ECMAScript to implement the APIs defined in this note
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   640
          <em class="rfc2119" title="MUST">MUST</em> implement them in a manner consistent with the
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   641
          ECMAScript Bindings defined in the Web IDL specification [<cite><a class="bibref" href="#bib-WEBIDL">WEBIDL</a></cite>]
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   642
          as this note uses that specification and terminology.
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   643
        </p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   644
      
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   645
    </section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   646
    
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   647
    <section id="scope" class="informative" typeof="bibo:Chapter" resource="#scope" property="bibo:hasPart">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   648
      <!--OddPage--><h2 id="h-scope" resource="#h-scope"><span property="xhv:role" resource="xhv:heading"><span class="secno">3. </span>Scope</span></h2><p><em>This section is non-normative.</em></p>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   649
      <p>The considerations in the Scope section of [<cite><a class="bibref" href="#bib-WEBCRYPTO">WEBCRYPTO</a></cite>] apply to this note as well. In particular, although this note directly addresses the discovery of <a href="#dfn-named-origin-specific-pre-provisioned-keys" class="internalDFN" data-link-type="dfn">named origin-specific pre-provisioned keys</a>, it does not address the processes used to provision those keys or the type and properties of the hardware or software components in which they are stored.</p>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   650
    </section>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   651
    <section class="informative" id="privacy-considerations" typeof="bibo:Chapter" resource="#privacy-considerations" property="bibo:hasPart">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   652
      <!--OddPage--><h2 id="h-privacy-considerations" resource="#h-privacy-considerations"><span property="xhv:role" resource="xhv:heading"><span class="secno">4. </span>Privacy considerations</span></h2><p><em>This section is non-normative.</em></p>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   653
      <p>The Privacy considerations of [<cite><a class="bibref" href="#bib-WEBCRYPTO">WEBCRYPTO</a></cite>] apply to this note.</p>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   654
      <section id="named-origin-specific-pre-provisioned-keys" typeof="bibo:Chapter" resource="#named-origin-specific-pre-provisioned-keys" property="bibo:hasPart">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   655
        <h3 id="h-named-origin-specific-pre-provisioned-keys" resource="#h-named-origin-specific-pre-provisioned-keys"><span property="xhv:role" resource="xhv:heading"><span class="secno">4.1 </span>Named origin-specific pre-provisioned keys</span></h3>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   656
        <section id="comparison-to-cookies-and-persistent-storage" typeof="bibo:Chapter" resource="#comparison-to-cookies-and-persistent-storage" property="bibo:hasPart"><h4 id="h-comparison-to-cookies-and-persistent-storage" resource="#h-comparison-to-cookies-and-persistent-storage"><span property="xhv:role" resource="xhv:heading"><span class="secno">4.1.1 </span>Comparison to cookies and persistent storage</span></h4>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   657
        <p>The privacy considerations associated with origin-specific pre-provisioned keys are similar to those that apply to cookies [<cite><a class="bibref" href="#bib-COOKIES">COOKIES</a></cite>] and persistent storage, such as [<cite><a class="bibref" href="#bib-INDEXEDDB">INDEXEDDB</a></cite>]. The principle difference is that pre-provisioned keys are pre-existing, whereas cookies and persistent store are not. Thus sites can be relied upon to work (in an 'out-of-the-box' fashion) when cookies have been deleted and persistent store cleared. By contrast, sites that rely on pre-provisioned keys may not operate or may operate in a different fashion if the expected pre-provisioned keys are not available. Such sites may require users to choose whether to trade a certain amount of privacy for whatever service the site offers, or not access the service at all.</p></section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   658
        
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   659
        <section id="user-tracking" typeof="bibo:Chapter" resource="#user-tracking" property="bibo:hasPart">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   660
          <h4 id="h-user-tracking" resource="#h-user-tracking"><span property="xhv:role" resource="xhv:heading"><span class="secno">4.1.2 </span>User tracking</span></h4>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   661
  
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   662
          <p>A third-party host (or any object capable of getting content distributed to multiple sites) could use a named origin-specific pre-provisioned key to track a user across multiple sessions, building a profile of the user's activities. In conjunction with a site that is aware of the user's real identity (for example an e-commerce site that requires authenticated credentials), this could allow oppressive groups to target individuals with greater accuracy than in a world with purely anonymous Web usage.</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   663
          
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   664
          <p>There are a number of techniques that can be used to mitigate this risk of tracking without user consent:
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   665
            </p><dl>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   666
              <dt>Site-specific white-listing of access to named origin-specific pre-provisioned keys</dt>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   667
              <dd><p>User agents should require the user to explicitly authorize access to named origin-specific pre-provisioned keys before a site can use the keys.</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   668
              <p>User agents should enable users to revoke this authorization either temporarily or permanently.</p></dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   669
              <dt>Blocking access to named origin-specific pre-provisioned keys</dt>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   670
                <dd><p>User agents may restrict access to named origin-specific pre-provisioned keys to scripts originating at the domain of the top-level document of the browsing context, for instance returning empty key search results for pages from other domains running in iframes.</p></dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   671
                
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   672
              <dt>Treating named origin-specific pre-provisioned keys as cookies</dt>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   673
              <dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   674
                <p>User agents should present the named origin-specific pre-provisioned keys feature to the user in a way that associates it strongly with HTTP session cookies. [<cite><a class="bibref" href="#bib-COOKIES">COOKIES</a></cite>]</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   675
              
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   676
                <p>This might encourage users to view such keys with healthy suspicion.</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   677
              </dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   678
              <dt>Origin-tracking of named origin-specific pre-provisioned keys</dt>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   679
              <dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   680
                <p>User agents may record the origins of sites that contained content from third-party origins that used pre-provisioned keys.</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   681
              
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   682
                <p>If this information is then used to present a view of pre-provisioned keys to the user, it would allow the user to make informed decisions about authorizing sites to make use of keys. Combined with a blacklist ("delete this key" or "prevent this domain from ever accessing this key again"), the user can restrict the use of pre-provisioned keys to sites that he trusts.</p></dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   683
              <dt>Shared blacklists</dt>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   684
              <dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   685
                <p>User agents may allow users to share their pre-provisioned key domain blacklists.</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   686
              
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   687
                <p>This would allow communities to act together to protect their privacy.</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   688
              </dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   689
            </dl>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   690
          <p></p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   691
          <p>While these suggestions prevent trivial use of this feature for user tracking, they do not block it altogether. Where a browser supports a mode of operation intended to preserve user anonymity, access to pre-provisioned keys should be disabled in this mode. Even so, within a single domain, a site can continue to track the user during a session, and can then pass all this information to the third party along with any identifying information (names, credit card numbers, addresses) obtained by the site. If a third party cooperates with multiple sites to obtain such information, a profile can still be created.</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   692
  
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   693
          <p>However, user tracking is to some extent possible even with no cooperation from the user agent whatsoever, for instance by using session identifiers in URLs, a technique already commonly used for innocuous purposes but easily repurposed for user tracking (even retroactively). This information can then be shared with other sites, using visitors' IP addresses and other user-specific data (e.g. user-agent headers and configuration settings) to combine separate sessions into coherent user profiles.</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   694
        </section>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   695
        <section id="cookie-resurrection" typeof="bibo:Chapter" resource="#cookie-resurrection" property="bibo:hasPart">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   696
          <h4 id="h-cookie-resurrection" resource="#h-cookie-resurrection"><span property="xhv:role" resource="xhv:heading"><span class="secno">4.1.3 </span>Cookie resurrection</span></h4>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   697
  
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   698
          <p>If the user interface for the origin-specific pre-provisioned keys feature described in this note presents data separately from data in HTTP session cookies or persistent storage, then users are likely to modify site authorization or delete data in one and not the others. This would allow sites to use the various features as redundant backup for each other, defeating a user's attempts to protect his privacy.</p>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   699
        </section>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   700
        <section id="sensitivity-of-data" typeof="bibo:Chapter" resource="#sensitivity-of-data" property="bibo:hasPart">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   701
          <h4 id="h-sensitivity-of-data" resource="#h-sensitivity-of-data"><span property="xhv:role" resource="xhv:heading"><span class="secno">4.1.4 </span>Sensitivity of data</span></h4>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   702
  
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   703
          <p>User agents should treat pre-provisioned keys and material generated using such keys as potentially sensitive; it is quite possible for the user privacy to be compromised by the release of this information.</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   704
  
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   705
          <p>To this end, user agents should ensure that when deleting data, it is promptly deleted from the underlying storage.</p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   706
        </section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   707
      </section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   708
    </section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   709
    
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   710
    <section class="section" id="dependencies" typeof="bibo:Chapter" resource="#dependencies" property="bibo:hasPart">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   711
      <!--OddPage--><h2 id="h-dependencies" resource="#h-dependencies"><span property="xhv:role" resource="xhv:heading"><span class="secno">5. </span>Dependencies</span></h2>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   712
      <p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   713
        This note relies on several other underlying specifications.
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   714
      </p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   715
      <dl>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   716
        <dt>HTML5</dt>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   717
        <dd>The terms and algorithms
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   718
          <dfn data-dfn-type="dfn" id="dfn-window"><code>Window</code></dfn>,
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   719
          <dfn data-dfn-type="dfn" id="dfn-function"><code>Function</code></dfn>,
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   720
          <dfn data-dfn-type="dfn" id="dfn-origin">origin</dfn>, <dfn data-dfn-type="dfn" id="dfn-same-origin">same origin</dfn>, <dfn data-dfn-type="dfn" id="dfn-structured-clone">structured clone</dfn>,
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   721
          and <dfn data-dfn-type="dfn" id="dfn-structured-clone-algorithm">structured clone algorithm</dfn> are defined by the HTML 5 
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   722
          specification [<cite><a class="bibref" href="#bib-HTML5">HTML5</a></cite>].
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   723
        </dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   724
        <dt>Web Cryptography API</dt>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   725
        <dd><p>A <a href="#dfn-conforming-user-agent" class="internalDFN" data-link-type="dfn">conforming user agent</a> <em class="rfc2119" title="MUST">MUST</em> support the Web Cryptography API [<cite><a class="bibref" href="#bib-WEBCRYPTO">WEBCRYPTO</a></cite>].</p>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   726
          <p>The term <dfn data-dfn-type="dfn" id="dfn-key"><code>Key</code></dfn> is defined in [<cite><a class="bibref" href="#bib-WEBCRYPTO">WEBCRYPTO</a></cite>].</p>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   727
        </dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   728
        <dt>WebIDL</dt>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   729
        <dd>Many of the interface definitions and all of the IDL in this spec depends on [<cite><a class="bibref" href="#bib-WEBIDL">WEBIDL</a></cite>].</dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   730
        <dt>WebWorkers</dt>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   731
        <dd>The term <dfn data-dfn-type="dfn" id="dfn-workerglobalscope"><a class="externalDFN"><code>WorkerGlobalScope</code></a></dfn> is defined by
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   732
        the WebWorkers specification [<cite><a class="bibref" href="#bib-WEBWORKERS">WEBWORKERS</a></cite>].</dd>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   733
      </dl>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   734
    </section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   735
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   736
    <section id="api-definition" typeof="bibo:Chapter" resource="#api-definition" property="bibo:hasPart">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   737
      <!--OddPage--><h2 id="h-api-definition" resource="#h-api-definition"><span property="xhv:role" resource="xhv:heading"><span class="secno">6. </span>API definition</span></h2>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   738
      <section class="informative" id="overview" typeof="bibo:Chapter" resource="#overview" property="bibo:hasPart"><h3 id="h-overview" resource="#h-overview"><span property="xhv:role" resource="xhv:heading"><span class="secno">6.1 </span>Overview</span></h3><p><em>This section is non-normative.</em></p>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   739
      <p>This note defines a new <a data-lt="cryptokeys" href="#dfn-cryptokeys" class="internalDFN" data-link-type="dfn"><code>cryptokeys</code></a> attribute on the <a href="#idl-def-Window" class="idlType"><code>Window</code></a> and <a href="#idl-def-WorkerGlobalScope" class="idlType"><code>WorkerGlobalScope</code></a>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   740
        objects. This attribute is an object supporting a method, <a data-lt="getKeyByName" href="#dfn-getkeybyname" class="internalDFN" data-link-type="dfn"><code>getKeyByName</code></a> which may be used to get the key with a given name. Keys are
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   741
        returned as <a href="#idl-def-NamedKey" class="idlType"><code>NamedKey</code></a> objects which are subclasses of the <a href="#dfn-key" class="internalDFN" data-link-type="dfn"><code><code>Key</code></code></a> class.</p></section>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   742
      
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   743
      <section id="namedkey-interface" typeof="bibo:Chapter" resource="#namedkey-interface" property="bibo:hasPart"><h3 id="h-namedkey-interface" resource="#h-namedkey-interface"><span property="xhv:role" resource="xhv:heading"><span class="secno">6.2 </span>NamedKey interface</span></h3>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   744
        <pre class="idl"><span class="idlInterface" id="idl-def-NamedKey">interface <span class="idlInterfaceID">NamedKey</span> : <span class="idlSuperclass"><a href="#dfn-key" class="internalDFN" data-link-type="dfn"><code>Key</code></a></span> {
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   745
<span class="idlAttribute">    readonly        attribute <span class="idlAttrType">DOMString</span>  <span class="idlAttrName"><a href="#widl-NamedKey-name">name</a></span>;</span>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   746
<span class="idlAttribute">    readonly        attribute <span class="idlAttrType">DOMString?</span> <span class="idlAttrName"><a href="#widl-NamedKey-id">id</a></span>;</span>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   747
};</span></pre><section id="attributes" typeof="bibo:Chapter" resource="#attributes" property="bibo:hasPart"><h4 id="h-attributes" resource="#h-attributes"><span property="xhv:role" resource="xhv:heading"><span class="secno">6.2.1 </span>Attributes</span></h4><dl class="attributes"><dt id="widl-NamedKey-id"><code>id</code> of type <span class="idlAttrType">DOMString</span>, readonly       , nullable</dt><dd>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   748
            <p>A global identifier associated with the key.</p>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   749
            <p>Origin-specific pre-provisioned keys are frequently provisioned with associated identifiers. Where an identifier exists that uniquely identifies the key amongst all keys pre-provisoned with the same <a href="#dfn-origin" class="internalDFN" data-link-type="dfn">origin</a> and <code>name</code> and if this identifier can be canonically expressed as a sequence of no more than 256 bytes, then this identifier <em class="rfc2119" title="SHOULD">SHOULD</em> be exposed, base64 encoded, as the <code>id</code>. If no identifier matching these conditions exists, <code>id</code> <em class="rfc2119" title="MUST">MUST</em> be <code>null</code>.</p>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   750
          </dd><dt id="widl-NamedKey-name"><code>name</code> of type <span class="idlAttrType">DOMString</span>, readonly       </dt><dd><p>A local identifier for the key.</p></dd></dl></section>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   751
        <section id="structured-clone-algorithm" typeof="bibo:Chapter" resource="#structured-clone-algorithm" property="bibo:hasPart"><h4 id="h-structured-clone-algorithm" resource="#h-structured-clone-algorithm"><span property="xhv:role" resource="xhv:heading"><span class="secno">6.2.2 </span>Structured clone algorithm</span></h4>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   752
        <p>When a user agent is required to obtain a <a href="#dfn-structured-clone" class="internalDFN" data-link-type="dfn">structured clone</a> of a <a href="#idl-def-NamedKey" class="idlType"><code>NamedKey</code></a> object, it must run the following steps.</p>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   753
        <ol>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   754
          <li>Let <var>input</var> and <var>memory</var> be the corresponding inputs defined by the <a data-lt="structured clone algorithm" href="#dfn-structured-clone-algorithm" class="internalDFN" data-link-type="dfn">internal structured clone algorithm</a>, where <var>input</var> is a <a href="#idl-def-NamedKey" class="idlType"><code>NamedKey</code></a> object to be cloned.</li>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   755
          <li>Let <var>output</var> be a newly constructed <a href="#idl-def-NamedKey" class="idlType"><code>NamedKey</code></a> object, where the structured clone algorithm is followed for the base <code>Key</code> object.</li>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   756
          <li>Let the following attributes of <var>output</var> be equal to the value obtained by invoking the internal structured clone algorithm recursively, using  the corresponding attribute on <var>input</var> as the new "<var>input</var>" argument and <var>memory</var> as the new "<var>memory</var>" argument:
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   757
            <ul>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   758
              <li><code>name</code></li>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   759
              <li><code>id</code></li>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   760
            </ul></li>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   761
        </ol>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   762
        </section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   763
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   764
        <section id="immutability-of-namedkey-objects" typeof="bibo:Chapter" resource="#immutability-of-namedkey-objects" property="bibo:hasPart"><h4 id="h-immutability-of-namedkey-objects" resource="#h-immutability-of-namedkey-objects"><span property="xhv:role" resource="xhv:heading"><span class="secno">6.2.3 </span>Immutability of NamedKey objects</span></h4>
13
9dd3763a0333 Switch to getKeyByName. Switch to returning a Promise
Mark Watson <watsonm@netflix.com>
parents: 12
diff changeset
   765
          <p>The <code>name</code> and <code>id</code> attributes of a <a href="#idl-def-NamedKey" class="idlType"><code>NamedKey</code></a> object <em class="rfc2119" title="SHALL NOT">SHALL NOT</em> change. The underlying cryptographic key <em class="rfc2119" title="SHALL NOT">SHALL NOT</em> change, except that it <em class="rfc2119" title="MAY">MAY</em> be removed altogether. In this case any attempt to use the <a href="#idl-def-NamedKey" class="idlType"><code>NamedKey</code></a> object shall return an error.</p>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   766
        </section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   767
      </section>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   768
      <section id="cryptokeys-interface" typeof="bibo:Chapter" resource="#cryptokeys-interface" property="bibo:hasPart"><h3 id="h-cryptokeys-interface" resource="#h-cryptokeys-interface"><span property="xhv:role" resource="xhv:heading"><span class="secno">6.3 </span>CryptoKeys interface</span></h3>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   769
        <pre class="idl"><span class="idlInterface" id="idl-def-CryptoKeys">[<span class="extAttr">NoInterfaceObject</span>]
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   770
interface <span class="idlInterfaceID">CryptoKeys</span> {
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   771
<span class="idlMethod">    <span class="idlMethType">Promise</span> <span class="idlMethName"><a href="#widl-CryptoKeys-getKeyByName-Promise-DOMString-name">getKeyByName</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">name</span></span>);</span>
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   772
};</span></pre><section id="methods" typeof="bibo:Chapter" resource="#methods" property="bibo:hasPart"><h4 id="h-methods" resource="#h-methods"><span property="xhv:role" resource="xhv:heading"><span class="secno">6.3.1 </span>Methods</span></h4><dl class="methods"><dt id="widl-CryptoKeys-getKeyByName-Promise-DOMString-name"><code>getKeyByName</code></dt><dd>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   773
            <p>When invoked, this method must perform the following steps:
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   774
              </p><ol>
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   775
                <li>Let <var>promise</var> be a new <code>Promise</code>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   776
                </li><li>Make an asynchronous request to search for a key matching the name specifier provided in <code>name</code>. A name specifier matches the name of a key if they are identical when expressed as a string of unicode characters.
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   777
                  <dl class="switch">
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   778
                    <dt>If a key is found</dt>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   779
                    <dd>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   780
                      <ol>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   781
                        <li>Let the <var>result</var> be an object of type <code>NamedKey</code> representing the key.</li>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   782
                        <li>Resolve <var>promise</var> with <var>result</var>.</li>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   783
                      </ol>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   784
                    </dd>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   785
                    <dt>Otherwise</dt>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   786
                    <dd>Resolve <var>promise</var> with <code>null</code>.
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   787
                  </dd></dl>
7
e8c7e2a48e85 Fix one additional validation error
Mark Watson <watsonm@netflix.com>
parents: 6
diff changeset
   788
                </li>
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   789
                <li>Return <var>promise</var>.</li>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   790
              </ol>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   791
            <p></p>
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   792
          <table class="parameters"><tbody><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">name</td><td class="prmType"><code>DOMString</code></td><td class="prmNullFalse"><span role="img" aria-label="False">✘</span></td><td class="prmOptFalse"><span role="img" aria-label="False">✘</span></td><td class="prmDesc"></td></tr></tbody></table><div><em>Return type: </em><code>Promise</code></div></dd></dl></section>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   793
      </section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   794
      
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   795
      <section id="extension-of-window-interface" typeof="bibo:Chapter" resource="#extension-of-window-interface" property="bibo:hasPart"><h3 id="h-extension-of-window-interface" resource="#h-extension-of-window-interface"><span property="xhv:role" resource="xhv:heading"><span class="secno">6.4 </span>Extension of Window interface</span></h3>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   796
      <pre class="idl"><span class="idlInterface" id="idl-def-Window">partial interface <span class="idlInterfaceID">Window</span> {
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   797
<span class="idlAttribute">    readonly        attribute <span class="idlAttrType"><a href="#idl-def-CryptoKeys" class="idlType"><code>CryptoKeys</code></a></span> <span class="idlAttrName"><a href="#widl-Window-cryptokeys">cryptokeys</a></span>;</span>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   798
};</span></pre><section id="attributes-1" typeof="bibo:Chapter" resource="#attributes-1" property="bibo:hasPart"><h4 id="h-attributes-1" resource="#h-attributes-1"><span property="xhv:role" resource="xhv:heading"><span class="secno">6.4.1 </span>Attributes</span></h4><dl class="attributes"><dt id="widl-Window-cryptokeys"><code>cryptokeys</code> of type <span class="idlAttrType"><a href="#idl-def-CryptoKeys" class="idlType"><code>CryptoKeys</code></a></span>, readonly       </dt><dd>The object that exposes the key discovery methods</dd></dl></section></section>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   799
      
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   800
      <section id="extension-of-workerglobalscope-interface" typeof="bibo:Chapter" resource="#extension-of-workerglobalscope-interface" property="bibo:hasPart"><h3 id="h-extension-of-workerglobalscope-interface" resource="#h-extension-of-workerglobalscope-interface"><span property="xhv:role" resource="xhv:heading"><span class="secno">6.5 </span>Extension of WorkerGlobalScope interface</span></h3>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   801
      <pre class="idl"><span class="idlInterface" id="idl-def-WorkerGlobalScope">partial interface <span class="idlInterfaceID">WorkerGlobalScope</span> {
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   802
<span class="idlAttribute">    readonly        attribute <span class="idlAttrType"><a href="#idl-def-CryptoKeys" class="idlType"><code>CryptoKeys</code></a></span> <span class="idlAttrName"><a href="#widl-WorkerGlobalScope-cryptokeys">cryptokeys</a></span>;</span>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   803
};</span></pre><section id="attributes-2" typeof="bibo:Chapter" resource="#attributes-2" property="bibo:hasPart"><h4 id="h-attributes-2" resource="#h-attributes-2"><span property="xhv:role" resource="xhv:heading"><span class="secno">6.5.1 </span>Attributes</span></h4><dl class="attributes"><dt id="widl-WorkerGlobalScope-cryptokeys"><code>cryptokeys</code> of type <span class="idlAttrType"><a href="#idl-def-CryptoKeys" class="idlType"><code>CryptoKeys</code></a></span>, readonly       </dt><dd>The object that exposes the key discovery methods</dd></dl></section></section>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   804
    </section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   805
    
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   806
    <section id="example" typeof="bibo:Chapter" resource="#example" property="bibo:hasPart">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   807
      <!--OddPage--><h2 id="h-example" resource="#h-example"><span property="xhv:role" resource="xhv:heading"><span class="secno">7. </span>Example</span></h2>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   808
      <section id="using-a-pre-provisioned-aes-kw-key-to-unwrap-a-session-key" typeof="bibo:Chapter" resource="#using-a-pre-provisioned-aes-kw-key-to-unwrap-a-session-key" property="bibo:hasPart">
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   809
        <h3 id="h-using-a-pre-provisioned-aes-kw-key-to-unwrap-a-session-key" resource="#h-using-a-pre-provisioned-aes-kw-key-to-unwrap-a-session-key"><span property="xhv:role" resource="xhv:heading"><span class="secno">7.1 </span>Using a pre-provisioned AES-KW key to unwrap a session key</span></h3>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   810
          <div class="example"><div class="example-title marker"><span>Example 1</span></div><pre class="">window.cryptokeys.getKeyByName( "Kunwrap" ).then( function( key ) {
19
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   811
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   812
  if ( key === null ) {
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   813
    console.error( "Unwrapping key, 'Kunwrap', not found.");
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   814
  } else {
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   815
    // Call a function to get a wrapped session key from the server, based on key.id
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   816
    getSessionKeyForId( key.id ).then( function( wrappedJwkKeyData ) {
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   817
      
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   818
      window.crypto.subtle.unwrapKey( 'jwk',
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   819
                wrappedJwkKeyData,            // the wrapped JWK session key
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   820
                key,                          // the pre-provisoned unwrapping key
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   821
                { name: 'AES-KW' },           // the key wrapping algorithm
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   822
                { name: 'AES-GCM' },          // the algorithm the unwrapped key will be used with
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   823
                false,                        // the result must not be extractable
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   824
                [ 'encrypt', 'decrypt' ]      // we'll use the result for encrypt and decrypt
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   825
                ).then( function( sessionKey ) {
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   826
                
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   827
          // use session key here for secure communication bound to the pre-provisioned key
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   828
                
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   829
       }, console.error.bind( console, "Unwrapping returned an error" ) );
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   830
    }, console.error.bind( console, "Could not get session key from server" ) );
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   831
  }
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   832
});</pre></div>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   833
      </section>
25441662e0ac Update editors draft for promises language, example and misc fixes
Mark Watson <watsonm@netflix.com>
parents: 15
diff changeset
   834
    </section>
5
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   835
    <!--
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   836
    <section class='appendix'>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   837
      <h2>Acknowledgements</h2>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   838
      <p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   839
        Many thanks to ...
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   840
      </p>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   841
    </section>
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   842
    -->
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   843
  
1e742dabb3dd Pubrules fixes including rename of HTML to Overview.html
Mark Watson <watsonm@netflix.com>
parents:
diff changeset
   844
21
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   845
<section id="references" class="appendix" typeof="bibo:Chapter" resource="#references" property="bibo:hasPart"><!--OddPage--><h2 id="h-references" resource="#h-references"><span property="xhv:role" resource="xhv:heading"><span class="secno">A. </span>References</span></h2><section id="normative-references" typeof="bibo:Chapter" resource="#normative-references" property="bibo:hasPart"><h3 id="h-normative-references" resource="#h-normative-references"><span property="xhv:role" resource="xhv:heading"><span class="secno">A.1 </span>Normative references</span></h3><dl class="bibliography" resource=""><dt id="bib-HTML5">[HTML5]</dt><dd>Ian Hickson; Robin Berjon; Steve Faulkner; Travis Leithead; Erika Doyle Navara; Edward O'Connor; Silvia Pfeiffer. W3C. <a href="http://www.w3.org/TR/html5/" property="dc:requires"><cite>HTML5</cite></a>. 28 October 2014. W3C Recommendation. URL: <a href="http://www.w3.org/TR/html5/" property="dc:requires">http://www.w3.org/TR/html5/</a>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   846
</dd><dt id="bib-RFC2119">[RFC2119]</dt><dd>S. Bradner. IETF. <a href="https://tools.ietf.org/html/rfc2119" property="dc:requires"><cite>Key words for use in RFCs to Indicate Requirement Levels</cite></a>. March 1997. Best Current Practice. URL: <a href="https://tools.ietf.org/html/rfc2119" property="dc:requires">https://tools.ietf.org/html/rfc2119</a>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   847
</dd><dt id="bib-WEBCRYPTO">[WEBCRYPTO]</dt><dd>Ryan Sleevi, Mark Watson <a href="http://www.w3.org/TR/WebCryptoAPI/" property="dc:requires"><cite>Web Cryptography API.</cite></a> W3C Working Draft (Work in progress.) URL: <a href="http://www.w3.org/TR/WebCryptoAPI/" property="dc:requires">http://www.w3.org/TR/WebCryptoAPI/</a> 
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   848
</dd><dt id="bib-WEBIDL">[WEBIDL]</dt><dd>Cameron McCormack; Boris Zbarsky. W3C. <a href="http://www.w3.org/TR/WebIDL-1/" property="dc:requires"><cite>WebIDL Level 1</cite></a>. 8 March 2016. W3C Candidate Recommendation. URL: <a href="http://www.w3.org/TR/WebIDL-1/" property="dc:requires">http://www.w3.org/TR/WebIDL-1/</a>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   849
</dd><dt id="bib-WEBWORKERS">[WEBWORKERS]</dt><dd>Ian Hickson. W3C. <a href="http://www.w3.org/TR/workers/" property="dc:requires"><cite>Web Workers</cite></a>. 24 September 2015. W3C Working Draft. URL: <a href="http://www.w3.org/TR/workers/" property="dc:requires">http://www.w3.org/TR/workers/</a>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   850
</dd></dl></section><section id="informative-references" typeof="bibo:Chapter" resource="#informative-references" property="bibo:hasPart"><h3 id="h-informative-references" resource="#h-informative-references"><span property="xhv:role" resource="xhv:heading"><span class="secno">A.2 </span>Informative references</span></h3><dl class="bibliography" resource=""><dt id="bib-COOKIES">[COOKIES]</dt><dd>A. Barth. IETF. <a href="https://tools.ietf.org/html/rfc6265" property="dc:references"><cite>HTTP State Management Mechanism</cite></a>. April 2011. Proposed Standard. URL: <a href="https://tools.ietf.org/html/rfc6265" property="dc:references">https://tools.ietf.org/html/rfc6265</a>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   851
</dd><dt id="bib-INDEXEDDB">[INDEXEDDB]</dt><dd>Nikunj Mehta; Jonas Sicking; Eliot Graff; Andrei Popescu; Jeremy Orlow; Joshua Bell. W3C. <a href="http://www.w3.org/TR/IndexedDB/" property="dc:references"><cite>Indexed Database API</cite></a>. 8 January 2015. W3C Recommendation. URL: <a href="http://www.w3.org/TR/IndexedDB/" property="dc:references">http://www.w3.org/TR/IndexedDB/</a>
af572aeba17f Update Editor's draft to latest respect and to note status
Mark Watson <watsonm@netflix.com>
parents: 20
diff changeset
   852
</dd></dl></section></section><p role="navigation" id="back-to-top"><a href="#toc"><abbr title="Back to Top">↑</abbr></a></p><script async="" defer="" src="https://www.w3.org/scripts/TR/2016/fixup.js"></script></body></html>