Open Bug 1189360 (js-code-coverage) Opened 6 years ago Updated 2 years ago

[meta] Add Code Coverage for JavaScript code.

Categories

(Core :: JavaScript Engine, task)

task
Not set
normal

Tracking

()

Tracking Status
firefox42 --- affected

People

(Reporter: nbp, Unassigned)

References

(Depends on 7 open bugs, Blocks 1 open bug)

Details

(Keywords: meta)

This is a meta bug to add Code Coverage for JavaScript code executed in SpiderMonkey.  We have multiple reasons to do that:

The most important is to support release management team, by producing Code Coverage information over executed JavaScript code, and producing gcov-like data files.  This would help improve the quality of Firefox, and help evaluate the quality of our tests to accept/refuse new features.

The second reason is to expose this information to the dev-tools, such that JavaScript developers do not have to instrument their code to have code coverage results within the dev-tools.

The third, if the overhead is neglectable, is to make use of the same information to improve IonMonkey register allocation and removal of unused basic blocks ahead of time.
Depends on: 1189750
Depends on: 1190446
Depends on: 1190454
Depends on: 1190792
Depends on: 1191289
Alias: js-code-coverage
Summary: (js-code-coverage) [meta] Add Code Coverage for JavaScript code. → [meta] Add Code Coverage for JavaScript code.
Depends on: 1198356
Depends on: 1203695
Depends on: 1204554
Duplicate of this bug: 651621
Keywords: meta
Depends on: 1213732
Depends on: 1213735
Depends on: 1219166
Depends on: 1229813
Depends on: 1364940
Depends on: 1369783
Depends on: 1369785
Depends on: 1373395
Depends on: 1373794
Depends on: 1374348
Depends on: 1379955
Depends on: 1385649
Depends on: 1435697
No longer depends on: 1435697
Depends on: 1478980
Depends on: 1496277
Depends on: 1451284
Depends on: 1505136
Type: defect → task
Depends on: 1581501
Depends on: 1606960
Depends on: 1597997
You need to log in before you can comment on or make changes to this bug.