From 54828a7de260c105091bef852aa6283e66e642cd Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Thu, 12 Dec 2024 12:40:56 +0900 Subject: [PATCH] Fix null URL handling in "get noopener for window open" Closes #10844. Also handles the case of a blob: URL with a null blob URL entry, e.g., window.open('blob:https://video_url'). --- source | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source b/source index c5fa024ee52..a201eb97b91 100644 --- a/source +++ b/source @@ -89901,12 +89901,13 @@ dictionary WindowPostMessageOptions : StructuredSeri

To get noopener for window open, given a Document sourceDocument, an ordered map tokenizedFeatures, and a - URL record url, perform the following steps. They return a boolean.

+ URL record-or-null url, perform the following steps. They return a + boolean.

  1. -

    If url's scheme is "blob":

    +

    If url is not null and url's blob URL entry is not null:

    1. Let blobOrigin be url's