[wpt-sync] Sync PR 14655 - [wpt/upgrade-insecure-requests] Fix generateRedirect()

RESOLVED FIXED in Firefox 67

Status

()

enhancement
P4
normal
RESOLVED FIXED
7 months ago
5 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla67
Points:
---

Firefox Tracking Flags

(firefox67 fixed)

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog], )

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

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

Hiroshige Hayashizaki <hiroshige@chromium.org> wrote:
>  [wpt/upgrade-insecure-requests] Fix generateRedirect()
>  
>  |url| in generateRedirect() was string (not URL) and therefore
>  generateRedirect() returned the same URL (|url| as-is)
>  regardless of |host| or |protocol| parameters.
>  
>  Bug: 878274
>  Change-Id: I7134726e916854a829eaf7d348776a2b7b547c70
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1389029
>  WPT-Export-Revision: d1e7f388e211d9e7b10e1cfc7886bcfb429b92ec
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/25edf5f27b5f
[wpt PR 14655] - [wpt/upgrade-insecure-requests] Fix generateRedirect(), a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7a9a6b22b7ba
[wpt PR 14655] - [wpt/upgrade-insecure-requests] Fix generateRedirect(), a=testonly
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.