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

Amp-ad remove doubleclick delayed fetch deprecation experiment #15564

Merged

Conversation

keithwrightbos
Copy link
Contributor

Remove 'dcdf-whitelist-deprecation' experiment

@@ -134,6 +123,7 @@ describes.realWin('Ad loader', {amp: true}, env => {
.withArgs('amp-ad-network-zort-impl')
.returns(Promise.reject(new Error('I failed!')));
ampAd = new AmpAd(ampAdElement);
sandbox.stub(ampAd.user(), 'error');
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Gets around allowConsoleError which given the error is thrown within a promise chain is a real pain to indicate expected appearance. This seemed the easiest way to make it work (can revisit later).

@keithwrightbos keithwrightbos merged commit 575597f into ampproject:master May 25, 2018
@keithwrightbos keithwrightbos deleted the dfd_amp_ad_exp_cleanup branch May 25, 2018 13:17
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.

None yet

3 participants