Skip to content

squirrel audit --offline still status-checks third-party scripts, stylesheets and fonts #807

Closed

Description

@nc9

squirrel audit --offline turns external link checks off. The CLI describes --offline as promising no network beyond the audited site itself. But the asset phase still status-checks third-party scripts, stylesheets and fonts the pages load (reliability/broken-resources, #703). Whether those requests go out depends only on that rule being enabled, not on --offline.

So an offline audit of a site that loads, for example, a Google Fonts stylesheet still sends a request to fonts.googleapis.com.

Acceptance Criteria

  • squirrel audit --offline sends no request to a host outside the audited site: no third-party asset checks, no external link checks.
  • reliability/broken-resources on an offline audit reports its third-party checks as not checked (skipped with a reason), never as passing.
  • The --offline docs say what it leaves out.
  • A test with an offline audit of a page that loads a third-party stylesheet shows no request to that host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsize: S

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions