Closed Bug 1514921 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 14573 - wptserve: Produce an empty string if indexed access fails during sub template substitution.

Categories

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

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 14573 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/14573
Details from upstream follow.

Jeremy Roman <jbroman@chromium.org> wrote:
>  wptserve: Produce an empty string if indexed access fails during sub template substitution.
>  
>  wptserve: Produce an empty string if indexed access fails during sub template substitution.
>  
>  Fixes #14572.
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e023dd22e98d
[wpt PR 14573] - wptserve: Add a header_or_default function which works when the request header is absent., a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c5e6ce7fcfe6
[wpt PR 14573] - wptserve: Add a header_or_default function which works when the request header is absent., a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.