-
-
Notifications
You must be signed in to change notification settings - Fork 772
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update Web Message Response Mode and remove its Relay Mode
- Loading branch information
Showing
18 changed files
with
60 additions
and
350 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
lib/actions/authorization/pushed_authorization_request_remap_errors.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -638,62 +638,6 @@ describe('Client metadata validation', () => { | |
); | ||
}); | ||
|
||
context('web_message_uris', function () { | ||
const configuration = { features: { webMessageResponseMode: { enabled: true } } }; | ||
defaultsTo(this.title, [], undefined, configuration); | ||
mustBeArray(this.title, undefined, configuration); | ||
|
||
allows(this.title, [], undefined, configuration); | ||
allows(this.title, ['https://example.com'], undefined, configuration); | ||
allows(this.title, ['https://example.com:3000'], undefined, configuration); | ||
rejects(this.title, [123], /must only contain strings$/, undefined, configuration); | ||
rejects(this.title, [true], /must only contain strings$/, undefined, configuration); | ||
rejects(this.title, [null], /must only contain strings$/, undefined, configuration); | ||
rejects(this.title, ['not a uri'], /must only contain valid uris$/, undefined, configuration); | ||
rejects( | ||
this.title, | ||
['custom-scheme://not-a-web-uri'], | ||
/must only contain web uris$/, | ||
undefined, | ||
configuration, | ||
); | ||
rejects( | ||
this.title, | ||
['https://example.com/'], | ||
/must only contain origins$/, | ||
undefined, | ||
configuration, | ||
); | ||
rejects( | ||
this.title, | ||
['https://example.com?'], | ||
/must only contain origins$/, | ||
undefined, | ||
configuration, | ||
); | ||
rejects( | ||
this.title, | ||
['https://example.com#'], | ||
/must only contain origins$/, | ||
undefined, | ||
configuration, | ||
); | ||
rejects( | ||
this.title, | ||
['https://foo:[email protected]'], | ||
/must only contain origins$/, | ||
undefined, | ||
configuration, | ||
); | ||
rejects( | ||
this.title, | ||
['https://[email protected]'], | ||
/must only contain origins$/, | ||
undefined, | ||
configuration, | ||
); | ||
}); | ||
|
||
context('require_auth_time', function () { | ||
defaultsTo(this.title, false); | ||
mustBeBoolean(this.title); | ||
|
Oops, something went wrong.