Safari 11.1
Safari 11.1 ships with iOS 11.3 and macOS 10.13.4. It is also available for macOS 10.12.6 and 10.11.6.
Highlights of Safari 11.1
Service Workers. Implement background scripts for offline web applications and faster web pages.
Payment Request. Provide a consistent user payment experience in Safari using a standards-based API.
Security Improvements. Improved protection against memory corruption and code execution attacks.
Web Inspector Updates. New designs for the Network Tab and the Styles sidebar in the Elements Tab.
Web APIs
New in Safari 11.1—Service Workers
Added support for background scripts that can proxy network requests.
Added debugging for Service Workers to the Web Inspector.
New in Safari 11.1—Payment Request API
Added a standards-based payment API to provide a consistent mechanism for users to make Apple Pay payments to merchants.
New in Safari 11.1—HTMLImageElement.decode()
Added API for synchronous or asynchronous download of images for displaying on a web page.
New in Safari 11.1—Directory Upload
Added the File and Directory Entries API for developers to upload the structure and contents of directories.
New in Safari 11.1—Beacon API
Added an API to send a web server asynchronous non-blocking requests. For information on the Beacon API, see https://developer.mozilla.org/en-US/docs/Web/API/Beacon_API.
New in Safari 11.1—Floor level geolocation
Added
Coordinates.floorLevel
to the WebKit iOS Geolocation API.
New in Safari 11.1—display:contents
Added support for the
contents
value of the CSSdisplay
property which uses the boxes of the children of an element instead of the box of the element when calculating layout.
New in Safari 11.1—Added some ECMAScript 2018 features
Enabled rest properties for object destructuring assignment and spread properties for object literals.
Added named capture groups for Regular Expressions. For more information, see https://github.com/tc39/proposal-regexp-named-groups.
Added Unicode properties escapes for Regular Expressions. For more information, see https://github.com/tc39/proposal-regexp-unicode-property-escapes.
Add the Regular Expression
DotAll
flag, see https://github.com/tc39/proposal-regexp-dotall-flag.
Updated the Clipboard API
Improved standards compliance of the Clipboard API.
Added the DataTransfer interface to support JavaScript getting and sending rich text. For information on the DataTransfer interface, see https://html.spec.whatwg.org/multipage/dnd.html#datatransfer.
Updated root document touch event listeners to use passive mode improving scrolling performance and reducing crashes.
Media
New in Safari 11.1—Video as an Image asset
Support video content in
<img>
tags.
New in Safari 11.1—EME in iOS
Added support for Encrypted Media Extensions in Safari on iOS.
Updated WebRTC and Media Capture
Added support for
allow="camera"
.Improved standards compatibility and stability.
Text Features
New in Safari 11.1—font-display
Added support to CSS to declare how a font face is loaded and displayed.
Web Apps
New in Safari 11.1—Web App Manifest
Added support for websites declaring how web apps behave and appear when using “Add to Home Screen”.
New in Safari 11.1 - Server pre-connect
Pre-connect to a server for the likely next page using
<link rel=preconnect>
.
Security and Privacy
New in Safari 11.1—Website Not Secure Warnings
Added display of “Website Not Secure” warnings when the user focus moves to a password or credit card form on an insecure page.
New in Safari 11.1—Sub-resource Integrity
Added file verification for resource files to prevent modification of the file during delivery. For more information, see https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity.
New in Safari 11.1—Storage Access API
Added a new
<iframe>
sandbox API for requiring user consent to use first-party cookies that originate from a third-party.
Updated Intelligent Tracking Prevention
Enhanced consistency of cross-site tracking protection behaviors.
Updated the User-Agent String Policy
Changed the updating policy to to only continue updating the OS version number and Safari version number.
Web Inspector and Tools
New in Safari 11.1—Canvas Debugging
Added a Canvas Tab for debugging a 2D canvas contained in a web page.
Updated Network Tab design
Improved the clarity and usability of the Network Tab.
Updated Styles sidebar design
Improved the usability of the Styles sidebar.
Added new
WebDriver
APIsAdded support for testing file uploads, WebRTC behavior, and a new command that opens Web Inspector.
Password AutoFill
Safari Extensions
New in Safari 11.1—Extension Support for Safe Browsing
Added new Content Blocker action type to show the Safe Browsing warning page.
Copyright © 2018 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2018-02-22