Closed Bug 1467888 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 11419 - [idlharness.js] Test exposure set of partial interfaces

Categories

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

enhancement

Tracking

(firefox63 fixed)

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Luke Bjerring <lukebjerring@users.noreply.github.com> wrote:
>  [idlharness.js] Test exposure set of partial interfaces
>  
>  Resolves https://github.com/web-platform-tests/wpt/issues/10338
>  Equivalent Chromium CL: https://chromium-review.googlesource.com/c/chromium/src/+/1091210
>  
>  - Converts the `exposure_set` return value to be a `Set`
>  - Extracts the 'collapse `partial interface` definitions into original interfaces' code into a method `collapse_partial_interfaces`
>  - Adds a new `test` for each partial interface with `Exposed`, asserting that its values are a subset of the original interfaces
>  - Wraps each individual 'partial interface collapse' loop in a test, so that if it's invalid, the remaining setup + testing of the `IdlArray` continues.
PR 11419 applied with additional changes from upstream: 03cf245bbe8a37cc985b663853776474c76a0c40, a9980e002815e14ad900fe4864d16296bdbadea7, b1a1415cdf23bb3dc5c2f2ccb58a7abe87b93961
Ran 122 tests and 18783 subtests
OK     : 119
PASS   : 16642
FAIL   : 2141
TIMEOUT: 3

New tests that have failures or other problems:
/FileAPI/idlharness.html
    Partial interface URL: valid exposure set: FAIL
/FileAPI/idlharness.worker.html
    Partial interface URL: valid exposure set: FAIL
    URL interface: existence and properties of interface object: FAIL
/budget-api/interfaces.any.html
    BudgetService interface object length: FAIL
    BudgetService interface object name: FAIL
    BudgetService interface: existence and properties of interface object: FAIL
    BudgetService interface: existence and properties of interface prototype object: FAIL
    BudgetService interface: existence and properties of interface prototype object's "constructor" property: FAIL
    BudgetService interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    BudgetService interface: operation getBudget(): FAIL
    BudgetService interface: operation getCost(OperationType): FAIL
    BudgetService interface: operation reserve(OperationType): FAIL
    BudgetState interface object length: FAIL
    BudgetState interface object name: FAIL
    BudgetState interface: attribute budgetAt: FAIL
    BudgetState interface: attribute time: FAIL
    BudgetState interface: existence and properties of interface object: FAIL
    BudgetState interface: existence and properties of interface prototype object: FAIL
    BudgetState interface: existence and properties of interface prototype object's "constructor" property: FAIL
    BudgetState interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    Navigator interface: attribute budget: FAIL
/budget-api/interfaces.any.worker.html
    BudgetService interface object length: FAIL
    BudgetService interface object name: FAIL
    BudgetService interface: existence and properties of interface object: FAIL
    BudgetService interface: existence and properties of interface prototype object: FAIL
    BudgetService interface: existence and properties of interface prototype object's "constructor" property: FAIL
    BudgetService interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    BudgetService interface: operation getBudget(): FAIL
    BudgetService interface: operation getCost(OperationType): FAIL
    BudgetService interface: operation reserve(OperationType): FAIL
    BudgetState interface object length: FAIL
    BudgetState interface object name: FAIL
    BudgetState interface: attribute budgetAt: FAIL
    BudgetState interface: attribute time: FAIL
    BudgetState interface: existence and properties of interface object: FAIL
    BudgetState interface: existence and properties of interface prototype object: FAIL
    BudgetState interface: existence and properties of interface prototype object's "constructor" property: FAIL
    BudgetState interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    WorkerNavigator interface: attribute budget: FAIL
/input-events/idlharness.html
    InputEvent interface: attribute dataTransfer: FAIL
    InputEvent interface: attribute inputType: FAIL
    InputEvent interface: new InputEvent("foo") must inherit property "dataTransfer" with the proper type: FAIL
    InputEvent interface: new InputEvent("foo") must inherit property "getTargetRanges()" with the proper type: FAIL
    InputEvent interface: new InputEvent("foo") must inherit property "inputType" with the proper type: FAIL
    InputEvent interface: operation getTargetRanges(): FAIL
    Partial dictionary InputEventInit: original dictionary defined: FAIL
/media-capabilities/idlharness.html
    Partial interface WorkerNavigator: valid exposure set: FAIL
    WorkerNavigator interface: member mediaCapabilities: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/98cb28c58663
[wpt PR 11419] - [idlharness.js] Test exposure set of partial interfaces, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/699628884209
[wpt PR 11419] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/98cb28c58663
https://hg.mozilla.org/mozilla-central/rev/699628884209
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.