Open Bug 1189360 (js-code-coverage) Opened 5 years ago Updated 7 months ago

[meta] Add Code Coverage for JavaScript code.


(Core :: JavaScript Engine, task)

Not set



Tracking Status
firefox42 --- affected


(Reporter: nbp, Unassigned)


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


(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: 1224691
Depends on: 1369783
Depends on: 1369785
Depends on: 1435697
Depends on: 1478980
Type: defect → task
Depends on: 1606960
Depends on: 1597997
You need to log in before you can comment on or make changes to this bug.