Repository navigation
Conversation
4 of 12 tasks
commit: |
cowboyd
marked this pull request as ready for review
November 30, 2026 15:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
In some cases, WPT tests select scenarios through
document.location.searchand register cases from a WindowDOMContentLoadedlistener.This supports such such test cases by having each declared URL variant runs in a fresh worker with its own document .
The harness delivers readiness changes, bubbling
DOMContentLoaded, and Windowloadthrough the consumer's DOM event path.Most of this change is limited to the harness itself, but it does require a small
connectWindow()hook to make sure thatwindowis on the bubble path.Focus and input tests this enables
html/interaction/focus/tab-table-caption.htmlregisters its cases in a WindowDOMContentLoadedlistener and reads two caption-side URL variants. Together with the serialization and keyboard rungs, all 12 cases now reach their focus-navigation assertions.editing/run/typing-text-in-direct-child-of-editing-host.htmlregisters four cases inDOMContentLoadedfor each of four URL variants (normal,pre,pre-line, andpre-wrap): 16 cases covering spaces, nonbreaking spaces, and repeated spaces.beforeinput/inputtarget ranges:input-events/input-events-get-target-ranges-non-collapsed-selection.tentative.htmlselects Backspace, Delete, or typing “a” through URL variants.input-events/input-events-get-target-ranges-deleting-in-list-items.tentative.htmlselects Backspace/Delete across ordered and unordered lists through four variants.editing/other/input-in-text-control-which-is-also-editing-host.tentative.htmluses three URL variants for text inputs, password inputs, and textareas. It checks value updates when typing, including controls that become editable while focused.Type of change
Checklist
pnpm test)pnpm format)AI-generated code disclosure