Closed Bug 2060698 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 61733 - Route web app origin association handlers

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox155 fixed)

RESOLVED FIXED
155 Branch
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_extensions feature 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-known resources. Without this route, wptserve returns the handler source as a static application/octet-stream response.

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.
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues

Test result changes from PR not available.

Status: REOPENED → RESOLVED
Closed: 3 months ago → 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.