GoogleChrome/lighthouse

Canonical URL audit mistakes invalid URLs for relative ones

已關閉

#12,008 建立於 2021年1月26日

 (7 則留言) (0 個反應) (0 位負責人)JavaScript (9,278 個分叉)batch import
P3good first issue

倉庫指標

星標
 (27,768 顆星)
PR 合併指標
 (平均合併 18天 18小時) (30 天內合併 40 個 PR)

描述

Provide the steps to reproduce

  1. Run LH on https://output.jsbin.com/vulerujohi for just the canonical audit

What is the current behavior?

The audit fails with explanation Relative URL (https:// example.com)

What is the expected behavior?

The audit fails with explanation Invalid URL (https:// example.com)

Environment Information

  • Affected Channels: CLI, Node, DevTools
  • Lighthouse version: 7.0.1
  • Chrome version: 88.0.4324.96
  • Node.js version: 14.15.4
  • Operating System: macOS Mojave 10.14.6

貢獻者指南