Skip to content

Change test status race conditions in design of web_extensions.md - #243

Open
justinlulejian wants to merge 1 commit into
web-platform-tests:mainfrom
justinlulejian:patch-1
Open

Change test status race conditions in design of web_extensions.md#243
justinlulejian wants to merge 1 commit into
web-platform-tests:mainfrom
justinlulejian:patch-1

Conversation

@justinlulejian

@justinlulejian justinlulejian commented Aug 18, 2026

Copy link
Copy Markdown

Updated the RFC to mandate that browser.test status listeners are registered before the test extension is loaded. This eliminates test result race conditions caused by cross-browser variations in extension loading speeds, and simplifies browser implementations by removing the need for complex queuing logic.

We are aware that Safari will need to adjust its implementation to accommodate this change. Safari is currently unable to run WPT tests unless the test status listeners are registered after the extension has loaded. However, we strongly believe that removing the queuing requirement is the best long-term choice for a simpler, improved implementation across all browsers. When designing this system, it is important to consider not only current implementations but also future browsers that want to participate in WPT testing, ensuring their onboarding is as straightforward as possible.

Updated the RFC to mandate that browser.test status listeners are registered before the test extension is loaded. This eliminates test result race conditions caused by cross-browser variations in extension loading speeds, and simplifies browser implementations by removing the need for complex queuing logic.
@justinlulejian justinlulejian changed the title Chane test status race conditions in design of web_extensions.md Change test status race conditions in design of web_extensions.md Aug 18, 2026
@justinlulejian

Copy link
Copy Markdown
Author

@rdcronin @oliverdunk for initial review

@justinlulejian

Copy link
Copy Markdown
Author

WECG review: @kiaraarose @xeenon @zombie @Rob--W @rdcronin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant