DevTools: clean up TestRunner.js & isUnderTest() mechanism
This cleans up TestRunner's few spots where the code branched because it needed to also support the legacy integration tests. Also, this simplifies the "isUnderTest()" mechanism by relying on the queryParam instead of a special Host API. TBR=haraken@chromium.org Bug: 667560 Change-Id: If161c6f485acaf96b38e437c64324635ebcbdcba Reviewed-on: https://chromium-review.googlesource.com/833392Reviewed-by:Will Chen <chenwilliam@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Will Chen <chenwilliam@chromium.org> Cr-Commit-Position: refs/heads/master@{#525369}
Showing
Please register or sign in to comment