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 1677443 - Implement initialize and core metrics #23

Merged
merged 3 commits into from Jan 13, 2021

Conversation

brizental
Copy link
Member

This is mostly a continuation of my previous PR (#22), becuase I started implementing it accidentally on that work and then realized it was not part of that PR.

Anyways, initialize is much leaner right now than it is in the Android implementation (I've based myself off of that one). It will simply sanitize and set the app id and initialize the core metrics. That, I think, is enough for us right now, concepts such as the dirty flag I am not even sure apply to Glean.js and other stuff related to flushing events or sending deletion request pings need to be implemented yet.

This branch is on top of the branch from #22, so this PR is currently blocked until the other is merged.

brizental added 2 commits January 12, 2021 17:56
src/platform_info/webext.ts Outdated Show resolved Hide resolved
tests/pings/index.spec.ts Outdated Show resolved Hide resolved
tests/pings/index.spec.ts Outdated Show resolved Hide resolved
src/glean.ts Show resolved Hide resolved
@brizental brizental merged commit 693c2f5 into mozilla:main Jan 13, 2021
@brizental brizental deleted the 1677443-initialize branch January 13, 2021 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants