Any script using Buildbot API will have CORS error, since buildbot is not setting CORS header appropriately. We need to set allowed_origins in Buildbot configuration as per: http://docs.buildbot.net/latest/manual/configuration/www.html#web-server
<rdar://problem/49710473>
Created attachment 366985 [details] Patch
Comment on attachment 366985 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=366985&action=review > Tools/BuildSlaveSupport/ews-build/master.cfg:14 > +c['www'] = dict(port=8010, allowed_origins=["*"]) This has security considerations that I wouldn't want to think through unless I have to. What are the scripts that hit the error? Only JavaScript running in the browser is strictly subject to CORS. Some scripting also enables those checks, but that can always be disabled.
Comment on attachment 366985 [details] Patch OK, I think that this is fine. We have the same rules on build.webkit.org anyway.
Comment on attachment 366985 [details] Patch Clearing flags on attachment: 366985 Committed r244060: <https://trac.webkit.org/changeset/244060>
All reviewed patches have been landed. Closing bug.