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

Posted in Apple News, Apps, macOS on 24/08/2017 by Chris Hauk

0

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.


Author

Chris Hauk

MacTrast Senior Editor, and self-described "magnificent bastard," Chris Hauk owns Phoenix Rising Services and writes for everyone's favorite "bad movie" website, Big Bad Drive-In.

His first Apple product was an iPod Classic 9 years ago, and he has since added a MacBook Pro, a number of iPads, iPhones, and multiple Apple TVs to his collection.

He lives somewhere in the deep Southern part of America. Yes, he has to pump in both sunshine and the Internet.