@@ -8283,9 +8283,9 @@ interface <dfn>DOMStringList</dfn> {
8283
8283
<p>If <var>agentCluster</var>'s <span>allow sidechannel attacks</span> is set to false, then
8284
8284
throw a <span>"<code>DataCloneError</code>"</span> <code>DOMException</code>.</p>
8285
8285
8286
- <p class="note">This check is only needed once as <span>allow sidechannel attacks</span>
8287
- cannot change over time and a <code>SharedArrayBuffer</code> cannot leave an <span>agent
8288
- cluster</span>.</p>
8286
+ <p class="note">This check is only needed when serializing (and not when deserializing) as
8287
+ <span>allow sidechannel attacks</span> cannot change over time and a
8288
+ <code>SharedArrayBuffer</code> cannot leave an <span>agent cluster</span>.</p>
8289
8289
</li>
8290
8290
8291
8291
<li><p>If <var>forStorage</var> is true, then throw a
@@ -95267,6 +95267,17 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
95267
95267
are:</p>
95268
95268
95269
95269
<ol>
95270
+ <li>
95271
+ <p>If <var>serialized</var>.[[OriginClean]] is false and <span>surrounding agent</span>'s
95272
+ <span>agent cluster</span>'s <span>allow sidechannel attacks</span> is true, then throw a
95273
+ <span>"<code>DataCloneError</code>"</span> <code>DOMException</code>.</p>
95274
+
95275
+ <p class="warning">To protect against sidechannel attacks implementations should avoid
95276
+ transmitting <var>serialized</var>.[[BitmapData]], when <var>serialized</var>.[[OriginClean]] is
95277
+ false, to <span data-x="agent cluster">agent clusters</span> whose <span>allow sidechannel
95278
+ attacks</span> is true.</p>
95279
+ </li>
95280
+
95270
95281
<li><p>Set <var>value</var>'s <span data-x="concept-ImageBitmap-bitmap-data">bitmap data</span>
95271
95282
to <var>serialized</var>.[[BitmapData]].</p></li>
95272
95283
@@ -95292,6 +95303,17 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
95292
95303
are:</p>
95293
95304
95294
95305
<ol>
95306
+ <li>
95307
+ <p>If <var>dataHolder</var>.[[OriginClean]] is false and <span>surrounding agent</span>'s
95308
+ <span>agent cluster</span>'s <span>allow sidechannel attacks</span> is true, then throw a
95309
+ <span>"<code>DataCloneError</code>"</span> <code>DOMException</code>.</p>
95310
+
95311
+ <p class="warning">To protect against sidechannel attacks implementations should avoid sharing
95312
+ <var>dataHolder</var>.[[BitmapData]], when <var>dataHolder</var>.[[OriginClean]] is false, with
95313
+ <span data-x="agent cluster">agent clusters</span> whose <span>allow sidechannel attacks</span>
95314
+ is true.</p>
95315
+ </li>
95316
+
95295
95317
<li><p>Set <var>value</var>'s <span data-x="concept-ImageBitmap-bitmap-data">bitmap data</span>
95296
95318
to <var>dataHolder</var>.[[BitmapData]].</p></li>
95297
95319
0 commit comments