mozilla / oghliner

template and tool for deploying Offline Web Apps to GitHub Pages
https://mozilla.github.io/oghliner/
Apache License 2.0
116 stars 17 forks source link

test-sw fails with 'Cannot load browser "Chrome"!' #284

Open mykmelez opened 8 years ago

mykmelez commented 8 years ago

For example, in this test run: https://travis-ci.org/mykmelez/oghliner/jobs/148369393

29 07 2016 17:19:36.967:INFO [launcher]: Launching browsers Chrome, NightlySW with unlimited concurrency
29 07 2016 17:19:37.272:ERROR [launcher]: Cannot load browser "Chrome"!
  RangeError: Maximum call stack size exceeded
    at RegExp.[Symbol.match] (native)
    at String.match (native)
    at parse (/home/travis/build/mykmelez/oghliner/node_modules/di/lib/annotation.js:28:29)
    at Array.invoke (/home/travis/build/mykmelez/oghliner/node_modules/di/lib/injector.js:69:46)
    at get (/home/travis/build/mykmelez/oghliner/node_modules/di/lib/injector.js:48:43)
    at module.(anonymous function) (/home/travis/build/mykmelez/oghliner/node_modules/karma/lib/config.js:210:62)
    at Array.invoke (/home/travis/build/mykmelez/oghliner/node_modules/di/lib/injector.js:75:15)
    at get (/home/travis/build/mykmelez/oghliner/node_modules/di/lib/injector.js:48:43)
    at module.(anonymous function) (/home/travis/build/mykmelez/oghliner/node_modules/karma/lib/config.js:210:62)
    at Array.invoke (/home/travis/build/mykmelez/oghliner/node_modules/di/lib/injector.js:75:15)
    at get (/home/travis/build/mykmelez/oghliner/node_modules/di/lib/injector.js:48:43)
    at module.(anonymous function) (/home/travis/build/mykmelez/oghliner/node_modules/karma/lib/config.js:210:62)
    at Array.invoke (/home/travis/build/mykmelez/oghliner/node_modules/di/lib/injector.js:75:15)
    at get (/home/travis/build/mykmelez/oghliner/node_modules/di/lib/injector.js:48:43)
    at module.(anonymous function) (/home/travis/build/mykmelez/oghliner/node_modules/karma/lib/config.js:210:62)
    at Array.invoke (/home/travis/build/mykmelez/oghliner/node_modules/di/lib/injector.js:75:15)
29 07 2016 17:19:37.278:ERROR [karma]: Found 1 load error

Strangely, that doesn't cause the test run job to be marked as failing.