Closed Bug 1747449 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 32185 - Make instances returned by the accessors on USBDevice `===` comparable.

Categories

(Core :: DOM: Device Interfaces, task, P4)

task

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Jack Hsieh <chengweih@chromium.org> wrote:

Make instances returned by the accessors on USBDevice === comparable.

Add new private HeapVector members in USBConfiguration, USBInterface,
and USBAlternateInterface to hold an array of related instances rather
than making a new instance each time the method is invoked, and the
array is constructed in the constructor. By doing this way to make
related instances within USBDevice === comparable.

Bug: 1274922
Change-Id: I96c928c4fef4692d8b74dbaa26b22a6c6ae60443
Reviewed-on: https://chromium-review.googlesource.com/3352679
WPT-Export-Revision: c1b96c90bf07c9db82f3436673cda36d27ae4b8b

Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Attached file Notable wpt changes
# CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 26 tests and 4 subtests

## Status Summary

### Firefox
OK  : 26
PASS: 44
FAIL: 690

### Chrome
OK  : 26
PASS: 572
FAIL: 162

### Safari
OK  : 26
PASS: 44
FAIL: 690

## Links
[Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=af896998ddfc2fd85c8263b59ab289558b7e8205)
[GitHub PR Head](https://wpt.fyi/results/?sha=0bf48060f9658c9f4fbc84ea89a73a94b5ac49ea&label=pr_head)
[GitHub PR Base](https://wpt.fyi/results/?sha=0bf48060f9658c9f4fbc84ea89a73a94b5ac49ea&label=pr_base)

## Details

(See attachment for full changes)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/15f36bb9e63f
[wpt PR 32185] - Make instances returned by the accessors on USBDevice `===` comparable., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: