Closed zloirock closed 3 years ago
Please give some evidence. What makes you think this is true?
Running "karma:tests" (karma) task
15 01 2021 01:05:33.277:INFO [karma-server]: Karma v6.0.0 server started at http://localhost:9876/
15 01 2021 01:05:33.281:INFO [launcher]: Launching browsers HeadlessChrome, PhantomJS with concurrency unlimited
15 01 2021 01:05:33.292:INFO [launcher]: Starting browser ChromeHeadless
15 01 2021 01:05:33.378:INFO [launcher]: Starting browser PhantomJS
15 01 2021 01:05:35.658:INFO [Chrome Headless 88.0.4298.0 (Windows 10)]: Connected on socket l5oKDnJKVtB-0ugDAAAB with id 77753041
Chrome Headless 88.0.4298.0 (Windows 10): Executed 530 of 534 (skipped 4) SUCCESS (1.147 secs / 0.925 secs)
15 01 2021 01:06:33.392:WARN [launcher]: PhantomJS have not captured in 60000 ms, killing.
15 01 2021 01:06:33.470:INFO [launcher]: Trying to start PhantomJS again (1/2).
15 01 2021 01:07:33.486:WARN [launcher]: PhantomJS have not captured in 60000 ms, killing.
15 01 2021 01:07:33.534:INFO [launcher]: Trying to start PhantomJS again (2/2).
15 01 2021 01:08:33.551:WARN [launcher]: PhantomJS have not captured in 60000 ms, killing.
15 01 2021 01:08:33.592:ERROR [launcher]: PhantomJS failed 2 times (timeout). Giving up.
TOTAL: 530 SUCCESS
Warning: Task "karma:tests" failed. Use --force to continue.
// ...
frameworks: ['qunit'],
basePath: '.',
browsers: ['HeadlessChrome', 'PhantomJS'],
customLaunchers: {
HeadlessChrome: {
base: 'ChromeHeadless',
flags: ['--no-sandbox', '--disable-setuid-sandbox'],
},
},
singleRun: true,
// ...
Unfortunately it does not look like anyone is maintaining this repo.
It seems the problem is fixed in the actual karma
version.
However, PhantomJS still is very useful as an indicator of problems with old engines.