From b709db3c22b4346190b376a47ad68570b7ac4cd8 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 4 Oct 2016 10:45:11 +0200 Subject: [PATCH] Return null when window.open() is popup blocked Follow up to #1848, fixes #1851. --- source | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source b/source index 7cc166f3cb6..936c6f3f4ea 100644 --- a/source +++ b/source @@ -78688,7 +78688,7 @@ callback FrameRequestCallback = void (DOMHighResTimeStampOtherwise, apply the rules for choosing a browsing context given a browsing context name using target as the name and source browsing context as the context in which the algorithm is executed. If this results in there not being a chosen browsing - context, then abort these steps. Otherwise, let target browsing context be the + context, then return null. Otherwise, let target browsing context be the browsing context so obtained.

@@ -78757,9 +78757,9 @@ callback FrameRequestCallback = void (DOMHighResTimeStamp
  • If the result of splitting features - on commas contains the token "noopener", disown target browsing context's opener, and return null.

  • + on commas contains the token "noopener", then disown target browsing context's opener and + return null.

  • Otherwise, return the WindowProxy object of target browsing context.