Closed Bug 1766556 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33807 - Add showpopup and hidepopup invoking attributes for popup

Categories

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

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mason Freed <masonf@chromium.org> wrote:

Add showpopup and hidepopup invoking attributes for popup

This CL adds 'showpopup' and 'hidepopup' as two more invoking
attributes for the Popup API. Details of the expected behavior
are discussed here:

https://github.com/openui/open-ui/issues/523#issuecomment-1106686358

Bug: 1307772
Change-Id: Ie6c0d72b36cedd827e0b484b5635fcc6b99fb8f6
Reviewed-on: https://chromium-review.googlesource.com/3609067
WPT-Export-Revision: 4c2a3c57faf885d6f6b47963ec87ad0283c234ab

PR 33807 applied with additional changes from upstream: 27622a853844ef5d16b1e53f83a2db5cb46d2596
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 83 subtests

Status Summary

Firefox

OK : 1
FAIL: 83

Chrome

OK : 1
PASS: 59
FAIL: 24

Safari

OK : 1
FAIL: 83

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/popups/popup-invoking-attribute.tentative.html [wpt.fyi]
    • Clicking a togglepopup button opens a closed popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Clicking a togglepopup button closes an open popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button hidepopup="popup-1"></button> with popup=popup: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button hidepopup="popup-2"></button> with popup=popup: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-1"></button> with popup=popup: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-1" hidepopup="popup-1"></button> with popup=popup: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-1" hidepopup="popup-2"></button> with popup=popup: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-2"></button> with popup=popup: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-2" hidepopup="popup-1"></button> with popup=popup: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-2" hidepopup="popup-2"></button> with popup=popup: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button togglepopup="popup-1"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" hidepopup="popup-1"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" hidepopup="popup-2"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-1"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-1" hidepopup="popup-1"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-1" hidepopup="popup-2"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-2"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-2" hidepopup="popup-1"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-2" hidepopup="popup-2"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" hidepopup="popup-1"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" hidepopup="popup-2"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-1"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-1" hidepopup="popup-1"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-1" hidepopup="popup-2"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-2"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-2" hidepopup="popup-1"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-2" hidepopup="popup-2"></button> with popup=popup: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button hidepopup="popup-1"></button> with popup=hint: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button hidepopup="popup-2"></button> with popup=hint: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-1"></button> with popup=hint: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-1" hidepopup="popup-1"></button> with popup=hint: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-1" hidepopup="popup-2"></button> with popup=hint: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-2"></button> with popup=hint: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-2" hidepopup="popup-1"></button> with popup=hint: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-2" hidepopup="popup-2"></button> with popup=hint: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button togglepopup="popup-1"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" hidepopup="popup-1"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" hidepopup="popup-2"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-1"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-1" hidepopup="popup-1"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-1" hidepopup="popup-2"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-2"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-2" hidepopup="popup-1"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-2" hidepopup="popup-2"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" hidepopup="popup-1"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" hidepopup="popup-2"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-1"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-1" hidepopup="popup-1"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-1" hidepopup="popup-2"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-2"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-2" hidepopup="popup-1"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-2" hidepopup="popup-2"></button> with popup=hint: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button hidepopup="popup-1"></button> with popup=async: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button hidepopup="popup-2"></button> with popup=async: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-1"></button> with popup=async: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-1" hidepopup="popup-1"></button> with popup=async: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-1" hidepopup="popup-2"></button> with popup=async: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-2"></button> with popup=async: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-2" hidepopup="popup-1"></button> with popup=async: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button showpopup="popup-2" hidepopup="popup-2"></button> with popup=async: FAIL (Chrome: FAIL, Safari: FAIL)
    • Test <button togglepopup="popup-1"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" hidepopup="popup-1"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" hidepopup="popup-2"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-1"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-1" hidepopup="popup-1"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-1" hidepopup="popup-2"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-2"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-2" hidepopup="popup-1"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-1" showpopup="popup-2" hidepopup="popup-2"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" hidepopup="popup-1"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" hidepopup="popup-2"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-1"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-1" hidepopup="popup-1"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-1" hidepopup="popup-2"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-2"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-2" hidepopup="popup-1"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
    • Test <button togglepopup="popup-2" showpopup="popup-2" hidepopup="popup-2"></button> with popup=async: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b2617e2a2d9c
[wpt PR 33807] - Add showpopup and hidepopup invoking attributes for popup, a=testonly
https://hg.mozilla.org/integration/autoland/rev/cbe5465f8b74
[wpt PR 33807] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.