[wpt-sync] Sync PR 61733 - Route web app origin association handlers
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox155 fixed)
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 61733 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/61733
Details from upstream follow.
Lu Huang <luhua@microsoft.com> wrote:
Route web app origin association handlers
The Web App Manifest
scope_extensionsfeature validates an extended origin by fetching/.well-known/web-app-origin-association. Tests need this fixed, extensionless endpoint to return a dynamic response containing the runtime-resolved app ID and virtual host.Route the endpoint through
PythonScriptHandler, consistent with the other dynamic.well-knownresources. Without this route, wptserve returns the handler source as a staticapplication/octet-streamresponse.Chromium issue: https://issues.chromium.org/issues/422382413
Validation:
python wpt lint tools/serve/serve.py- Started wptserve with a temporary handler at the endpoint and verified a request on an alternate WPT host returned host-specific JSON with
Content-Type: application/json.
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
| Assignee | ||
Comment 2•3 months ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
| Assignee | ||
Comment 4•3 months ago
|
||
Test result changes from PR not available.
Comment 5•3 months ago
|
||
| bugherder | ||
Description
•