Skip to content

🐛 SwG now uses AMP sendBeacon interface#26970

Merged
chenshay merged 4 commits intoampproject:masterfrom
mborof:swg-beacon
Feb 26, 2020
Merged

🐛 SwG now uses AMP sendBeacon interface#26970
chenshay merged 4 commits intoampproject:masterfrom
mborof:swg-beacon

Conversation

@mborof
Copy link
Copy Markdown
Contributor

@mborof mborof commented Feb 25, 2020

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

@ChrisAntaki
Copy link
Copy Markdown
Contributor

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

@mborof
Copy link
Copy Markdown
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
Copy Markdown
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