Initial focus assumption for tests

オープン
#231 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞

調査の方向性

リンクされている WebDriver New Window の変更、web-platform-tests.org/writing-tests/assumptions.html の assumptions ドキュメント、および issue で参照されている Marionette testharness の実装から始めてください。影響を受ける focus に依存するテストを比較し、WPT が初期の focus target を保証しているのか、それとも各テストでそれを設定する必要があるのかを判断してください。完了条件は、方針が決定されて明確に文書化され、影響を受けるテストがその決定に沿っていることです。

索引モデルが issue の本文から書いたものです。

説明

https://github.com/web-platform-tests/wpt/commit/bef892c489 replaced window.open() + polling for opening testharness windows with the WebDriver "New Window" command, which doesn't run focusing steps. This inadvertently broke tests that implicitly relied on initial focus, such as:

I think we should clarify and maybe document what (if any) initial focus target WPT guarantees. If we decide not to guarantee anything, each test will need to set up its own initial focus target.

As a point of comparison, the Marionette testharness implementation currently provides focus=True, which means "the opened window will be focused" (similar to the pre-bef892c489 WebDriver behavior).

主要言語
言語のデータがありません
スター
112
フォーク
93
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

web-platform-tests/rfcs のほかの issue

web-platform-tests/rfcs の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。