• Home
  • Apps
  • macOS
  • News
  • Safari Technology Preview 38 for Mac Release has Beacon API Enabled by Default

Safari Technology Preview 38 for Mac Release has Beacon API Enabled by Default

Safari Technology Preview 38 for Mac Release has Beacon API Enabled by Default

Safari Technology Preview 38 for Mac Release has Beacon API Enabled by DefaultApple on Wednesday released Safari Technology Preview 38, a new version of their experimental web browser, first released in March 2016. The browser allows developers and other interested parties to test features that may debut in future release versions of Safari.

MacRumors notes the Safari Technology Preview release 38 includes fixes and improvements for Fetch API, Web Payments, CSS, Web API, Media, Apple Pay, Web Inspector, and WebDriver. Today’s update also enables the Beacon API by default and implements new Beacon API features.

Beacon API

  • Enabled the Beacon API by default as an experimental feature
  • Added support for CORS-preflighting
  • Added support for CORS-preflighting on redirects
  • Added support for connect-src CSP checks on redirects
  • Updated sendBeacon() to rely on FetchBody instead of the whole FetchRequest
  • Changed to use “application/octet-stream” content-type for payloads of ArrayBuffer and ArrayBufferView types

Fetch API

  • Added support for Request keepalive getter
  • Changed Response to keep all ResourceResponse information
  • Implemented quota limitation for keepalive Fetch requests

Web Payments

  • Enabled Payment Requests as an experimental feature

CSS

  • Added support for parsing of the font-display property
  • Implement caret-color support
  • Added a fast path for rotate() and rotateZ() transform parsing
  • Fixed parsing of <meta http-equiv=refresh> to allow time starting with a ‘.’ without a leading 0
  • Fixed a hit testing issue occurring when an SVG rect element with a non-default stroke style applied

Web API

  • Added support for considering file extensions in the accept attribute of HTML file input elements
  • Improved support for referrer policies
  • Fixed the Promise resolve and reject function to have a length of 1
  • Fixed an early error on an ANY operator before new.target
  • Fixed removing an empty <li> element when inside a table cell
  • Fixed XHR to only fire an abort event if the cancellation was requested by the client

Media

  • Fixed deleting the old subtitle track on src attribute change event

Apple Pay

  • Added support for phonetic contact names

Web Inspector

  • Added Canvas path preview when viewing a recording
  • Changed clicking on an autocomplete suggestion to apply it, not dismiss it
  • Removed text-shadow and gradient backgrounds
  • Updated the filter icon in the styles sidebar

WebDriver

  • Added support for interacting with <option> and <select> elements using the element click command
  • Added support for uploading files via <input type=file>
  • Fixed a timeout when a JavaScript alert is shown in onload handler
  • Implemented “normal” and “eager” page load strategies from the W3C specification
  • Updated code to use in-view center points for clicks and other automation logic

Users can either download the update from the Safari Technology Preview website, or if they already have the browser installed, they can download it via the Mac App Store. Full release notes for the update are available on the same website.

While the preview is intended for use by developers and advanced users, in order to provide Apple with feedback on the development of the Safari browser, it can be run side-by-side with the release version of Safari. The app doesn’t require a developer account to download and install. For more information, visit the Safari Tech Preview website.