Closed Bug 1788279 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 35645 - Implement the CSSToggleEvent interface.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

L. David Baron <dbaron@chromium.org> wrote:

Implement the CSSToggleEvent interface.

This updates the WPT copy (at interfaces/css-toggle.tentative.idl) of
the toggle spec's IDL to the latest version, since it's relevant to this
change.

(Support for toggles is behind the CSSToggles flag, which is currently
off.)

Bug: 1250716
Change-Id: I1978528d7608e12ba6afdf3031bb20f8aa3d4535
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3857190
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Commit-Queue: David Baron \<dbaron@chromium.org>
Auto-Submit: David Baron \<dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1040014}

PR 35645 applied with additional changes from upstream: 6c177bca631772b7fd8add1c0eeda3c8dd6de9dc
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 78 subtests

Status Summary

Firefox

OK : 1
PASS: 8
FAIL: 70

Chrome

OK : 1
PASS: 8
FAIL: 70

Safari

OK : 1
PASS: 8
FAIL: 70

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-toggle/idlharness.tentative.html [wpt.fyi]
    • CSSToggleMap interface: existence and properties of interface object: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleMap interface object length: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleMap interface object name: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleMap interface: existence and properties of interface prototype object: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleMap interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleMap interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleMap interface: maplike<DOMString, CSSToggle>: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleMap interface: operation set(DOMString, CSSToggle): FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleMap must be primary interface of document.getElementById("toggles").toggles: FAIL (Chrome: FAIL, Safari: FAIL)
    • Stringification of document.getElementById("toggles").toggles: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleMap interface: document.getElementById("toggles").toggles must inherit property "set(DOMString, CSSToggle)" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleMap interface: calling set(DOMString, CSSToggle) on document.getElementById("toggles").toggles with too few arguments must throw TypeError: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: existence and properties of interface object: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface object length: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface object name: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: existence and properties of interface prototype object: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: attribute value: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: attribute valueAsNumber: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: attribute valueAsString: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: attribute states: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: attribute group: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: attribute scope: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: attribute cycle: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle must be primary interface of document.getElementById("toggles").toggles.get("mytoggle"): FAIL (Chrome: FAIL, Safari: FAIL)
    • Stringification of document.getElementById("toggles").toggles.get("mytoggle"): FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: document.getElementById("toggles").toggles.get("mytoggle") must inherit property "value" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: document.getElementById("toggles").toggles.get("mytoggle") must inherit property "valueAsNumber" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: document.getElementById("toggles").toggles.get("mytoggle") must inherit property "valueAsString" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: document.getElementById("toggles").toggles.get("mytoggle") must inherit property "states" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: document.getElementById("toggles").toggles.get("mytoggle") must inherit property "group" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: document.getElementById("toggles").toggles.get("mytoggle") must inherit property "scope" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: document.getElementById("toggles").toggles.get("mytoggle") must inherit property "cycle" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle must be primary interface of new CSSToggle(): FAIL (Chrome: FAIL, Safari: FAIL)
    • Stringification of new CSSToggle(): FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle() must inherit property "value" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle() must inherit property "valueAsNumber" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle() must inherit property "valueAsString" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle() must inherit property "states" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle() must inherit property "group" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle() must inherit property "scope" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle() must inherit property "cycle" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle must be primary interface of new CSSToggle({ value: 3, states: 7, group: true, scope: "narrow", cycle: "cycle-on"}): FAIL (Chrome: FAIL, Safari: FAIL)
    • Stringification of new CSSToggle({ value: 3, states: 7, group: true, scope: "narrow", cycle: "cycle-on"}): FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: 3, states: 7, group: true, scope: "narrow", cycle: "cycle-on"}) must inherit property "value" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: 3, states: 7, group: true, scope: "narrow", cycle: "cycle-on"}) must inherit property "valueAsNumber" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: 3, states: 7, group: true, scope: "narrow", cycle: "cycle-on"}) must inherit property "valueAsString" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: 3, states: 7, group: true, scope: "narrow", cycle: "cycle-on"}) must inherit property "states" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: 3, states: 7, group: true, scope: "narrow", cycle: "cycle-on"}) must inherit property "group" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: 3, states: 7, group: true, scope: "narrow", cycle: "cycle-on"}) must inherit property "scope" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: 3, states: 7, group: true, scope: "narrow", cycle: "cycle-on"}) must inherit property "cycle" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle must be primary interface of new CSSToggle({ value: "four", states: ["one", "two", "four", "eight"], group: false, scope: "wide", cycle: "sticky"}): FAIL (Chrome: FAIL, Safari: FAIL)
    • Stringification of new CSSToggle({ value: "four", states: ["one", "two", "four", "eight"], group: false, scope: "wide", cycle: "sticky"}): FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: "four", states: ["one", "two", "four", "eight"], group: false, scope: "wide", cycle: "sticky"}) must inherit property "value" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: "four", states: ["one", "two", "four", "eight"], group: false, scope: "wide", cycle: "sticky"}) must inherit property "valueAsNumber" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: "four", states: ["one", "two", "four", "eight"], group: false, scope: "wide", cycle: "sticky"}) must inherit property "valueAsString" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: "four", states: ["one", "two", "four", "eight"], group: false, scope: "wide", cycle: "sticky"}) must inherit property "states" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: "four", states: ["one", "two", "four", "eight"], group: false, scope: "wide", cycle: "sticky"}) must inherit property "group" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: "four", states: ["one", "two", "four", "eight"], group: false, scope: "wide", cycle: "sticky"}) must inherit property "scope" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggle interface: new CSSToggle({ value: "four", states: ["one", "two", "four", "eight"], group: false, scope: "wide", cycle: "sticky"}) must inherit property "cycle" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleEvent interface: existence and properties of interface object: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleEvent interface object length: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleEvent interface object name: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleEvent interface: existence and properties of interface prototype object: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleEvent interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleEvent interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleEvent interface: attribute toggleName: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSSToggleEvent interface: attribute toggle: FAIL (Chrome: FAIL, Safari: FAIL)
    • Element interface: attribute toggles: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a69dc80f86eb [wpt PR 35645] - Implement the CSSToggleEvent interface., a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.