diff --git a/spec/index.bs b/spec/index.bs
index ccd9c3fa3..8dbee4db2 100644
--- a/spec/index.bs
+++ b/spec/index.bs
@@ -1361,8 +1361,8 @@ To fetch request given a [=/request=] |request|, |globalObject|, and
When
computing the manifest URL given an {{IdentityProviderConfig}} |provider|, a
-[=string=] |manifestString|, and |globalObject|, perform the following steps. This returns a
-
URL or failure.
+[=string=] |manifestString|, a boolean |requireSameOrigin|, and |globalObject|, perform the
+following steps. This returns a
URL or failure.
1. Let |configUrl| be the result of running [=parse url=] with |provider|'s
{{IdentityProviderConfig/configURL}} and |globalObject|.
1. Let |manifestUrl| be the result of running [=parse url=] given |manifestString| (the relative
@@ -1373,7 +1373,10 @@ When
computing the manifest URL given an {{IdentityProviderConfig}} |
allowed.
1. If |manifestUrl| is failure, return failure.
- 1. If |manifestUrl| is not [=same origin=] with |configUrl|, return failure.
+ 1. If |requireSameOrigin| and |manifestUrl| is not [=same origin=] with |configUrl|, return
+ failure.
+ 1. If |requireSameOrigin| is false and |manifestUrl|'s
domain is not equal to
+ |configUrl|'s, return failure.
1. If |manifestUrl| is not a [=potentially trustworthy URL=], return failure.
1. Return |manifestUrl|.