<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Sun, Feb 5, 2017 at 6:54 PM, Philip Jägenstedt <span dir="ltr">&lt;<a href="mailto:foolip@chromium.org" target="_blank">foolip@chromium.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">FWIW, in Blink we stopped rewriting the testharness.js paths before switching to wptserve, by instead rewriting those URLs only when running LayoutTests:<div><a href="https://cs.chromium.org/chromium/src/content/shell/renderer/layout_test/blink_test_runner.cc?type=cs&amp;q=content/shell/renderer/layout_test/blink_test_runner.cc&amp;l=221" target="_blank">https://cs.chromium.org/<wbr>chromium/src/content/shell/<wbr>renderer/layout_test/blink_<wbr>test_runner.cc?type=cs&amp;q=<wbr>content/shell/renderer/layout_<wbr>test/blink_test_runner.cc&amp;l=<wbr>221</a></div><div><br></div><div>So, we know that it&#39;s possible to run a lot of the tests without wptserve without modifying the tests. However, trying to list all the tests that do or don&#39;t need wptserve seems like a lot of work, and I think we&#39;re now using wptserve for all tests.</div></div></blockquote><div><br></div><div>For us, the biggest concern is the ability to open it up on browser and attach debugger easily so I don&#39;t think rewriting paths like that in DRT/WTR or webkitpy would really address the problem.</div><div><br></div><div>One approach I came up during the meeting was to run a test with and without a server. If the results match, there is a good chance the test doesn&#39;t require a server. We can put that meta data somewhere (e.g. we can insert a link/meta element next to where testharness.js is imported) so that the information is readily available.</div><div><br></div><div>- R. Niwa</div><div><br></div></div></div></div>