Skip to content

Fix off-by-1 index bug in amp state #1146

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

Merged
merged 2 commits into from
Jun 20, 2023
Merged

Conversation

powerivq
Copy link
Collaborator

@powerivq powerivq commented Jun 14, 2023

a6bcd6f changed the indice by adding 1 to all SET/GET operation. However, amp.js is not updated.

Fixes ampproject/amphtml#39016 (will need to release worker-dom and update depencency on amphtml though)

Uncertain on what is the best way to cover this scenario by test, but could be a further work.

It appears that this change will only affect amp.

@erwinmombay erwinmombay merged commit f224511 into ampproject:main Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Worker DOM integration is broken
2 participants