web-platform-tests / web-platform-tests/wpt

printing/print-microtask-after-navigate.html tries to navigate the top level document

Open
#20,719 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs printing
Dominant language
HTML
Stars
6.2k
Forks
3.9k
Avg merge
1d 6h
Merged PRs (30d)
586

Description

wpt tests in general, and testharness.js tests particularly, can't navigate the top level document; the harness isn't designed to handle that. This test needs to be refactored to put documents that need to be navigated in a popup window or an iframe.

@chrishtr

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with printing/print-microtask-after-navigate.html and inspect how it uses testharness.js. Run the WPT test to reproduce the top-level navigation, then refactor the navigated document into a popup or iframe and verify the test completes without navigating the top-level document.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript
Domain
testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.