diff --git a/spec.bs b/spec.bs index 44a4bc2..6bcdd3c 100644 --- a/spec.bs +++ b/spec.bs @@ -725,9 +725,9 @@ boundary, which can allow for colluding parties to join cross-site data and buil user. To prevent that, the ad auction API [=construct a pending fenced frame config|constructs=] a [=fenced frame config=] whose underlying [=fenced frame config/mapped url|URL=] is opaque to the embedding context. The [=fenced frame config=] is also constructed with restrictions on what the -[=fenced frame config/container size=] and [=fenced frame config/content size=] of the frame must be -and what the [=fenced frame config/effective enabled permissions|permissions policy=] of the frame -must be, as those can be used as fingerprinting vectors. +[=fenced frame config/content size=] of the frame must be and what the [=fenced frame config/ +effective enabled permissions|permissions policy=] of the frame must be, as those can be used as +fingerprinting vectors. Displaying a personalized payment button: @@ -1127,9 +1127,6 @@ A fenced frame config is a [=struct=] with the following [=str : visibility :: a [=fencedframeconfig/visibility=] - : container size - :: null, or a [=fencedframetype/size=] - : content size :: null, or a [=struct=] with the following [=struct/items=]: : value @@ -1226,9 +1223,6 @@ A fenced frame config instance is a [=struct=] with the follow : mapped url :: a [=URL=] - : container size - :: null, or a [=fencedframetype/size=] - : content size :: null, or a [=fencedframetype/size=] @@ -1274,9 +1268,6 @@ A fenced frame config instance is a [=struct=] with the follow : [=fenced frame config instance/mapped url=] :: |config|'s [=fenced frame config/mapped url=]'s [=mapped url/value=] - : [=fenced frame config instance/container size=] - :: |config|'s [=fenced frame config/container size=] - : [=fenced frame config instance/content size=] :: |config|'s [=fenced frame config/content size=] if null, otherwise |config|'s [=fenced frame config/content size=]'s [=content size/value=] @@ -1373,18 +1364,9 @@ maps to an internal [=fenced frame config=] [=struct=].
   enum OpaqueProperty {"opaque"};
 
-  typedef (unsigned long or OpaqueProperty) FencedFrameConfigSize;
-  typedef USVString FencedFrameConfigURL;
-
   [Exposed=Window, Serializable]
   interface FencedFrameConfig {
     constructor(USVString url);
-    
-    readonly attribute FencedFrameConfigSize? containerWidth;
-    readonly attribute FencedFrameConfigSize? containerHeight;
-    readonly attribute FencedFrameConfigSize? contentWidth;
-    readonly attribute FencedFrameConfigSize? contentHeight;
-
     undefined setSharedStorageContext(DOMString contextString);
   };
 
@@ -1394,10 +1376,6 @@ Each {{FencedFrameConfig}} has: * A url, a [=URL=], failure, or null, initially null * A urn, a [=urn uuid=] * A sharedStorageContext, a [=string=] - * A containerWidth, a {{FencedFrameConfigSize}} or null - * A containerHeight, a {{FencedFrameConfigSize}} or null - * A contentWidth, a {{FencedFrameConfigSize}} or null - * A contentHeight, a {{FencedFrameConfigSize}} or null Note: A config's [=fencedframeconfig/url=] is only null if a [=fencedframeconfig/urn=] is supplied. @@ -1412,26 +1390,6 @@ Note: A config's [=fencedframeconfig/url=] is only null if a [=fencedframeconfig 1. Return |config|. -
- The {{FencedFrameConfig/containerWidth}} IDL attribute getter steps are to return [=this=]'s - [=fencedframeconfig/containerWidth=]. -
- -
- The {{FencedFrameConfig/containerHeight}} IDL attribute getter steps are to return [=this=]'s - [=fencedframeconfig/containerHeight=]. -
- -
- The {{FencedFrameConfig/contentWidth}} IDL attribute getter steps are to return [=this=]'s - [=fencedframeconfig/contentWidth=]. -
- -
- The {{FencedFrameConfig/contentHeight}} IDL attribute getter steps are to return [=this=]'s - [=fencedframeconfig/contentHeight=]. -
-
The setSharedStorageContext(|contextString|) method steps are to set [=this=]'s [=fencedframeconfig/sharedStorageContext=] to |contextString|. @@ -1449,20 +1407,6 @@ Note: A config's [=fencedframeconfig/url=] is only null if a [=fencedframeconfig 1. Set |serialized|.\[[SharedStorageContext]] to |value|'s [=fencedframeconfig/ sharedStorageContext=]. - - 1. Set |serialized|.\[[ContainerWidth]] to |value|'s [=fencedframeconfig/ - containerWidth=]. - - 1. Set |serialized|.\[[ContainerHeight]] to |value|'s [=fencedframeconfig/ - containerHeight=]. - - 1. Set |serialized|.\[[ContentWidth]] to |value|'s [=fencedframeconfig/ - contentWidth=]. - - 1. Set |serialized|.\[[ContentHeight]] to |value|'s [=fencedframeconfig/ - contentHeight=]. - -
@@ -1475,15 +1419,6 @@ Note: A config's [=fencedframeconfig/url=] is only null if a [=fencedframeconfig 1. Initialize |value|'s [=fencedframeconfig/sharedStorageContext=] to |serialized|.\[[SharedStorageContext]]. - - 1. Initialize |value|'s [=fencedframeconfig/containerWidth=] to |serialized|.\[[ContainerWidth]]. - - 1. Initialize |value|'s [=fencedframeconfig/containerHeight=] to - |serialized|.\[[ContainerHeight]]. - - 1. Initialize |value|'s [=fencedframeconfig/contentWidth=] to |serialized|.\[[ContentWidth]]. - - 1. Initialize |value|'s [=fencedframeconfig/contentHeight=] to |serialized|.\[[ContentHeight]].
Note: To help with ease of adoption, @@ -1864,26 +1799,6 @@ Several APIs specific to fenced frames are defined on the {{Fence}} interface. : [=fencedframeconfig/sharedStorageContext=] :: |config|'s [=fenced frame config/embedder shared storage context=] - : [=fencedframeconfig/containerWidth=] - :: null if |config|'s [=fenced frame config/container size=] is null, otherwise |config|'s - [=fenced frame config/container size=]'s [=size/width=] - - : [=fencedframeconfig/containerHeight=] - :: null if |config|'s [=fenced frame config/container size=] is null, otherwise |config|'s - [=fenced frame config/container size=]'s [=size/height=] - - : [=fencedframeconfig/contentWidth=] - :: null if |config|'s [=fenced frame config/content size=] is null, the `"opaque"` - {{OpaqueProperty}} if |config|'s [=fenced frame config/content size=]'s [=content - size/visibility=] is [=visibility/opaque=], otherwise |config|'s [=fenced frame - config/content size=]'s [=size/width=] - - : [=fencedframeconfig/contentHeight=] - :: null if |config|'s [=fenced frame config/content size=] is null, the `"opaque"` - {{OpaqueProperty}} if |config|'s [=fenced frame config/content size=]'s [=content - size/visibility=] is [=visibility/opaque=], otherwise |config|'s [=fenced frame - config/content size=]'s [=size/height=] - 1. [=list/Append=] |newConfig| to |results|. 1. Return |results|.