Skip to content

Note on behavior of runtime.getURL() with fetch - #44971

Open
rebloor wants to merge 1 commit into
mdn:mainfrom
rebloor:Issue-39197-browser.runtime.getURL-response-handling
Open

Note on behavior of runtime.getURL() with fetch#44971
rebloor wants to merge 1 commit into
mdn:mainfrom
rebloor:Issue-39197-browser.runtime.getURL-response-handling

Conversation

@rebloor

@rebloor rebloor commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Description

Add note to provide clarification of the behavior of runtime.getURL() when used in fetch as a result of the method not including a check that the resource exists.

Related issues and pull requests

Fixes #39197

@rebloor
rebloor requested review from Rob--W and bacharakis July 30, 2026 17:26
@rebloor rebloor self-assigned this Jul 30, 2026
@rebloor
rebloor requested a review from a team as a code owner July 30, 2026 17:26
@rebloor rebloor added the Content:WebExt WebExtensions docs label Jul 30, 2026
@rebloor rebloor changed the title Note on behavior of runtime.getURL() with fetch Note on behavior of runtime.getURL() with fetch Jul 30, 2026
@github-actions github-actions Bot added the size/s [PR only] 6-50 LoC changed label Jul 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks like an implementation bug that should not be documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

browser.runtime.getURL() should have a note on non-standard ok response handling

3 participants