2020-08-24 14:19:47 +03:00
# Compatibility Panel
## Related files
The compatibility panel consists of the following files:
* Client:
* Main: `devtools/client/inspector/compatibility/`
* Style: `devtools/client/themes/compatibility.css`
* Shared:
* MDN compatibility dataset: `devtools/shared/compatibility/dataset/`
2020-09-15 17:26:36 +03:00
* MDN compatibility library: `devtools/server/actors/compatibility/lib/MDNCompatibility.js`
2020-09-15 17:26:39 +03:00
* User setting file - `devtools/client/inspector/shared/compatibility-user-settings.js`
2020-08-24 14:19:47 +03:00
* Server:
* Actor: `devtools/server/actors/compatibility.js`
* Front: `devtools/client/fronts/compatibility.js`
* Spec: `devtools/shared/specs/compatibility.js`
2020-09-15 17:26:36 +03:00
## MDN Compatibility Data
2020-08-24 14:19:47 +03:00
The Compatibility panel detects issues by comparing against official [MDN compatibility data ](https://github.com/mdn/browser-compat-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).
2020-09-15 17:26:36 +03:00
To update this dataset, please refer to the guidelines in `devtools/shared/compatibility/README.md`
2020-08-24 14:19:47 +03:00
## Tests
* Client: `devtools/client/inspector/compatibility/test`
2020-09-15 17:26:36 +03:00
* MDN compatibility library: `devtools/server/actors/compatibility/lib/test`
2020-08-24 14:19:47 +03:00
* Server: `devtools/server/tests/browser/browser_compatibility_cssIssues.js`