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

Provide dummy impl for CID service in inabox. #23018

Merged
merged 3 commits into from
Jun 26, 2019

Conversation

lannka
Copy link
Contributor

@lannka lannka commented Jun 25, 2019

for #22867

reduced size of amp4ads-v0.js from 271K to 265.4K

@@ -629,20 +628,6 @@ describes.sandboxed('UrlReplacements', {}, () => {
});
});

it('should replace CLIENT_ID with empty string for inabox', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

We do have an integration test for this right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, i checked its here

expect(queries['cid']).to.equal('');

@@ -287,12 +286,6 @@ export class GlobalVariableSource extends VariableSource {
/*OK*/ ' Cookie name, is required'
);

if (getMode().runtime == 'inabox') {
Copy link
Contributor

Choose a reason for hiding this comment

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

Woohoo! Thank you! 🎉 🎉

@lannka lannka merged commit 4e2a572 into ampproject:master Jun 26, 2019
@lannka lannka deleted the inabox-lite-cid branch June 27, 2019 00:39
thekorn pushed a commit to edelight/amphtml that referenced this pull request Sep 11, 2019
* Provide dummy impl for CID service in inabox.

* Remove test that is no longer relevant

* lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants