File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
parameters :
2
2
channel : preview
3
3
4
+ # Should match https://web-platform-tests.org/running-tests/safari.html
4
5
steps :
5
6
- ${{ if eq(parameters.channel, 'preview') }} :
6
7
- script : |
7
8
# This is equivalent to `Homebrew/homebrew-cask-versions/safari-technology-preview`,
8
9
# but the raw URL is used to bypass caching.
9
10
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
11
11
sudo "/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver" --enable
12
12
defaults write com.apple.Safari WebKitJavaScriptCanOpenWindowsAutomatically 1
13
+ defaults write com.apple.Safari ExperimentalServerTimingEnabled -bool true
13
14
displayName: 'Install Safari Technology Preview'
14
15
- ${{ if eq(parameters.channel, 'stable') }} :
15
16
- script : |
16
- # https://web-platform-tests.org/running-tests/safari.html
17
17
sudo safaridriver --enable
18
18
defaults write com.apple.Safari WebKitJavaScriptCanOpenWindowsAutomatically 1
19
19
displayName: 'Configure Safari'
You can’t perform that action at this time.
0 commit comments