Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

Learn More

navigator.sendBeacon() failing on secure websites

  • 3 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 1 ნახვა
  • ბოლოს გამოეხმაურა jkns

I'm trying to use the Beacon API (https://developer.mozilla.org/en-US/docs/Web/API/Beacon_API), but Firefox (13.1) on iPhone X (iOS 11.4.1) will not communicate with a secure site (https). E.g.

navigator.sendBeacon('http://xxxx.com', 'data'); will send a POST but navigator.sendBeacon('https://xxxx.com', 'data'); will NOT send a POST.

navigator.sendBeacon() returns true on both secure (https) and insecure (http) sites.

macOS Firefox and iPhone Safari work fine. I've contacted Apple and they say it's a Firefox issue.

I'm trying to use the Beacon API (https://developer.mozilla.org/en-US/docs/Web/API/Beacon_API), but Firefox (13.1) on iPhone X (iOS 11.4.1) will not communicate with a secure site (https). E.g. navigator.sendBeacon('http://xxxx.com', 'data'); will send a POST but navigator.sendBeacon('https://xxxx.com', 'data'); will NOT send a POST. navigator.sendBeacon() returns true on both secure (https) and insecure (http) sites. macOS Firefox and iPhone Safari work fine. I've contacted Apple and they say it's a Firefox issue.

ყველა პასუხი (3)

Hi guigs,

I've already tried Stack Overflow but didn't get anything - https://stackoverflow.com/questions/51844586/navigator-sendbeacon-on-iphone-chrome-not-posting-to-secure-websites

jkns

Chromium have investigated this and it is a WebKit issue. See comment for detailed explanation - https://bugs.chromium.org/p/chromium/issues/detail?id=878562#c17