Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Result Page Not Refreshing Correctly after Changing HAR

Đang mở
#151 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
frontend, web-dev

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
JavaScript
Star
119
Fork
18
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sitespeedio/compare

Tất cả issue của sitespeedio/compare

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.