зеркало из https://github.com/mozilla/gecko-dev.git
da1098d4aa
Backed out changeset ff3fb0b4a512 (bug 1672023) Backed out changeset e7834b600201 (bug 1654103) Backed out changeset 807893ca8069 (bug 1518999) Backed out changeset 13e6b92440e9 (bug 1518999) Backed out changeset 8b2ac5a6c98a (bug 1518999) Backed out changeset 575748295752 (bug 1518999) Backed out changeset 65f07ce7b39b (bug 1518999) Backed out changeset 4bb80556158d (bug 1518999) Backed out changeset 8ac8461d7bd7 (bug 1518999) Backed out changeset e8ba13ee17f5 (bug 1518999) |
||
---|---|---|
.. | ||
actions | ||
components | ||
reducers | ||
test | ||
utils | ||
CompatibilityView.js | ||
README.md | ||
moz.build | ||
types.js |
README.md
Compatibility Panel
Related files
The compatibility panel consists of the following files:
- Client:
- Main:
devtools/client/inspector/compatibility/
- Style:
devtools/client/themes/compatibility.css
- Main:
- Shared:
- MDN compatibility dataset:
devtools/shared/compatibility/dataset/
- MDN compatibility library:
devtools/server/actors/compatibility/lib/MDNCompatibility.js
- User setting file -
devtools/client/inspector/shared/compatibility-user-settings.js
- MDN compatibility dataset:
- Server:
- Actor:
devtools/server/actors/compatibility.js
- Front:
devtools/client/fronts/compatibility.js
- Spec:
devtools/shared/specs/compatibility.js
- Actor:
MDN Compatibility Data
The Compatibility panel detects issues by comparing against official MDN compatibility data. It uses a local snapshot of the dataset. This dataset needs to be manually synchronized periodically to devtools/shared/compatibility/dataset
(ideally with every Firefox release).
To update this dataset, please refer to the guidelines in devtools/shared/compatibility/README.md
Tests
- Client:
devtools/client/inspector/compatibility/test
- MDN compatibility library:
devtools/server/actors/compatibility/lib/test
- Server:
devtools/server/tests/browser/browser_compatibility_cssIssues.js