RESOLVED FIXED 166964
Hide the UI to trigger an A/B testing when there are no triggerables
https://bugs.webkit.org/show_bug.cgi?id=166964
Summary Hide the UI to trigger an A/B testing when there are no triggerables
Ryosuke Niwa
Reported 2017-01-11 21:26:18 PST
When there are no build triggerable configured for a test, platform pair, hide the UI to trigger A/B testing instead of showing it and then failing to create one later.
Attachments
Fixes the bug (46.24 KB, patch)
2017-01-11 22:05 PST, Ryosuke Niwa
ysuzuki: review+
buildbot: commit-queue-
Archive of layout-test-results from ews104 for mac-elcapitan-wk2 (1.17 MB, application/zip)
2017-01-11 23:03 PST, Build Bot
no flags
Ryosuke Niwa
Comment 1 2017-01-11 22:05:56 PST
Created attachment 298660 [details] Fixes the bug
Yusuke Suzuki
Comment 2 2017-01-11 23:01:02 PST
Comment on attachment 298660 [details] Fixes the bug View in context: https://bugs.webkit.org/attachment.cgi?id=298660&action=review r=me > Websites/perf.webkit.org/public/v3/models/triggerable.js:13 > + const testId = config[0]; > + const platformId = config[1]; How about `const [testId, platformId] = config;`?
Build Bot
Comment 3 2017-01-11 23:03:10 PST
Comment on attachment 298660 [details] Fixes the bug Attachment 298660 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/2875489 New failing tests: fast/mediastream/MediaStream-video-element-track-stop.html
Build Bot
Comment 4 2017-01-11 23:03:15 PST
Created attachment 298663 [details] Archive of layout-test-results from ews104 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Ryosuke Niwa
Comment 5 2017-01-11 23:17:35 PST
Thanks for the review. (In reply to comment #2) > Comment on attachment 298660 [details] > Fixes the bug > > View in context: > https://bugs.webkit.org/attachment.cgi?id=298660&action=review > > r=me > > > Websites/perf.webkit.org/public/v3/models/triggerable.js:13 > > + const testId = config[0]; > > + const platformId = config[1]; > > How about `const [testId, platformId] = config;`? Neat! Fixed.
Ryosuke Niwa
Comment 6 2017-01-11 23:19:35 PST
Note You need to log in before you can comment on or make changes to this bug.