diff --git a/testing/web-platform/tests/html/browsers/the-window-object/window-open-noopener.html b/testing/web-platform/tests/html/browsers/the-window-object/window-open-noopener.html index 5da66c3c810a8..28ad123ba4f67 100644 --- a/testing/web-platform/tests/html/browsers/the-window-object/window-open-noopener.html +++ b/testing/web-platform/tests/html/browsers/the-window-object/window-open-noopener.html @@ -144,7 +144,6 @@ noopener ' should -not reuse existing target @@ -154,7 +153,7 @@ " noopener " -shouldReuse +shouldReturnWindow : false } @@ -178,7 +177,7 @@ = 1 " -shouldReuse +shouldReturnWindow : false } @@ -201,7 +200,7 @@ = 0 " -shouldReuse +shouldReturnWindow : true } @@ -210,16 +209,12 @@ : " noopener -needs -to -be -present -as -a -token -on -its -own +separated +only +by +spaces +should +work " secondWindowFeatureString : @@ -228,9 +223,9 @@ me noopener " -shouldReuse +shouldReturnWindow : -true +false } { testDescription @@ -252,7 +247,7 @@ r noopener " -shouldReuse +shouldReturnWindow : false } @@ -276,7 +271,7 @@ hey there " -shouldReuse +shouldReturnWindow : false } @@ -298,7 +293,30 @@ hey there " -shouldReuse +shouldReturnWindow +: +false +} +{ +testDescription +: +" +noreferrer +should +also +suppress +opener +when +reusing +existing +target +" +secondWindowFeatureString +: +" +noreferrer +" +shouldReturnWindow : false } @@ -509,7 +527,7 @@ ( test . -shouldReuse +shouldReturnWindow ) { t @@ -706,10 +724,10 @@ data . haveOpener -false +true " Should -not +still have opener " @@ -723,7 +741,7 @@ window ) ; -assert_equals +assert_not_equals ( w1 . @@ -735,6 +753,11 @@ : blank " +" +Should +have +navigated +" ) ; } diff --git a/testing/web-platform/tests/html/semantics/links/links-created-by-a-and-area-elements/htmlanchorelement_noopener.html b/testing/web-platform/tests/html/semantics/links/links-created-by-a-and-area-elements/htmlanchorelement_noopener.html index fa651e7298533..6d423f5411c17 100644 --- a/testing/web-platform/tests/html/semantics/links/links-created-by-a-and-area-elements/htmlanchorelement_noopener.html +++ b/testing/web-platform/tests/html/semantics/links/links-created-by-a-and-area-elements/htmlanchorelement_noopener.html @@ -410,9 +410,11 @@ special targets above -in -fact -ignores +is +still +able +to +reuse existing things with @@ -535,7 +537,7 @@ a given name -ignores +reuses an existing window @@ -596,7 +598,7 @@ . data ; -assert_false +assert_true ( data . @@ -628,7 +630,7 @@ window ) ; -assert_equals +assert_not_equals ( w . @@ -710,7 +712,7 @@ a given name -ignores +reuses an existing subframe @@ -758,7 +760,7 @@ hasOpener ) ; -assert_false +assert_true ( data . @@ -775,7 +777,7 @@ " ) ; -assert_equals +assert_not_equals ( document .