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

Fix for #1491: Disable use of $httpHeaders in browser extensions too. #2534

Merged
merged 3 commits into from
Jan 14, 2020

Conversation

mikelehen
Copy link
Contributor

This is a follow-up to #2464.

@wu-hui Can you test this with your repro extension?
@wilhuff Can you review?
@hsubox76 Can you review the util changes?

@wu-hui
Copy link
Contributor

wu-hui commented Jan 14, 2020

I still see permission issue after applying this PR.

FWIW, isBrowserExtension does return true correctly when run from extension.

@wu-hui wu-hui assigned mikelehen and unassigned wu-hui Jan 14, 2020
@wu-hui
Copy link
Contributor

wu-hui commented Jan 14, 2020

I still see permission issue after applying this PR.

FWIW, isBrowserExtension does return true correctly when run from extension.

Turns out I did not signin first..after sign in it worked fine.

@mikelehen
Copy link
Contributor Author

FYI- Based on #1491 (comment) I tweaked the isBrowserExtension() implementation... I'll try to verify it a bit better today.

@mikelehen
Copy link
Contributor Author

Verified this returns the correct value in and out of a Chrome or Firefox extension.

@wilhuff wilhuff removed their assignment Jan 14, 2020
Copy link
Contributor

@wilhuff wilhuff left a comment

Choose a reason for hiding this comment

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

LGTM

@wilhuff wilhuff removed their assignment Jan 14, 2020
@mikelehen mikelehen merged commit dac1757 into master Jan 14, 2020
@mikelehen mikelehen deleted the mikelehen/webchannel-extensions-fix branch January 14, 2020 19:12
@hsubox76 hsubox76 added this to the next milestone Jan 16, 2020
@firebase firebase locked and limited conversation to collaborators Feb 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
4 participants