Loading
Bug 1967685 [wpt PR 52455] - Expose the manager_number to the Browser class itself,
Automatic update from web-platform-tests Expose the manager_number to the Browser class itself The goal here is for browser classes to be able to have the ability to get at data items specific to the current thread (e.g., with --processes=X, each of the X concurrently existing Browser objects should be able to get their own kwargs). This avoids needing to hardcode specific browser settings in wptrunner.testrunner, which is a layering violation. Adding a required argument to wptrunner.browsers.base.Browser obviously carries a risk, as shown by the number of browsers which needed modified to correctly pass through unknown keyword arguments to their parents, but I don't think there's a reasonable alternative to doing this. Co-authored-by:Jonathan Lee <jonathanjlee@google.com> -- wpt-commits: 4e4d767ead29ec6329f2a89db09d562938f691ff wpt-pr: 52455 Differential Revision: https://phabricator.services.mozilla.com/D250957