From 63c961dd886dbaa72df30f6764088ded8891161d Mon Sep 17 00:00:00 2001
From: Anne van Kesteren
Date: Thu, 4 May 2017 06:56:23 +0200
Subject: [PATCH] Make window.open() throw for URL parser failures
Tests: https://github.com/w3c/web-platform-tests/issues/5776.
Fixes #2490.
---
source | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/source b/source
index 018e1770502..32f322fa707 100644
--- a/source
+++ b/source
@@ -78744,18 +78744,8 @@ callback FrameRequestCallback = void (DOMHighResTimeStampOtherwise, parse url relative to entry
settings, and let resource be the resulting URL record, if any. If
- the parse a URL algorithm failed, then run one of the following two steps
- instead:
-
-
-
- Let resource be a resource representing an inline error page.
-
- If new is false, jump to the step labeled end, otherwise, let
- resource be the URL "about:blank
".
-
-
-
+ the parse a URL algorithm failed, then throw a
+ "SyntaxError
" DOMException
.