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

JavaScriptExecutor not suitable for multiple Windows

Đang mở
#1,140 0 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java, javascript
Lĩnh vực
backend

Hướng nghiên cứu

The issue identifies the JavaScriptExecutor and multiple browser windows, but does not name files, tests, or entry points. Start by locating the executor and how windows schedule JavaScript, then investigate the blocking-job behavior described in the report. Done would require a defined approach to per-window execution and tests showing that a blocked job in one window does not stop processing in another.

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

Mô tả

Disclaimer: I have little knowledge about JavaScript, but lots of experience with high performance job scheduling.

Real world browsers start separate threads or process for each window, HU has only one executor for all windows combined. As soon as a job blocks (like XMLHttpRequest timing out), all JS processing stops. This is a real showstopper for my code. A thread pool would be the solution.

Ngôn ngữ chính
JavaScript
Star
952
Fork
183
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
1

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 HtmlUnit/htmlunit

Tất cả issue của HtmlUnit/htmlunit

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.