Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more validation when setting AppOptions (PR 18413 follow-up) #18450

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

After the changes in PR #18413 we're now relying even more on AppOptions and it thus seems like a good idea to ensure that no invalid values can be added.
Hence the AppOptions.{set, setAll} methods will now unconditionally validate that the type of the values agree with the default-options.

After the changes in PR 18413 we're now relying even more on `AppOptions` and it thus seems like a good idea to ensure that no invalid values can be added.
Hence the `AppOptions.{set, setAll}` methods will now *unconditionally* validate that the type of the values agree with the default-options.
@mozilla mozilla deleted a comment from moz-tools-bot Jul 20, 2024
@mozilla mozilla deleted a comment from moz-tools-bot Jul 20, 2024
@mozilla mozilla deleted a comment from moz-tools-bot Jul 20, 2024
@mozilla mozilla deleted a comment from moz-tools-bot Jul 20, 2024
@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/e20148a54001f79/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/dfe6df0e9de9412/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/e20148a54001f79/output.txt

Total script time: 8.56 mins

  • Integration Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/dfe6df0e9de9412/output.txt

Total script time: 18.54 mins

  • Integration Tests: FAILED

@timvandermeij timvandermeij merged commit e92a6a1 into mozilla:master Jul 20, 2024
7 checks passed
@timvandermeij
Copy link
Contributor

This sounds like a good idea to me; thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants