Safari Technology Preview 8 Release Notes
Preview the latest web technology updates including: JavaScript, CSS, Web APIs, Apple Pay, Web Inspector, Media, Rendering, Accessibility, Security, and bug fixes.
Overview
Safari Technology Preview Release 8 is now available for download for both macOS Sierra beta 2 and OS X El Capitan. If you already have Safari Technology Preview installed, you can update from the Mac App Store’s Updates tab. Release 8 of Safari Technology Preview covers WebKit revisions 202085–202612.
JavaScript
Achieved 100% ECMAScript 2015 (ES6) support by adding back
Symbol.isConcatSpreadable(r202125)Unified the handling of regular expression character escapes
\\wand\\Wand word assertions\\band\\B(r202490)Implemented
isFiniteandisNaNin JavaScript for a performance benefit (r202413)Fixed a crash when a
finallyclause is used inside afor-inloop (r202608)
CSS
Updated
:defaultCSS pseudo-class to match checkbox and radio inputs with acheckedattribute (r202245)Fixed an issue where the
:hoverCSS pseudo-class would match after the cursor left the element (r202324)Prevented
:in-rangeand:out-of-rangeCSS pseudo-classes to not match on inputs that do not have range limitations (r202143)Changed
:in-rangeand:out-of-rangeCSS pseudo-classes to not matchdisabledorreadonlyinputs (r202159)Fixed border rendering for elements with
min-width: -webkit-fill-availableand zero available width (r202103)Fixed style updates applied by
:host()when changing the CSS class name of a shadow-host element (r202227)
Web APIs
Added fallback mechanisms for stretching and mirroring radical symbols in MathML (r202161)
Used the
MathOperatorto handle some non-stretchy operators in MathML (r202271)Set the upper limit for the size or number of pieces of stretchy operators in MathML (r202489)
Allowed phrasing content to be accepted in
<mo>elements (r202572)Fixed a bug retrieving Blobs from IndexedDB using cursors in WebKit2 sandboxing (r202414)
Changed synchronous event tracking to each event type instead of each event sequence (r202408)
Apple Pay
Moved Apple Pay code to the open source repository (r202298, r202309, r202310, r202311, r202312, r202432, r202345, r202346, r202444)
Moved WebKit2 Apple Pay code to the open source repository (r202432)
Moved the WebKit1 Apple Pay code to the open source repository (r202346)
Added a logged error message when passing an invalid API version to
ApplePaySessionconstructor (r202499)Moved the user gesture requirement to the
ApplePaySessionconstructor (r202584)Fixed the Apple Pay total amount error message to trigger for the correct limits (r202582)
Added
shippingTypeto the list of valid Apple Pay payment request properties (r202409)Added an exception to Apple Pay when the shipping method has an invalid amount (r202341, r202342)
Fixed discounted Apple Pay line items to display positive amounts (r202504)
Web Inspector
Changed
console.profileto use the new Sampling Profiler (r202234)Fixed an infrequent but persistent crash that could occur when closing Web Inspector (r202492, r202515)
Prevented automatic timeline recording when Web Inspector is not visible (r202352, r202353)
Delayed the first auto-capture heap snapshot during page reloads until after the page performs its first navigation (r202384)
Fixed showing impossible values for underflowed bmalloc sizes in the Memory Timeline (r202394)
Uncoupled the Quick Console selection updates from the UI to improve testing (r202566)
Fixed
selectElement.optionsentries in console for named indexes beyond the collection length (r202568)Fixed the Snapshot List to show the total size and the total live size (r202253)
Improved JavaScript Heap Snapshot clean up handling (r202383)
Ensured localStorage is updated when modifying sessionStorage (r202529)
Fixed broken text search in resources with
<CR>(r202498)
Media
Fixed picture-in-picture placeholder visibility when the
controlsattribute is removed (r202509)Fixed the volume slider for web video playback controls for right-to-left content (r202183)
Implemented support for “replacement” codec (r202599)
Fixed an issue where media controls stop working after exiting picture-in-picture mode (r202333)
Fixed media elements to not lose playback controls when muted by a user gesture (r202459)
Fixed the playback controls element used when playing multiple items in a page (r202425)
Rendering
Fixed the position for composition underlines in right-to-left content (r202250)
Fixed
<attachment>elements jumping around when subtitle text changes slightly (r202117)Fixed style invalidation for
:activewhen the activated node has no renderer (r202517)Flipped the behavior for the Forward and Back keyboard shortcuts in right-to-left content (r202129)
Fixed the placement of
<select>popup menus in right-to-left content (r202112)Corrected the behavior of the
:activestate of elements when focus changes (r202470)
Accessibility
Added support for CSS4
:focus-withinpseudo-class (r202358)Exposed anonymous
RenderMathMLOperatorsto the accessibility tree (r202497)Fixed the ARIA role attribute for label elements (r202516)
Security
Prevent file scheme access to a resource on a different volume (r202186)
Set CORS preflight with a non–200 response to be a preflight failure (r202162)
Allowed
*to match the originating page’s scheme for Content Security Policy (r202155)Changed security origin inheritance check to ignore case (r202174)
Bug Fixes
Fixed parent document scrolling when a focus event is dispatched in an
<iframe>(r202292)Fixed an issue causing Google Maps transit schedule explorer to initially load blank (r202104)
Changed
HTMLElementandSVGElementto implement GlobalEventHandlers (r202539)Implemented a constructor for
TouchEvent(r202178)Fixed double-tap to zoom on Yahoo Finance (r202354)
Implemented support for
Vary:Cookievalidation in private browsing (r202089)Fixed playback controls on Vimeo.com videos (r202455)
Improved resource handling when navigating by discarding decoded image that is only “in use” due to page cache not actual pages (r202231)
See Also
2016
Safari Technology Preview 20 Release NotesSafari Technology Preview 19 Release NotesSafari Technology Preview 18 Release NotesSafari Technology Preview 17 Release NotesSafari Technology Preview 16 Release NotesSafari Technology Preview 15 Release NotesSafari Technology Preview 14 Release NotesSafari Technology Preview 13 Release NotesSafari Technology Preview 12 Release NotesSafari Technology Preview 11 Release NotesSafari Technology Preview 10 Release NotesSafari Technology Preview 9 Release NotesSafari Technology Preview 7 Release NotesSafari Technology Preview 6 Release NotesSafari Technology Preview 5 Release Notes