forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<amp-consent> Local storage initial check (ampproject#25765)
* added experiment flag * added configs * changes to prod/canary config * cleaning up * more clean up * merge logic in consent-config * adding in userAssert for consentRequired * Update canary-config.json * Update prod-config.json * Update amp-consent.js * cleaning up * deprecate promptIfUnknownForGeo * consent intialize promise * config merge then validate * check if geoService can't identify * verify consentRequired from endpoint * removed consentState to string * adding comment * bug fixing and geoGroupUnknown * adding in getConsentRequiredPromiseLegacy_() * Update amp-consent.js * requested changes * suggested changes * suggested fixes & fixing unit tests * unit tests, better userAssert messages * adding tests * Suggested changes to tests + bug fixes * starting to write tests for promptunknowngeo * unit tests * remove function*, cleaning up * sandbox change * a little more cleaning up * cleaning * cleaning up logic * fixing tests and promises * testing * bug fix * unit test for cr * test for non remote consentRequired * migrating unit tests * Cleaning code, adding thorough test * get local storage first * local storage priority and tests * adding tests * move logic to consentRequiredPromise * Small changes * fixing tests * fixed tests, added config check * Suggested Changes * cleaning
- Loading branch information
Showing
3 changed files
with
184 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters