build: Upgrade karma-chrome-launcher to support Chromium on Mac/Windows
authorAntoine Musso <hashar@free.fr>
Tue, 20 Dec 2016 15:38:09 +0000 (16:38 +0100)
committerKrinkle <krinklemail@gmail.com>
Thu, 12 Jan 2017 20:37:02 +0000 (20:37 +0000)
commit307ead451ce4010db18c4fdab8960c0943495756
tree64ce1923d382a3696cc8438705eb19d9fb168936
parent57f0e4a4e4229abfe2f562068bba846a4d7e7cbf
build: Upgrade karma-chrome-launcher to support Chromium on Mac/Windows

Before karma-chrome-launcher 2.0.0, Chromium was only detected on Linux
and as part of the "Chrome" setting. "Chromium" is now recognised as a
separate browser and is detected on Mac and Windows as well.

https://github.com/karma-runner/karma-chrome-launcher/issues/45

Add a grunt target for Chromium so users may run the following to use
Chromium instead of Chrome:

    grunt karma:chromium

Since we keep the default of "Chrome", we'll need an override for CI
since we install Chromium there instead of Chrome.

Depends on Ie9f906f8 being merged and Nodepool images updated.

Bug: T153756
Change-Id: I6ba0d971e7e8c3022d2ab6268ae637688189d768
Gruntfile.js
package.json