From 1f96ca80924d918bd0ab1e3d888c4389fd1002eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Mon, 1 Apr 2019 12:15:47 +0200 Subject: [PATCH] [Azure Pipelines] Enable experimental Server Timing in Safari TP Like https://github.com/web-platform-tests/results-collection/pull/621. --- tools/ci/azure/install_safari.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ci/azure/install_safari.yml b/tools/ci/azure/install_safari.yml index 88381085665fe7..032acba982c234 100644 --- a/tools/ci/azure/install_safari.yml +++ b/tools/ci/azure/install_safari.yml @@ -1,19 +1,19 @@ parameters: channel: preview +# Should match https://web-platform-tests.org/running-tests/safari.html steps: - ${{ if eq(parameters.channel, 'preview') }}: - script: | # This is equivalent to `Homebrew/homebrew-cask-versions/safari-technology-preview`, # but the raw URL is used to bypass caching. HOMEBREW_NO_AUTO_UPDATE=1 brew cask install https://raw.githubusercontent.com/Homebrew/homebrew-cask-versions/master/Casks/safari-technology-preview.rb - # https://web-platform-tests.org/running-tests/safari.html sudo "/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver" --enable defaults write com.apple.Safari WebKitJavaScriptCanOpenWindowsAutomatically 1 + defaults write com.apple.Safari ExperimentalServerTimingEnabled -bool true displayName: 'Install Safari Technology Preview' - ${{ if eq(parameters.channel, 'stable') }}: - script: | - # https://web-platform-tests.org/running-tests/safari.html sudo safaridriver --enable defaults write com.apple.Safari WebKitJavaScriptCanOpenWindowsAutomatically 1 displayName: 'Configure Safari'