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

🐛 SwG now uses AMP sendBeacon interface #26970

Merged
merged 4 commits into from
Feb 26, 2020

Conversation

mborof
Copy link
Contributor

@mborof mborof commented Feb 25, 2020

Redirects the new SwG "sendBeacon" command through AMP's native interface.

@ChrisAntaki
Copy link
Contributor

Good stuff! Could you verify this works in iOS 12, iOS 13, Chrome, and Firefox?

@mborof
Copy link
Contributor Author

mborof commented Feb 26, 2020

Good stuff! Could you verify this works in iOS 12, iOS 13, Chrome, and Firefox?

There is one last XSRF token issue that needs to percolate to production before I can really fully test things. It's all still behind an experiment so we aren't risking production systems at this point if there are random browsers that don't work. I definitely agree this should be tested a lot though.

@ChrisAntaki
Copy link
Contributor

Sounds good!

@chenshay chenshay self-requested a review February 26, 2020 23:33
@chenshay chenshay merged commit 97bcfa1 into ampproject:master Feb 26, 2020
robinvanopstal added a commit to jungvonmatt/amphtml that referenced this pull request Feb 27, 2020
* master: (54 commits)
  inabox-resources: Minor test improvement (ampproject#26916)
  DocInfo: replace metaTags with viewport in API (ampproject#26687)
  🐛 SwG now uses AMP sendBeacon interface (ampproject#26970)
  🏗 Allow array destructuring on preact hooks (ampproject#26901)
  Gulp Dep Check: fail on unused entries (ampproject#26981)
  Update no-import lint rule to forbid sub-paths (ampproject#26531)
  🐛 amp-ad type blade - fix bladeOnLoad callback (ampproject#26627)
  📖 Clarify when max-age is required (ampproject#26956)
  ♻️ Consolidate players as .i-amphtml-media-component (ampproject#26967)
  Add Preact Enzyme tests (ampproject#26529)
  Fixes `update_tests` flag on `gulp validator` (ampproject#26965)
  📦 Update dependency google-closure-library to v20200224 (ampproject#26986)
  🏗 Transform aliased configured components (ampproject#26541)
  ✨ InaboxResources: Observe intersections for some elements' viewportCallbacks (ampproject#26942)
  variable substitutions: Support allowlist lookup in AmpDocShadow (ampproject#26731)
  cl/297197875 Revision bump for ampproject#26877 (ampproject#26982)
  Json fix (ampproject#26971)
  📦 Update dependency mocha to v7.1.0 (ampproject#26976)
  Add documentation for amp-access-scroll (ampproject#26782)
  make controls always shown in amp for email (ampproject#25714)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants