@@ -918,7 +918,7 @@ describes.realWin('amp-a4a', {amp: true}, (env) => {
918918 a4a . onLayoutMeasure ( ) ;
919919 await a4a . layoutCallback ( ) ;
920920 verifyCachedContentIframeRender ( a4aElement , TEST_URL , true ) ;
921- expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . include ( ' sync-xhr=();' ) ;
921+ expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . include ( " sync-xhr 'none';" ) ;
922922 } ) ;
923923
924924 it ( 'should set feature policy for attribution-reporting when supported' , async ( ) => {
@@ -929,7 +929,7 @@ describes.realWin('amp-a4a', {amp: true}, (env) => {
929929 a4a . onLayoutMeasure ( ) ;
930930 await a4a . layoutCallback ( ) ;
931931 verifyCachedContentIframeRender ( a4aElement , TEST_URL , true ) ;
932- expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . include ( ' sync-xhr=();' ) ;
932+ expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . include ( " sync-xhr 'none';" ) ;
933933 expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . include (
934934 "attribution-reporting 'src';"
935935 ) ;
@@ -943,7 +943,7 @@ describes.realWin('amp-a4a', {amp: true}, (env) => {
943943 a4a . onLayoutMeasure ( ) ;
944944 await a4a . layoutCallback ( ) ;
945945 verifyCachedContentIframeRender ( a4aElement , TEST_URL , true ) ;
946- expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . include ( ' sync-xhr=()' ) ;
946+ expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . include ( " sync-xhr 'none';" ) ;
947947 expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . not . include (
948948 "attribution-reporting 'src';"
949949 ) ;
@@ -1046,7 +1046,7 @@ describes.realWin('amp-a4a', {amp: true}, (env) => {
10461046 await a4a . layoutCallback ( ) ;
10471047 verifyNameFrameRender ( a4aElement , false /* shouldSandbox */ ) ;
10481048 expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . equal (
1049- "sync-xhr=() ;attribution-reporting 'src';"
1049+ "sync-xhr 'none' ;attribution-reporting 'src';"
10501050 ) ;
10511051 } ) ;
10521052
@@ -1058,7 +1058,7 @@ describes.realWin('amp-a4a', {amp: true}, (env) => {
10581058 a4a . onLayoutMeasure ( ) ;
10591059 await a4a . layoutCallback ( ) ;
10601060 verifyNameFrameRender ( a4aElement , false /* shouldSandbox */ ) ;
1061- expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . equal ( ' sync-xhr=()' ) ;
1061+ expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . equal ( " sync-xhr 'none';" ) ;
10621062 } ) ;
10631063
10641064 [ '' , 'client_cache' , 'safeframe' , 'some_random_thing' ] . forEach (
@@ -1183,7 +1183,7 @@ describes.realWin('amp-a4a', {amp: true}, (env) => {
11831183 false /* shouldSandbox */
11841184 ) ;
11851185 expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . equal (
1186- "sync-xhr=() ;attribution-reporting 'src';"
1186+ "sync-xhr 'none' ;attribution-reporting 'src';"
11871187 ) ;
11881188 } ) ;
11891189
@@ -1199,7 +1199,7 @@ describes.realWin('amp-a4a', {amp: true}, (env) => {
11991199 DEFAULT_SAFEFRAME_VERSION ,
12001200 false /* shouldSandbox */
12011201 ) ;
1202- expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . equal ( ' sync-xhr=()' ) ;
1202+ expect ( a4a . iframe . getAttribute ( 'allow' ) ) . to . equal ( " sync-xhr 'none';" ) ;
12031203 } ) ;
12041204
12051205 [ '' , 'client_cache' , 'nameframe' , 'some_random_thing' ] . forEach (
0 commit comments