From 58073e6f46c89436559c21614bc6077400fd2bd1 Mon Sep 17 00:00:00 2001 From: Blake Kaplan Date: Wed, 20 Jun 2018 15:27:47 -0700 Subject: [PATCH] Fix a small bug in `abort`'s error handling. --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 2ce307fb..74a1b9fe 100644 --- a/index.html +++ b/index.html @@ -1113,8 +1113,9 @@

  • Let request be the context object.
  • If the value of request.[[\state]] is not - "interactive" then throw an "InvalidStateError" - DOMException. + "interactive" then return a promise rejected with a + "InvalidStateError" DOMException and terminate this + algorithm.
  • Let promise be a new promise.