Commit Graph
2 Commits
Author SHA1 Message Date
moz-wptsync-bot 692f42fe70 Bug 1482160 [wpt PR 12381] - Fix service worker tests generated from non-https .any.js, a=testonly
Automatic update from web-platform-testsFix service worker tests generated from non-https .any.js

Note: this contains a change to the expected behaviour of test
runners.

Previously .any.js tests specifying a serviceworker variant generated
a url like foo.https.any.serviceworker.html. But that causes a problem
because that looks exctly like a url generated from a file named
foo.https.js. This ambiguity, together with the fact that wptrunner
wasn't actually looking at the https flag in the test id, but only in
the filename, meant that service worker tests weren't being run
properly.

This change stops adding .https. to serviceworker tests generated from
.any.js files and instead makes .serviceworker. in the test id
directly mean that the test should be loaded over https.

--

wpt-commits: bfec5399443c15c7a201a3d2b5505967433f570c
wpt-pr: 12381
2018-08-15 16:50:28 +00:00
Mike Pennisi c6c94eccb4 Bug 1456661 [wpt PR 10619] - [wptrunner] Add regression tests for server config, a=testonly
Automatic update from web-platform-tests[infra] Re-locate test for server configuration

The `infrastructure/assumptions/` directory is intended for tests
relating to browser configuration and operating system environment.
Createa new directory dedicated to integration tests for the WPT server
configuration.

--
[wptrunner] Add regression tests for server config

A recent commit [1] organized WPT configuration management into a
dedicated class. In so doing, it unintentionally disabled the default
secure WebSocket server. A subsequent commit [2] corrected the
regression.

Add a set of tests to demonstrate the intended behavior and to help
avoid future regressions.

[1] bfef1f20a419d24633e48d24c14e6a7503e1d48c
[2] a5a8fbfafd075bf290525ad6a433ec5684ea874d

--

wpt-commits: 230112faf2762e54acfdc8eebf633fc749ba2baf, 3a0a2e48c47614a961493dc0baddcd818146799c
wpt-pr: 10619
2018-05-02 07:47:14 +01:00