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.
Refactor experiments to use localStorage (ampproject#22796)
* Refactor experiments to use localStorage, not cookies. * Update experiments.html. * Fix lint. * Whitelist in presubmit check for localStorage. * Show redirect tool on cdn.ampproject.org instead of experiment toggles. * Use util functions where possible. * Add user warning to AMP.toggleExperiment. * Update experiments/README.md. * Fix tests. * Try/catch localStorage, support origin URLs. * Remove viewer URL support. * Move localStorage check inside try/catch.
- Loading branch information
William Chou
authored and
RINDO
committed
Jul 24, 2019
1 parent
ecf3a70
commit bd80446
Showing
7 changed files
with
295 additions
and
202 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
Oops, something went wrong.