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

webRequest.getSecurityInfo options parameter optional #35345

Conversation

rebloor
Copy link
Contributor

@rebloor rebloor commented Aug 7, 2024

Description

Documents the change made in Bug 1909474 webRequest.getSecurityInfo() options parameter is documented as optional but cannot be optional

Related issues and pull requests

Related BCD change in mdn/browser-compat-data#24056

@rebloor rebloor added the Content:WebExt WebExtensions docs label Aug 7, 2024
@rebloor rebloor self-assigned this Aug 7, 2024
@rebloor rebloor requested review from a team as code owners August 7, 2024 02:31
@rebloor rebloor requested review from pepelsbey and Rob--W and removed request for a team August 7, 2024 02:31
@github-actions github-actions bot added Content:Firefox Content in the Mozilla/Firefox subtree size/s [PR only] 6-50 LoC changed labels Aug 7, 2024
Copy link
Contributor

github-actions bot commented Aug 7, 2024

Preview URLs

External URLs (1)

URL: /en-US/docs/Mozilla/Firefox/Releases/130
Title: Firefox 130 for developers

(comment last updated: 2024-08-08 17:22:07)

Copy link
Member

@Rob--W Rob--W left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with the requested change applied.

@@ -28,9 +28,9 @@ let gettingInfo = browser.webRequest.getSecurityInfo(

- `requestId`
- : `string`. ID of the request for which you want security info. You can get this from the `details` object that is passed into any `webRequest` event listeners.
- `options`
- `options` {{optional_inline}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Above at line 23, change "object" to "optional object" too.

Copy link
Contributor

github-actions bot commented Aug 7, 2024

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot added the merge conflicts 🚧 [PR only] label Aug 7, 2024
@github-actions github-actions bot removed the merge conflicts 🚧 [PR only] label Aug 8, 2024
@rebloor rebloor merged commit 8de26f8 into mdn:main Aug 8, 2024
8 checks passed
@rebloor rebloor deleted the webRequest.getSecurityInfo-options-parameter-required branch August 8, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Firefox Content in the Mozilla/Firefox subtree Content:WebExt WebExtensions docs size/s [PR only] 6-50 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants