Text-Fragments: Split up non-html-documents.html test file
Categories
(Core :: DOM: Core & HTML, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | fixed |
People
(Reporter: jjaschke, Assigned: jjaschke)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The tests in non-html-documents.html rely on the onload event being fired, which apparently does not happen in Gecko (see Bug 1905106). This makes the test timeout for JSON documents. Additionally, there are CI configurations which run so slow that other tests in that file may time out. Setting <meta name=timeout value=long> won't fix this properly because the JSON test is expected to time out.
To fix this, let's move the JSON test case into its own test file, mark it as expected: TIMEOUT, and add <meta name=timeout content=long> to the other test file to give them more time.
| Assignee | ||
Comment 1•1 year ago
|
||
The test to check if scrolling is allowed in non-html documents times out for JSON,
because it depends on the onload event, which Gecko is not firing for JSON (Bug 1905106).
Additionally, other test cases in that file can time out on CI as well.
With this patch, the JSON test case is separated into its own file and is expected to TIMEOUT. The other test cases get a longer timeout so that they pass in all configurations.
Comment 4•1 year ago
|
||
Backed out for causing Android wpt failures in non-html-documents.html.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | /scroll-to-text-fragment/non-html-documents.html | Text directive allowed in text/plain - assert_equals: scrolled to fragment expected true but got false
| Assignee | ||
Comment 8•1 year ago
|
||
Android doing android things... sorry. Should be good now.
Comment 9•1 year ago
|
||
| bugherder | ||
Description
•