cross-origin-opener-policy/resource-popup.https.html makes incorrect assumption about win.location.href (#29769)

The test expects that win.location.href starts returning something else than "about:blank" after closing.
While this is true in Firefox and Blink, none of the browser engines actually agree on this (Firefox
returns the empty string, Chrome returns undefined and Safari returns "about:blank").

Per the specification, it seems returning "about:blank" after a window is closed is the expected behavior,
see https://github.com/whatwg/html/issues/6899. I am fixing thus fixing the test so that it can run in
all browsers by checking if "the window is closed" OR "href is no longer about:blank because it was
navigated".
diff --git a/html/cross-origin-opener-policy/resources/resource-popup.html b/html/cross-origin-opener-policy/resources/resource-popup.html
index f6b8114..2957e35 100644
--- a/html/cross-origin-opener-policy/resources/resource-popup.html
+++ b/html/cross-origin-opener-policy/resources/resource-popup.html
@@ -13,7 +13,7 @@
   close();
 };
 const id = setInterval(() => {
-  if (win.location.href !== 'about:blank') {
+  if (win.closed || win.location.href !== 'about:blank') {
     clearInterval(id);
     bc.postMessage({name: win.name || null, closed: win.closed});
   }