Release Notes for Safari Technology Preview 151
Safari Technology Preview Release 151 is now available for download for macOS Monterey 12.3 or later and macOS Ventura beta. If you already have Safari Technology Preview installed, you can update in the Software Update pane of System Preferences on macOS Monterey, or System Settings under General → Software Update on macOS Ventura.
This release includes WebKit changes between:
252433@main…252998@main
Note: Shared Tab Groups and syncing for Tab Groups, Website Settings, and Web Extensions are not enabled in this release.
Web Inspector
- Elements Tab
- Changed to grayscale nodes in the DOM tree that are not rendered (252653@main)
- Rearranged Gradient Editor to be able to show the color component input fields (252971@main)
- Sources Tab
- Added capturing of async stack traces for
queueMicrotask(252543@main) - Expanded all existing sync stack traces to also show related async stack traces (252630@main)
- Excluded internal functions from all stack traces (252914@main)
- Added capturing of async stack traces for
- Network Tab
- Changed the Initiator column to be shown by default (252435@main)
- Added a Path column (252827@main)
- Added the ability for the shift key to highlight resources initiated by the hovered resource (252489@main)
- Added an experimental feature to limit the bytes per second download speed of network tasks (252589@main)
WebDriver
- Added support for “Get Element Shadow Root”, “Find Element From Shadow Root”, and “Find Elements From Shadow Root” commands
CSS
- Enabled support for the
color-mix()function (252716@main) - Enabled support for specifying the interpolation color space in CSS gradients (252716@main)
- Added support for the
scanmedia query (252717@main) - Added a basic implementation of
:dir(252737@main) - Disallowed the
contentproperty on video element (252574@main) - Fixed not applying
aspect-ratioif a grid item percentage width is resolvable (252819@main) - Fixed ensuring a containing block of a block box with
height: fill-availableis alsofill-availableis considered resolvable (252470@main) - Fixed table border radius to apply when the border color is transparent or semitransparent (252741@main)
- Fixed containing blocks with non visible overflow to correctly clip fixed positioned descendants (252721@main)
- Fixed
visibility: collapseto correctly apply to Flexbox (252997@main)
Rendering
- Added dark mode support for plain text documents (252673@main)
- Added a check for WebGL Extensions in
getIndexedParameter()andgetSamplerParameter()(252895@main) - Fixed
<bdi>and<input>elements’ directionality when:dirattribute is used withautoor an invalid value (252779@main) - Changed to use the device pixel ratio scaled backing stores for unscaled bitmap content if the page is downscaling (252855@main)
- Fixed SVG
textPathrendering when atextelement is referenced by auseelement (252547@main)
Media
- Added support for legacy VP8 and VP9 codec names (252535@main)
- Added missing default CSS style for text and background colors for WebVTT (252464@main)
- Changed to not interrupt due to invisible autoplay if the HTMLMediaElement is paused (252735@main)
- Fixed WebRTC calls without microphone capture becoming permanently muted by AudioSession interruptions like Siri (252907@main)
- Fixed video-as-img losing its alpha channel (252836@main)
- Fixed muting the microphone capture if starting the capture fails due to a low priority error (252642@main)
- Fixed not restarting application-muted microphone tracks in case the audio unit gets unsuspended (252905@main)
- Fixed
RTCDtlsTransportto close when its peer connection gets closed (252948@main) - Fixed
Canvas.getContext('2d').drawImageon a camera video stream when the tab is backgrounded (252738@main)
JavaScript
- Fixed
Temporal.Duration#toStringto useBigInt#toStringfor values beyondMAX_SAFE_INTEGER(Behind the--useTemporalflag) (252935@main) - Improved
TypedArray.fromperformance (252976@main) - Improved
TypedArray#indexOfandTypedArray#includesperformance (252945@main, 252544@main) - Removed ordering check for
Intl.NumberFormat,Intl.DateTimeFormat, andIntl.PluralRulesrange functions (252911@main) - Improved
TypedArray#toSorted,TypedArray#toReversed,TypedArray#withandTypedArray#subarrayperformance (252911@main) - Improved
TypedArray#sliceperformance (252847@main) - Removed
TypedArray#toSplicedsince it is dropped from the proposal (252664@main) - Fixed that generic iterator protocol function is invisible to Function’s caller getter (252578@main)
Web API
- Aligned
StorageEvent.initStorageEvent()with the HTML specification (252521@main) - Aligned XHR aborting with the specification (252611@main)
- Changed to not perform smooth keyboard scrolling on containers with scroll snap (252663@main)
- Changed to maintain the original
Content-Typeheader on 303 HTTP redirect (252713@main) - Checked for
strict-dynamicwhen checking host sources for CSP (252465@main) - Enabled lazy iframe loading by default (252848@main)
- Exposed the
sheetproperty onSVGStyleElement(252491@main) - Fixed alternate stylesheets not present in
document.styleSheets(252781@main) - Fixed
CSS.supportsreturning false for custom properties (252987@main) - Fixed a
display: noneHTMLMediaElement with a camera track as the source leaking video frames (252871@main) - Fixed
getComputedStyle(img).heightto return a string of a rounded int not a float (252583@main) - Fixed a visible line character in the space between paragraphs when using a double space while composing an email with Gmail in Safari (252683@main)
- Fixed XHR error events to return zeros for loaded and total (252743@main)
- Fixed password authentication in XHR (252696@main)
- Fixed canvas
drawImageto clip source image when the source rectangle is outside of the source image (252731@main) - Fixed dynamically inserted stylesheets to be accessible via
document.styleSheets(252816@main) - Fixed link elements to be able to fire more than one load or error event (252943@main)
- Fixed parsing
link,vlink, andalinkcontent attributes on the<body>element (252992@main) - Fixed
SVGDocumentgetElementByIdreturning null when an SVG element is disconnected from documents (252478@main) - Fixed when a
WebLockgets aborted via aSignalto reject its promise with theAbortSignal‘s reason (252503@main) - Fixed Service Workers in browser extensions to be able to load resources over a custom protocol (252585@main)
- Fixed
WorkerGlobalScope.isSecureContextto be based on the owner’s top URL, not the owner’s URL (252913@main) - Aligned
CSS.supportswith the specification to return false for descriptors (252720@main) - Implemented fingerprinting countermeasures for querying the permission state of the Notifications API (252969@main)
- Stopped allowing trailing junk when parsing retry delay for
EventSource(252885@main) - Fixed parsing of deeply nested phrasing content (252979@main)
- Fixed removing
srcdoccontent attribute does not unload the document in iframe (252991@main)
Web Components
- Updated shadow DOM and dialog element focusing to the latest spec (252959@main)
- Updated
delegatesFocusto match the latest spec (252901@main) - Fixed custom element reaction callback timing when modifying ARIA attributes (252552@main)
- Fixed custom element reaction callback timing when using
WebAnimation.prototype.commitStyles(252553@main)
Accessibility
- Exposed suggestion, insertion, deletion roles and attributes (252516@main)
- Enabled ARIA reflection attributes that refer to elements (252590@main)
Lockdown Mode
- Disabled web fonts in Lockdown Mode (252884@main, 252712@main)
Web Extensions
- Added
browser.storage.sessionAPI for storing data in-memory that is not written to disk