-
Notifications
You must be signed in to change notification settings - Fork 46
Turn Server-Timing experimental feature on #621
base: master
Are you sure you want to change the base?
Conversation
@jugglinmike can you PTAL? |
Thanks for the patch, @cvazac! In order to help others reproduce the results they find on wpt.fyi, we should document this step more widely. Can you patch WPT's instructions on running the tests in Safari (as published at https://web-platform-tests.org/running-tests/safari.html)? As for the change itself, this may not the best place to insert the new setting. The name "safari-disable-popup-blocker.sh` doesn't describe a change like this. Also, note that this script only runs for the stable release of Safari. Should this configuration also apply to Safari Technology Preview? I can help work this in to another script, though it'll be a few days before I have the time. |
Thx for the review @jugglinmike! I made a new file for the experimental flag code - but I couldn't figure out how to test it locally. Yes, this should run in TP as well. PR for safari.md documentation change. |
Excuse me, I forgot that we have a precedent for this kind of thing. We only apply Chrome's In addition to updating the script itself, there's another small change we'll need to make to support STP. We never know when the next release will be published, so in order to always test the latest version, we install the browser every time we attempt to collect results. In order for the new script to modify the freshly-installed browser, we'll have to invoke it after that "build step" in the Buildbot configuration file. |
Also cc @foolip, who has been automating Safari in another environment. |
It would be great to get this into tools/wpt/run.py: See |
This isn't directly analogous to the settings for Chrome and Firefox because it involves system-wide configuration (not a command-line argument). Contributors might be surprised to find their browser behaving differently after invoking Discussion along these lines should probably take place in an issue filed against the WPT CLI. We've already asked @cvazac to do a fair amount of leg work (and they've been very accommodating!), so I've written something up at web-platform-tests/wpt#13976. In the mean time, I'd be happy to accept a patch for this project--we can remove it when/if it becomes superfluous. |
There are other flags that we might want to turn on as well (IntersectionObserver, MediaRecorder, WebRTC MDNS ICE candidates...) on a case by case basis since not all features will be stable enough to survive WPT testing. I am not sure we should turn these features on within stable Safari. |
Should safari-disable-popup-blocker.sh be moved after install-browser.sh as well? |
They have separate settings. Safari is not big on adding command line arguments if possible. Would your use case be satisfied if experimental features could be toggled by WebDriver capabilities?
…Sent from my Apple IIc
On Nov 10, 2018, at 08:08, Philip Jägenstedt ***@***.***> wrote:
@cvazac @youennf are setting shared by Safari stable and TP, or are there settings that are only used by STP? Something that would make this easier is if it were possible to pass these settings to Safari as command line arguments to safaridriver. Do you think that'd make sense? cc @burg
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Yes, that would be great I think, if they then have no effect beyond the WebDriver session. |
Picking back up on this... if I'm re-reading this correctly, we want to turn on some features for TP only. Has anything upstream made this easier - or should I make those changes from this PR? |
@cvazac the code can live in wpt no problem, only issue is that it changes global state for a browser the user might also be using for browsing. Just putting it behind a flag that's enabled when running in CI would work for now. |
ping @cvazac, are you still interested in this? |
@foolip Yes, I would love to clean up the Safari results. Unfortunately, the path to get there (^^^) is not at all clear to me. :( |
@cvazac is putting the behavior behind a flag that we only use in CI an OK path? Are there other blockers too? |
I've sent web-platform-tests/wpt#16177 to do this for the Azure Pipelines setup which is now providing most of the results seen on wpt.fyi. |
Like web-platform-tests/results-collection#621. Also update documentation to match.
) Like web-platform-tests/results-collection#621. Also update documentation to match.
…rver Timing in Safari TP, a=testonly Automatic update from web-platform-tests [Azure Pipelines] Enable experimental Server Timing in Safari TP (#16177) Like web-platform-tests/results-collection#621. Also update documentation to match. -- wpt-commits: d11578defbed3c7c175de5510c4bb122bc81702b wpt-pr: 16177
…rver Timing in Safari TP, a=testonly Automatic update from web-platform-tests [Azure Pipelines] Enable experimental Server Timing in Safari TP (#16177) Like web-platform-tests/results-collection#621. Also update documentation to match. -- wpt-commits: d11578defbed3c7c175de5510c4bb122bc81702b wpt-pr: 16177
) Like web-platform-tests/results-collection#621. Also update documentation to match.
…rver Timing in Safari TP, a=testonly Automatic update from web-platform-tests [Azure Pipelines] Enable experimental Server Timing in Safari TP (#16177) Like web-platform-tests/results-collection#621. Also update documentation to match. -- wpt-commits: d11578defbed3c7c175de5510c4bb122bc81702b wpt-pr: 16177 UltraBlame original commit: e899ae7fd548d7a3e30d6e537e7f617e7ffa7aba
…rver Timing in Safari TP, a=testonly Automatic update from web-platform-tests [Azure Pipelines] Enable experimental Server Timing in Safari TP (#16177) Like web-platform-tests/results-collection#621. Also update documentation to match. -- wpt-commits: d11578defbed3c7c175de5510c4bb122bc81702b wpt-pr: 16177 UltraBlame original commit: e899ae7fd548d7a3e30d6e537e7f617e7ffa7aba
…rver Timing in Safari TP, a=testonly Automatic update from web-platform-tests [Azure Pipelines] Enable experimental Server Timing in Safari TP (#16177) Like web-platform-tests/results-collection#621. Also update documentation to match. -- wpt-commits: d11578defbed3c7c175de5510c4bb122bc81702b wpt-pr: 16177 UltraBlame original commit: e899ae7fd548d7a3e30d6e537e7f617e7ffa7aba
I'm attempting to improve the server-timing results on Safari.
I will remove this if/when Safari enables this by default.