Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ampdoc: Add get/setMetaByName methods (#26609)
* ampdoc: Add get/setMetaByName methods - Add getMetaByName to AmpDoc with overrides implemented in AmpDocSingle and AmpDocShadow to get the content value of a meta[name] tag. - Add setMetaByName ot AmpDoc with override implemented in AmpDocShadow to store meta[name] tag content values. * ampdoc: Correct jsdoc override * ampdoc: Revisions based on review (relax) - Simplify meta name/content lookups - Add test for non-shadow getMetaByName
- Loading branch information
Showing
4 changed files
with
72 additions
and
0 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
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