editing/other/paste_text_with_text_transform.html requires window.testRunner and errors in every browser
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- html, javascript
- Domain
- testing
Research direction
Start with editing/other/paste_text_with_text_transform.html and compare how nearby editing/other copy-paste tests use test_driver and the async Clipboard API. Update the test so it runs under wptrunner without requiring window.testRunner, or determine whether it belongs in WebKit LayoutTests. Done means its subtests run without a harness error in the affected browsers.
Written by the indexing model from the issue text.
Description
editing/other/paste_text_with_text_transform.html asserts at the top level that window.testRunner exists:
assert_not_equals(
window.testRunner,
...
"This test requires testRunner to read/write clipboard."
testRunner is WebKit's DumpRenderTree / WebKitTestRunner object, which no browser exposes when run by wptrunner, so the file ends with a harness ERROR in Chrome, Firefox and Safari alike and its subtests never run.
Possible fixes: read and write the clipboard through test_driver and the async Clipboard API (as other editing/other copy-paste tests do), or move the test to WebKit's LayoutTests where testRunner exists.
- Dominant language
- HTML
- Stars
- 6.3k
- Forks
- 4.1k
- Avg merge
- 17h 53m
- Merged PRs (30d)
- 840
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from web-platform-tests/wpt
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
web-platform-tests/wpt#65241 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
web-platform-tests/wpt#65239 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
web-platform-tests/wpt#65204 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
web-platform-tests/wpt#64928 · 4 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
web-platform-tests/wpt#64927 ·
Maintainers usually reply within 1 day
All issues in web-platform-tests/wpt
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NimblePros/eShopOnWeb#333 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
btclib-org/portanode#968 · 1 comment ·
Maintainers usually reply within 1 day
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Eyevinn/open-live-ingest#36 · 1 comment ·
Maintainers usually reply within 1 day