Bug 1522511 Comment 7 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Julian Descottes [:jdescottes] from comment #6)

> One final note about the skip-if rules, you cannot really test them locally most of the time. Only way to check if the skip if works as expected is probably to push to try.

mozinfo should report "serviceworker_e10s" if the "dom.serviceWorkers.parent_intercept" preference is set to true, which you would do via "--setpref".  Here's where the logic happens in:

- mochitests: https://searchfox.org/mozilla-central/rev/4587d146681b16ff9878a6fdcba53b04f76abe1d/testing/mochitest/runtests.py#2545
- xpcshell tests: https://searchfox.org/mozilla-central/rev/4587d146681b16ff9878a6fdcba53b04f76abe1d/testing/xpcshell/runxpcshelltests.py#1202

That said, running on try and including the "-sw" substring builds via the fuzzy builds is the easiest way to make sure you've got builds with that preference set.  (And that way you also get normal child-intercept tests to run too, they're the ones with "-sw" in them.)
(In reply to Julian Descottes [:jdescottes] from comment #6)

> One final note about the skip-if rules, you cannot really test them locally most of the time. Only way to check if the skip if works as expected is probably to push to try.

mozinfo should report "serviceworker_e10s" if the "dom.serviceWorkers.parent_intercept" preference is set to true, which you would do via "--setpref".  Here's where the logic happens in:

- mochitests: https://searchfox.org/mozilla-central/rev/4587d146681b16ff9878a6fdcba53b04f76abe1d/testing/mochitest/runtests.py#2545
- xpcshell tests: https://searchfox.org/mozilla-central/rev/4587d146681b16ff9878a6fdcba53b04f76abe1d/testing/xpcshell/runxpcshelltests.py#1202

That said, running on try and including the "-sw" substring builds via the fuzzy builds is the easiest way to make sure you've got builds with that preference set.  (And that way you also get normal child-intercept tests to run too, they're the ones withOUT "-sw" in them.)

Back to Bug 1522511 Comment 7