Bug 1691652 - Don't require a spec link for crashtests under css/. r=jgraham

The only purpose of a crashtest is not crashing, there's no great spec
link for that.

Differential Revision: https://phabricator.services.mozilla.com/D104577
This commit is contained in:
Emilio Cobos Álvarez 2021-02-09 23:40:28 +00:00
parent 650c5fb0ab
commit 783813ce6c

View File

@ -506,6 +506,7 @@ def check_parsed(repo_root, path, f):
if (source_file.type != "support" and
not source_file.name_is_reference and
not source_file.name_is_tentative and
not source_file.name_is_crashtest and
not source_file.spec_links):
return [rules.MissingLink.error(path)]