Endless loop when opening this url?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- java, javascript
- 領域
- backend
調査の方向性
Start by reproducing the hang with the provided Java snippet and URL, then trace HtmlUnit's page-loading and JavaScript execution behavior for endlessly scrolling pages. The issue does not name a source file or test; identify an existing loading or scrolling test to extend. Done means the page load terminates without preventing the intended scroll test.
索引モデルが issue の本文から書いたものです。
説明
When opening https://en.js.cx/task/endless-page/solution/ htmlunit gets stuck, probably loading the endlessly scrolling page forever.
Its interesting the driver itself never times out, it just keeps going. Had waits set up after driver get but those were never reached.
driver = new HtmlUnitDriver(BrowserVersion.FIREFOX, true) {
@Override
protected WebClient modifyWebClient(WebClient client) {
final WebClient webClient = super.modifyWebClient(client);
WebClientOptions options = webClient.getOptions();
options.setCssEnabled(true);
options.setThrowExceptionOnScriptError(false);
webClient.setJavaScriptErrorListener(new SilentJavaScriptErrorListener());
return webClient;
}
}
driver.get("https://en.js.cx/task/endless-page/solution/");
My goal was to trigger the scroll via scroll into view, but never reached that phase.
((JavascriptExecutor) driver).executeScript("arguments[0].scrollIntoView();",driver.findElement(lastElement));
I wanted to set up a test case for scroll not working correctly and found this bug instead.
Assume its due to htmlunit not having a ui and triggering scroll on the page due to showing the last element.
Can open the page in Firefox fine.
- 主要言語
- JavaScript
- スター
- 952
- フォーク
- 183
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
HtmlUnit/htmlunit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
HtmlUnit/htmlunit の issue をすべて見る
似ている issue
-
FEATURE REQUEST
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
linuxmint/cinnamon-spices-extensions#1193 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Fei2411/DeepSeek-Bot#703 ·
-
area:web first-timers-only good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
career-ops-hq/career-ops#6264 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
catppuccin/firefox#21 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
cline/mcp-marketplace#3394 ·