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

[Bug] TypeError on handle-fetch.js #50

Closed
WorldLanguages opened this issue Aug 9, 2020 · 1 comment
Closed

[Bug] TypeError on handle-fetch.js #50

WorldLanguages opened this issue Aug 9, 2020 · 1 comment
Assignees
Labels
type: bug A bug in the addon loader, or in a specific addon

Comments

@WorldLanguages
Copy link
Member

Describe the bug

Error in event handler: TypeError: Cannot read property 'startsWith' of undefined at chrome.webRequest.onBeforeSendHeaders.addListener.urls (chrome-extension://aeepldbjfoihffgcaejikpoeppffnlbd/background/handle-fetch.js:12:26) at subEventCallback (extensions::webRequestEvent:81:32)

To Reproduce

Not sure, happened while browsing other stuff, then saw the log in the devtools I left open.

Expected behavior

The code should check if details.initiator and details.originUrl are strings. (TODO: look at MDN, when would they not be?)

Device (please complete the following information):

Latest Chromium

@WorldLanguages WorldLanguages added the type: bug A bug in the addon loader, or in a specific addon label Aug 9, 2020
@WorldLanguages WorldLanguages self-assigned this Aug 9, 2020
@WorldLanguages
Copy link
Member Author

btw, @BoomerScratch pretty epic templates. thank so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A bug in the addon loader, or in a specific addon
Projects
None yet
Development

No branches or pull requests

1 participant