font-display-reporting-helper.js |
Run font-display test with given parameters.
A violation report is expected with fontDisplayValue set to
['', 'auto', 'block', 'swap']
No violation report is expected with fontDisplayValue set to
['fallback', 'optional']
@param {String} fontDisplayValue
@param {(Report, String) => () | undefined} format_check pass a callback to
check report format if a violation report is expected. If no report is
expected to be generated, leave this argument undefined.
|
2815 |