Closed Bug 1610422 Opened 6 years ago Closed 6 years ago

Resolve merge conflicts with upstream WebRTC web platform tests

Categories

(Core :: WebRTC, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(4 files)

See bug 1531904 comment 16. Apparently that never happened, and it's now blocking my changes in bug 1609859 from being upstreamed.

Upstream PR at https://github.com/web-platform-tests/wpt/pull/21285 to pull in the local changes upstream does not have. Fixes coming up to pull in the changes we were missing locally.

Blocks: 1550497

This is a clean revert of the changes bug 1609859 made to
RTCPeerConnection-createDataChannel.html. It's separated out for review ease;
these changes are reinstated 2 changesets later.

This just reapplies the changes, with some context edits because the whitespace changed.

The changes are as follows:

  1. Add an id (and a change in the test label) in the test that now ends up
    reading:

const channel = pc.createDataChannel('', { negotiated: true, id: 42 });

  1. Add some whitespace bits.
  2. Removes a bogus test (thus fixing bug 1550497). The test is bogus because
    null converts to 0 when converting to unsigned short, and that's a
    perfectly valid id value.

Compared to upstream, that leaves the following local changes:

  • Tests for the "id in the unsigned short range, maybe invalid, but
    'negotiated' not set" case.
  • A clarification for one of the test descriptions.
  • Tests for the "id out of the unsigned short range" case.

These changes are upstreamed in https://github.com/web-platform-tests/wpt/pull/21285

Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/autoland/rev/adfbba5ae5f7 part 1. Pull in missing upstream changes for RTCPeerConnection-ondatachannel.html. r=jgraham https://hg.mozilla.org/integration/autoland/rev/ada3f82c0181 part 2. Revert the bug 1609859 canges to RTCPeerConnection-createDataChannel.html. r=jgraham https://hg.mozilla.org/integration/autoland/rev/1ceab0b9f948 part 3. Pull in the missing upstream changes for RTCPeerConnection-createDataChannel.html. r=jgraham https://hg.mozilla.org/integration/autoland/rev/47c7a0de6fad part 4. Reinstate the changes from bug 1609859 to RTCPeerConnection-createDataChannel.html. r=jgraham
Failed to create upstream wpt PR due to merge conflicts. This requires fixup from a wpt sync admin.
Priority: -- → P2

Marked it a P2 since :bz is already working on it.

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/21755 for changes under testing/web-platform/tests
Upstream PR was closed without merging

(please ignore, the bot was convinced this was in a bad state)

Flags: needinfo?(bzbarsky)
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: