diff --git a/html/cross-origin-opener-policy/resources/common.js b/html/cross-origin-opener-policy/resources/common.js index c5d3c6c1084668..53b80bb6e998e6 100644 --- a/html/cross-origin-opener-policy/resources/common.js +++ b/html/cross-origin-opener-policy/resources/common.js @@ -26,7 +26,7 @@ function coop_test(t, host, coop, channelName, hasOpener) { } function run_coop_tests(documentCOOPValueTitle, testArray) { - for (const test of tests) { + for (const test of testArray) { async_test(t => { coop_test(t, test[0], test[1], `${documentCOOPValueTitle}_to_${test[0].name}_${test[1].replace(/ /g,"-")}`,