Closed Bug 1447843 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10127 - Fix resources/test (when running locally)

Categories

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

defect

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

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

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

Robert Ma <robertma@chromium.org> wrote:
>  Fix resources/test (when running locally)
>  
>  1. Check the HTTP port of wptserve instead of HTTPS to avoid the
>     unnecessary complexities of setting up SSL context (which may fail in
>     some environments).
>  2. Use exponential backoff when waiting for wptserve and specify a
>     maximum retry to avoid indefinite hang.
>  3. Use `terminate` instead of `kill` to give wptserve a chance to clean
>     up, which is especially useful when running locally.
>  
>  Fixes #10114.
The following tests were disabled based on stability try push:
 css/selectors/focus-within-shadow-002.html
css/selectors/focus-within-shadow-003.html
css/selectors/focus-within-shadow-004.html
webdriver/tests/get_window_rect.py
css/selectors/focus-within-shadow-001.html
css/selectors/focus-within-shadow-005.html
css/selectors/focus-within-shadow-006.html
dom/throttling/Throttle when all budget has been used.
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cefae2f1269d
[wpt PR 10127] - Fix resources/test (when running locally), a=testonly
https://hg.mozilla.org/mozilla-central/rev/cefae2f1269d
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.