News

Safari Technology Preview 92 Features The Usual Bug Fixes and Performance Improvements

Apple on Wednesday released Safari Technology Preview 92, the latest version of their developer preview web browser. The preview version of Apple’s popular browser offers developers and other interested users the ability to try out features that may or may not, debut in future public release versions of Safari.

Release 92

JavaScript

  • Fixed Math.round() which produced a wrong result for value prior to 0.5
  • Made Promise implementation faster

WebGPU

  • Fixed matrices to have correct alignment
  • Implemented GPUUncapturedErrorEvent
  • Implemented SampleLevel(), SampleBias(), and SampleGrad() in WSL
  • Updated several interface and enum names to match specifications

SVG

  • Fixed fragment-only URL url(#fragment) to be resolved against the current document regardless of the HTML <base> element
  • Fixed SMIL animations of SVG <view> element
  • Made a change to get the value of the href attribute or the xlink:href attribute of SVG animation elements to get the animation target element

Images

  • Changed to respect EXIF orientations by default when images are rendered

Web API

  • Fixed copying and pasting two paragraphs with a newline between them resulting in a stray paragraph with newline inside
  • Fixed cancelled transitions on Google image search leaving content with opacity: 0 sometimes
  • Fixed document.fonts.ready resolving too quickly
  • Fixed responseXML for XMLHttpRequest in some cases returning null if a valid Content-Type ends with +xml
  • Made tabIndex IDL attribute reflect its content attribute
  • Updated HTMLImageElement::decode() to return a resolved promise for decoding non-bitmap images
  • Updated geolocation.watchPosition() and geolocation.getCurrentPosition() to return PERMISSION_DENIED when the context is not secure

Service Workers

  • Added missing origin check for Service-Worker-Allowed header
  • Added support for postMessage buffering between the Service Worker and window
  • Dropped support for registration resurrection

WebRTC

  • Added support to RTCDataChannel.send(Blob)
  • Fixed audio sometimes failing to be captured in WebRTC

IndexedDB

  • Changed to cache prepared SQLiteStatement in SQLiteIDBCursor to improve performance
  • Changed to use the SQL COUNT statement for count operations to improve performance
  • Updated the size of the database when the database operation is completed

Web Inspector

  • Network
    • Provided a way to view XML, HTML, and SVG resource responses as a DOM tree
  • Debugger
    • Added support for async event listener stack traces in Workers
    • Added support for event breakpoints in Worker contexts
    • Allow script resources to be blackboxed, which will prevent the debugger from pausing in that script
  • Resources
    • Provide a way to override the content of resources loaded over the network with local content in Web Inspector
    • Fixed issue where links to CSS resources didn’t map to the right line after pretty printing if the line is after a multiline comment
    • Fixed issue where the closing } of nested @media weren’t indented
  • Dark Mode
    • Fixed jarring white box-shadows in the Overview Timeline View in dark mode
  • Miscellaneous
    • Fixed import file pickers sometimes not importing

Accessibility

  • Fixed children cache to be re-computed if the tab index is removed

Security

  • Disabled TLS 1.0 and TLS 1.1 in WebSockets

The update can be downloaded from the Safari Technology Preview website, or if the browser is already installed, it can be updated via the “Update” tab in the Mac App Store. Full release notes for the update are also available on the Safari Technology Preview 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 Technology Preview website.

Chris Hauk

Chris is a Senior Editor at Mactrast. He lives somewhere in the deep Southern part of America, and yes, he has to pump in both sunshine and the Internet.