Closed Bug 1516155 Opened 3 years ago Closed 3 years ago

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

Categories

(Core :: DOM: Security, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

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: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.