@@ -8275,9 +8275,8 @@ interface <dfn>DOMStringList</dfn> {
8275
8275
<p>If ! <span>IsSharedArrayBuffer</span>(<var>value</var>) is true, then:
8276
8276
8277
8277
<ol>
8278
- <li><p>Let <var>agentCluster</var> be the <span>current Realm Record </span>'s corresponding
8278
+ <li><p>Let <var>agentCluster</var> be <span>surrounding agent </span>'s
8279
8279
<span>agent cluster</span>.</p></li>
8280
- <!-- Should this use the surrounding agent's agent cluster instead? -->
8281
8280
8282
8281
<li>
8283
8282
<p>If <var>agentCluster</var>'s <span>allow sidechannel attacks</span> is false, then throw
@@ -95255,6 +95254,9 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
95255
95254
are:</p>
95256
95255
95257
95256
<ol>
95257
+ <li><p>Set <var>serialized</var>.[[AllowSideChannelAttacks]] to <span>surrounding agent</span>'s
95258
+ <span>agent cluster</span>'s <span>allow sidechannel attacks</span>.</p></li>
95259
+
95258
95260
<li><p>Set <var>serialized</var>.[[BitmapData]] to a copy of <var>value</var>'s <span
95259
95261
data-x="concept-ImageBitmap-bitmap-data">bitmap data</span>.</p></li>
95260
95262
@@ -95268,14 +95270,14 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
95268
95270
95269
95271
<ol>
95270
95272
<li>
95271
- <p>If <var>serialized</var>.[[OriginClean]] is false and <span>surrounding agent</span>'s
95273
+ <p>If <var>serialized</var>.[[OriginClean]] is false,
95274
+ <var>serialized</var>.[[AllowSideChannelAttacks]] is false, and <span>surrounding agent</span>'s
95272
95275
<span>agent cluster</span>'s <span>allow sidechannel attacks</span> is true, then throw a
95273
95276
<span>"<code>DataCloneError</code>"</span> <code>DOMException</code>.</p>
95274
95277
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>
95278
+ <p class="warning">To truly protect against sidechannel attacks implementations should avoid
95279
+ transmitting <var>serialized</var>.[[BitmapData]] to the <span>surrounding agent</span>'s
95280
+ <span>agent cluster</span> under the above conditions.</p>
95279
95281
</li>
95280
95282
95281
95283
<li><p>Set <var>value</var>'s <span data-x="concept-ImageBitmap-bitmap-data">bitmap data</span>
@@ -95288,6 +95290,9 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
95288
95290
<p>Their <span>transfer steps</span>, given <var>value</var> and <var>dataHolder</var>, are:</p>
95289
95291
95290
95292
<ol>
95293
+ <li><p>Set <var>dataHolder</var>.[[AllowSideChannelAttacks]] to <span>surrounding agent</span>'s
95294
+ <span>agent cluster</span>'s <span>allow sidechannel attacks</span>.</p></li>
95295
+
95291
95296
<li><p>Set <var>dataHolder</var>.[[BitmapData]] to <var>value</var>'s <span
95292
95297
data-x="concept-ImageBitmap-bitmap-data">bitmap data</span>.</p></li>
95293
95298
@@ -95304,14 +95309,14 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
95304
95309
95305
95310
<ol>
95306
95311
<li>
95307
- <p>If <var>dataHolder</var>.[[OriginClean]] is false and <span>surrounding agent</span>'s
95312
+ <p>If <var>dataHolder</var>.[[OriginClean]] is false,
95313
+ <var>dataHolder</var>.[[AllowSideChannelAttacks]] is false, and <span>surrounding agent</span>'s
95308
95314
<span>agent cluster</span>'s <span>allow sidechannel attacks</span> is true, then throw a
95309
95315
<span>"<code>DataCloneError</code>"</span> <code>DOMException</code>.</p>
95310
95316
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>
95317
+ <p class="warning">To truly protect against sidechannel attacks implementations should avoid
95318
+ sharing <var>dataHolder</var>.[[BitmapData]] with <span>surrounding agent</span>'s
95319
+ <span>agent cluster</span> under the above conditions.</p>
95315
95320
</li>
95316
95321
95317
95322
<li><p>Set <var>value</var>'s <span data-x="concept-ImageBitmap-bitmap-data">bitmap data</span>
0 commit comments