Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Result Page Not Refreshing Correctly after Changing HAR

未关闭
#151 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
javascript
领域
frontend, web-dev

调研方向

Reproduce the result-page upload flow using the attached HarFiles.zip and the three HAR files described in the issue. Start at the result page upload buttons and trace how replacing a HAR updates the comparison state. Done means the “Request/response difference (larger than 1 kb)” section disappears when the two final HAR files have different URLs, matching the initial result.

由索引模型根据 Issue 内容生成。

描述

Hi @soulgalore,

I found a minimal bug where result page is not refreshing correctly after changing Har file from result page upload button. Please find the description and steps to reproduce the same below.

Har Files Used and Description:

  1. BestBuy_En_Full_Har1.har : Full Home Page Capture of "https://www.bestbuy.ca/en-ca" including lazy loading till bottom of the page.
  2. BestBuy_En_Small_Har2.har : Home Page Capture of "https://www.bestbuy.ca/en-ca" but network recording stopped in the middle so it does not have all the requests.
  3. BestBuy_Ex_Small_Har3.har : Same Har as "BestBuy_En_Small_Har2.har but URL modified manually from "https://www.bestbuy.ca/en-ca" to "https://www.bestbuy.ca/ex-ca"

Steps to Reproduce Issue:

  1. Go to https://compare.sitespeed.io/
  2. Upload Har1 ("https://www.bestbuy.ca/en-ca") & Har3 (https://www.bestbuy.ca/ex-ca)
  3. It should not display the difference in http request as URLs are different. This is Expected.
  4. In the same page. Click on the upload button next to Har3 (https://www.bestbuy.ca/ex-ca)
  5. Upload BestBuy_En_Small_Har2.har
  6. This will generate the section "Request/response difference (larger than 1 kb)" as both the HAR files having same webpage i.e. https://www.bestbuy.ca/en-ca. This is expected
  7. In the same page. Click on the upload button next to Har2 (https://www.bestbuy.ca/en-ca)
  8. Upload BestBuy_Ex_Small_Har3.har
  9. Now 2 Har files are Har1 ("https://www.bestbuy.ca/en-ca") & Har3 (https://www.bestbuy.ca/ex-ca)
  10. So 2 different URLs so result page should refresh and it should display result same as Step 3
  11. But Section "Request/response difference (larger than 1 kb)" remains on the page. This in the issue

This seems like a minimal bug but if someone using this upload button option then they might report incorrect result due to this issue.

Attaching the Har files that I have used for testing.

HarFiles.zip

主要语言
JavaScript
星标
119
派生
18
平均合并
3 分钟
30 天内合并 PR
10

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

sitespeedio/compare 的其他 Issue

查看 sitespeedio/compare 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。