Closed Bug 1496824 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 13367 - Refactor the testharness/testdriver messaging protocol implementation

Categories

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

enhancement

Tracking

(firefox64 fixed)

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

James Graham <james@hoppipolla.co.uk> wrote:
>  Refactor the testharness/testdriver messaging protocol implementation
>  
>  This causes most of the code to be run once when the runner window is
>  opened rather than being run on each resume. This should be a little
>  more efficient. However the main motivation is to have a single
>  long-lived event handler rather than having to ensure that the event
>  handler is correctly cleaned up after each test. Previously this was
>  not done carefully and it was possible for events from one test to
>  affect subsequent tests.
Result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9feefc4d63b2
[wpt PR 13367] - Refactor the testharness/testdriver messaging protocol implementation, a=testonly
https://hg.mozilla.org/mozilla-central/rev/9feefc4d63b2
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.