Skip to content

Commit

Permalink
Condense SecurityError section
Browse files Browse the repository at this point in the history
  • Loading branch information
VergeA committed Apr 26, 2024
1 parent 8c255b6 commit 3abc652
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1711,17 +1711,17 @@ Several APIs specific to fenced frames are defined on the {{Fence}} interface.

1. Let |navigable| be [=this=]'s [=relevant global object=]'s [=navigable=].

1. If |navigable| is not a [=fenced navigable container/fenced navigable=], then
throw a {{SecurityError}} {{DOMException}}.
1. If any of the following conditions are met, throw a {{SecurityError}} {{DOMException}}:

1. If |event| is null, then throw a {{SecurityError}} {{DOMException}}.
1. |navigable| is not a [=fenced navigable container/fenced navigable=].

1. |event| is null.

1. If |event|'s {{Event/isTrusted}} is false, then throw a {{SecurityError}} {{DOMException}}.
1. |event|'s {{Event/isTrusted}} is false.

1. If |event|'s [=Event/dispatch flag=] is unset, then throw a {{SecurityError}} {{DOMException}}.
1. |event|'s [=Event/dispatch flag=] is unset.

1. If |event|'s {{Event/type}} is not "fencedtreeclick", throw a {{SecurityError}}
{{DOMException}}.
1. |event|'s {{Event/type}} is not "fencedtreeclick".

1. If [=this=]'s [=relevant global object=] does not have [=transient activation=], then return.

Expand Down

0 comments on commit 3abc652

Please sign in to comment.