Skip to content

Commit 1f96ca8

Browse files
committed
[Azure Pipelines] Enable experimental Server Timing in Safari TP
Like web-platform-tests/results-collection#621.
1 parent 3bbb559 commit 1f96ca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/ci/azure/install_safari.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
parameters:
22
channel: preview
33

4+
# Should match https://web-platform-tests.org/running-tests/safari.html
45
steps:
56
- ${{ if eq(parameters.channel, 'preview') }}:
67
- script: |
78
# This is equivalent to `Homebrew/homebrew-cask-versions/safari-technology-preview`,
89
# but the raw URL is used to bypass caching.
910
HOMEBREW_NO_AUTO_UPDATE=1 brew cask install https://raw.githubusercontent.com/Homebrew/homebrew-cask-versions/master/Casks/safari-technology-preview.rb
10-
# https://web-platform-tests.org/running-tests/safari.html
1111
sudo "/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver" --enable
1212
defaults write com.apple.Safari WebKitJavaScriptCanOpenWindowsAutomatically 1
13+
defaults write com.apple.Safari ExperimentalServerTimingEnabled -bool true
1314
displayName: 'Install Safari Technology Preview'
1415
- ${{ if eq(parameters.channel, 'stable') }}:
1516
- script: |
16-
# https://web-platform-tests.org/running-tests/safari.html
1717
sudo safaridriver --enable
1818
defaults write com.apple.Safari WebKitJavaScriptCanOpenWindowsAutomatically 1
1919
displayName: 'Configure Safari'

0 commit comments

Comments
 (0)